/* ========== Global Reset ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

body {
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* ========== Layout ========== */

.pg-content-area {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.pg-header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.pg-header .container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
}

.cta-btn {
    background: #e63946;
    color: #fff;
    padding: 8px 18px;
    font-size: 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #b71c1c;
}

.pg-main {
    width: 100%;
    max-width: 1100px;
    margin: 25px auto;
}

/* ========== Page Title ========== */
.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: #000;
}

/* ========== Blog List / Cards ========== */
.pg-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

.pg-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pg-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.pg-thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.pg-title a {
    color: #000;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.pg-title a:hover {
    color: #e63946;
}

.pg-desc {
    font-size: 15px;
    margin: 10px 0 15px;
    color: #555;
}

.pg-readmore {
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: #e63946;
    margin-top: auto;
}

.pg-readmore:hover {
    text-decoration: underline;
}

/* ========== Single Post Page ========== */
.pg-article-title {
    font-size: 34px;
    font-weight: 700;
    color: #111;
    margin-bottom: 18px;
}
@media(max-width: 768px) {
.pg-article-title {
    font-size: 26px;
}
.pg-meta {
    display: block!important;
}
}
.pg-banner {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0;
}

.pg-content {
    font-size: 17px;
    color: #333;
}

.pg-content h2 {
    font-size: 22px;
    margin: 25px 0 10px;
    color: #e01c24;
    text-transform: uppercase;
}

.pg-content p {
    margin-bottom: 15px;
}
/* ================================
   Blog Layout
================================ */
.blog-layout {
    display: grid;
    grid-template-columns: 2.1fr 0.9fr;
    gap: 25px;
}

/* ================================
   Sidebar
================================ */
.pg-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    height: fit-content;
}

.pg-widget + .pg-widget {
    margin-top: 25px;
}

.pg-widget h3 {
    margin-bottom: 12px;
    font-size: 20px;
    border-left: 4px solid #e63946;
    padding-left: 8px;
    color: #222;
}

/* Search box */
.search-box form {
    display: flex;
    gap: 8px;
}

.search-box input {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.search-box button {
    padding: 10px 15px;
    border: none;
    background: #e63946;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.search-box button:hover {
    background: #c62828;
}

/* Latest Posts with thumbnails (Sidebar) */
.latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-list li {
    margin-bottom: 12px;
}

.latest-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 6px;
    border-radius: 6px;
    transition: 0.3s;
}

.latest-list a:hover {
    background: #f3f3f3;
}

.latest-thumb {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
}

.latest-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.latest-title:hover {
    color: #e63946;
}

.latest-date {
    font-size: 11px;
    color: #777;
}

/* Responsive */
@media(max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   HERO SECTION STYLING
========================================================= */
.pg-hero {
    background: url('../assets/images/hero-clean-home.webp') center/cover no-repeat;
    padding: 80px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.pg-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
}

.pg-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.pg-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
}

.pg-hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* Search bar in hero */
.pg-hero-search {
    max-width: 500px;
    margin: auto;
    display: flex;
    gap: 10px;
}

.pg-hero-search input {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

.pg-hero-search button {
    padding: 14px 20px;
    background: #e63946;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

.pg-hero-search button:hover {
    background: #c62828;
}

@media(max-width: 768px) {
    .pg-hero-content h1 { font-size: 28px; }
    .pg-hero-content p { font-size: 16px; }
}
/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
    margin: 30px 0;
    justify-content: center;
}

.pagination a {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.pagination a:hover {
    background: #e63946;
    color: white;
}

.pagination a.active {
    background: #e63946;
    color: #fff;
    pointer-events: none;
}

/* ✅ Mobile Pagination */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }

    .pagination a {
        padding: 6px 10px;
        font-size: 14px;
    }
}
.pg-meta {
    display: flex;
    margin-bottom: 10px;
}
.pg-meta {
    gap: 10px;
}
.pg-date {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}
/* ✅ Full-width breadcrumb bar with stronger separation */
.pg-breadcrumb-wrapper {
    width: 100%;
    background: #f7f7f7; /* light grey - clean look */
    border-bottom: 1px solid #ddd;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    padding: 12px 0;
    margin-bottom: 25px;
}

.pg-breadcrumb {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    font-size: 15px;
    color: #444;
}

.pg-breadcrumb a {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
}

.pg-breadcrumb a:hover {
    text-decoration: underline;
}

.pg-breadcrumb span {
    color: #111;
    font-weight: 500;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
    .pg-breadcrumb {
        font-size: 14px;
        line-height: 1.5;
    }
}
/* ✅ Custom Bullet List Styling */
.pg-list-style {
    list-style: none;
    padding-left: 0;
}

.pg-list-style li {
    position: relative;
    margin: 6px 0;
    padding-left: 22px;
    font-size: 16px;
}

.pg-list-style li::before {
    content: "⇝";
    position: absolute;
    left: 0;
    top: 0;
    color: #e01c24; /* brand red */
    font-weight: 500;
    font-size: 16px;
}

/* ✅ Mobile Responsive (max 768px) */
@media (max-width: 768px) {
    .pg-list-style li {
        padding-left: 18px;
        font-size: 15px;
    }
    .pg-list-style li::before {
        font-size: 16px;
        top: 1px;
    }
}
/* ✅ Custom Ordered List Styling */
.pg-ol-style {
    list-style: none;
    counter-reset: pg-counter;
    padding-left: 0;
}

.pg-ol-style li {
    counter-increment: pg-counter;
    position: relative;
    margin: 8px 0;
    padding-left: 28px;
    font-size: 16px;
}

.pg-ol-style li::before {
    content: counter(pg-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    font-size: 16px;
    color: #e01c24; /* brand red */
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
    .pg-ol-style li {
        padding-left: 22px;
        font-size: 15px;
    }
    .pg-ol-style li::before {
        font-size: 16px;
        left: 0;
        top: 1px;
    }
}
/* ✅ Green Circle ✅ Tick Style */
.pg-ul-style-2 {
    list-style: none;
    padding-left: 0;
}

.pg-ul-style-2 li {
    position: relative;
    margin: 8px 0;
    padding-left: 30px;
    font-size: 16px;
}

.pg-ul-style-2 li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 4;
    font-size: 12px;
}

/* ✅ Mobile Optimized */
@media (max-width: 768px) {
    .pg-ul-style-2 li {
        padding-left: 26px;
        font-size: 15px;
    }
    .pg-ul-style-2 li::before {
        font-size: 16px;
        top: 1px;
    }
}
/* ===============================
   Comment Section (pg-comments)
=================================*/
.pg-comments {
  margin-top: 40px;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 22px;
}

.pg-comments h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

/* Form */
.pg-comment-form {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.pg-comment-form label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.pg-comment-form input[type="text"],
.pg-comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  background: #fafafa;
}

.pg-comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.pg-comment-form input[type="text"]:focus,
.pg-comment-form textarea:focus {
  outline: none;
  border-color: #e63946;
  box-shadow: 0 0 0 3px rgba(230,57,70,.08);
}

/* Captcha row */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-code {
  display: inline-block;
  letter-spacing: 3px;
  font-weight: 800;
  font-size: 16px;
  color: #111;
  background: #f2f2f2;
  border: 1px dashed #cfcfcf;
  border-radius: 8px;
  padding: 10px 14px;
  user-select: none;
}

/* Submit button */
.pg-comment-form button {
  width: fit-content;
  background: #e63946;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .06s ease, background .2s ease;
}

.pg-comment-form button:hover { background: #c62828; }
.pg-comment-form button:active { transform: translateY(1px); }

/* Comments list */
.comments-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.comment-box {
  background: #fcfcfc;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 14px;
}

.c-name {
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.c-msg {
  color: #333;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Admin reply block */
.admin-reply {
  margin-top: 12px;
  border-left: 4px solid #e63946;
  background: #fff6f7;
  padding: 10px 12px;
  border-radius: 8px;
}

.admin-reply strong {
  display: inline-block;
  margin-bottom: 6px;
  color: #c62828;
}

/* Small meta text if needed inside comments */
.comment-meta {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
}

/* Alerts (optional if you wrap server messages) */
.alert-success {
  background: #ecfff0;
  border: 1px solid #b9e7c4;
  color: #1b5e20;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.alert-error {
  background: #fff3f3;
  border: 1px solid #f2c2c2;
  color: #b71c1c;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .pg-comments { padding: 16px; }
  .captcha-box { flex-direction: row; gap: 10px; }
  .captcha-code { padding: 9px 12px; font-size: 15px; }
  .pg-comment-form input[type="text"],
  .pg-comment-form textarea { font-size: 14px; }
  .pg-comment-form button { width: 100%; text-align: center; }
}
/******************************************************************/
.pg-footer {
    background: #111;
    color: #eee;
    padding:  10px;
    font-family: Work-Sans, sans-serif;
}

.footer-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #fff;
}

/* ✅ Full width grid */
.footer-contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    text-align: left;
}

.footer-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.footer-icon {
    font-size: 22px;
}

.footer-link {
    display: block;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s;
}

.footer-link:hover {
    color: #e63946;
}

.footer-hours {
    font-size: 15px;
    line-height: 1.4;
    color: #ccc;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 0;
    padding-top: 18px;
    text-align: center;
    font-size: 14px;
    color: #bbb;
}

/* ✅ Responsive Mobile Layout */
@media(max-width: 768px){
    .footer-contact-grid {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-info-box {
        justify-content: center;
    }

    .footer-hours {
        text-align: center;
    }
}
/****************************************************************************/
#scrollTopBtn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    background: #e63946; /* Pestofix Red */
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: background 0.3s, transform 0.3s;
}

#scrollTopBtn:hover {
    background: #b71c1c;
    transform: translateY(-3px);
}

@media(max-width: 600px) {
    #scrollTopBtn {
        bottom: 18px;
        right: 18px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
/* ================================
   Next / Previous Navigation
================================ */
.next-prev-container {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 35px 0 25px;
    flex-wrap: wrap;
}

.np-box {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 48%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    padding: 10px;
    transition: 0.25s ease;
    box-shadow: 0 0 0 rgba(0,0,0,0.04);
}

.np-box img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
}

.np-box h4 {
    font-size: 16px;
    color: #111;
    font-weight: 700;
    margin-bottom: 4px;
}

.np-box small {
    font-size: 12px;
    color: #888;
}

/* Hover styling */
.np-box:hover {
    border-color: #e63946;
    background: #fffbfb;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.np-left::before {
    content: "← ";
    font-size: 18px;
    color: #e63946;
    font-weight: bold;
}

.np-right::after {
    content: " →";
    font-size: 18px;
    color: #e63946;
    font-weight: bold;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
    .next-prev-container {
        flex-direction: column;
    }
    .np-box {
        max-width: 100%;
    }
    .np-box h4 {
        font-size: 15px;
    }
    .np-box img {
        width: 65px;
        height: 65px;
    }
}
/* === Termite Guide Table Styling === */
.pg-g-tb {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.pg-g-tb th,
.pg-g-tb td {
  border: 1px solid #e5e5e5;
  padding: 12px 14px;
  text-align: left;
}

.pg-g-tb th {
  background-color: #f4f6f8;
  font-weight: 600;
  color: #333;
  text-transform: capitalize;
}

.pg-g-tb td {
  color: #555;
  line-height: 1.5;
}

.pg-g-tb tr:nth-child(even) {
  background-color: #fafafa;
}

.pg-g-tb tr:hover {
  background-color: #f1f9ff;
  transition: background 0.3s ease;
}

/* === Responsive Fixes === */
@media (max-width: 768px) {
  .pg-g-tb thead {
    display: none; /* hide header on small screens */
  }

  .pg-g-tb,
  .pg-g-tb tbody,
  .pg-g-tb tr,
  .pg-g-tb td {
    display: block;
    width: 100%;
  }

  .pg-g-tb tr {
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  }

  .pg-g-tb td {
    text-align: right;
    padding: 10px 12px;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .pg-g-tb td:last-child {
    border-bottom: none;
  }

  .pg-g-tb td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    top: 10px;
    font-weight: 600;
    text-transform: capitalize;
    color: #333;
    text-align: left;
  }
}

/* ================================
   Latest Blogs Sidebar Styling
   ================================ */

.CitPaLatestBlogsHeading {
    margin-bottom: 12px;
    font-size: 20px;
    border-left: 4px solid #e63946;
    padding-left: 8px;
    color: #222;
}

/* Blog item container */
.CitPaBlogItem {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}

/* Thumbnail */
.CitPaBlogThumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

/* Blog text section */
.CitPaBlogInfo {
    flex: 1;
}

/* Blog title */
.CitPaBlogTitle {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 3px;
    line-height: 1.3;
}

/* Hover effect */
.CitPaBlogTitle:hover {
    color: #D32F2F;
}

/* Date */
.CitPaBlogDate {
    font-size: 13px;
    color: #777;
}


/* ================================
   MOBILE RESPONSIVE (≤ 768px)
   ================================ */

@media (max-width: 768px) {

    .CitPaLatestBlogsHeading {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .CitPaBlogItem {
        gap: 10px;
        padding-bottom: 10px;
    }

    .CitPaBlogThumb img {
        width: 60px;
        height: 60px;
    }

    .CitPaBlogTitle {
        font-size: 14px;
    }

    .CitPaBlogDate {
        font-size: 12px;
    }
}
/********************************************************/

.pg-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}
.caption {
    font-size: 14px;
    color: #000000;
    background-color: #f2f2f2;
    padding: 8px 12px;
    margin-top: 6px;
    border-left: 4px solid #e01c24;
    line-height: 1.4;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}
.cta-button {
    background: #ffcc00;
    color: #333;
    text-decoration: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    display: inline-block;
    transition: background 0.3s ease;
    margin: 0.5rem;
}

@media (max-width: 768px) {
    .cta-button {
        padding: 20px;
        margin: 10px 0;
    }
}