/* =========================================
   BT PEST TERMINATE
   GENERAL PEST CONTROL PAGE
   ========================================= */

.bt-general-pest-control {
  --gpc-green: #40A275;
  --gpc-deep: #003b30;
  --gpc-red: #F3151A;
  --gpc-ink: #171817;
  --gpc-muted: #52605A;
  color: var(--gpc-ink);
}

.bt-general-pest-control .bt-gpc-content {
  width: 100%;
}

.bt-general-pest-control .bt-gpc-container {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

/* HERO SECTION */

.bt-general-pest-control .bt-gpc-hero {
  background: linear-gradient(115deg, #002c25, #005343);
  color: #fff;
  padding: 76px 0;
}

.bt-general-pest-control .bt-gpc-hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  max-width: 780px;
  margin: 0 0 20px;
}

.bt-general-pest-control .bt-gpc-hero p {
  max-width: 680px;
  color: #e1f0e8;
  font-size: 17px;
}

.bt-general-pest-control .bt-gpc-eyebrow {
  color: #65dfad !important;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 12px !important;
}

/* GENERAL SECTIONS */

.bt-general-pest-control .bt-gpc-section {
  padding: 60px 0;
}

.bt-general-pest-control .bt-gpc-section-soft {
  background: #f3f8f5;
}

.bt-general-pest-control .bt-gpc-section h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2;
  margin: 0 0 16px;
}

.bt-general-pest-control .bt-gpc-green {
  color: var(--gpc-green);
}

/* STANDARD THREE-COLUMN CARDS
   Used by Why Choose BT */

.bt-general-pest-control .bt-gpc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.bt-general-pest-control .bt-gpc-card {
  padding: 26px;
  border: 1px solid #dfe9e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,45,34,.05);
}

.bt-general-pest-control .bt-gpc-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #173d30;
}

.bt-general-pest-control .bt-gpc-card p {
  margin: 0;
  color: var(--gpc-muted);
}

.bt-general-pest-control .bt-gpc-card:hover {
  border-color: #a8d2bb;
}

/* =========================================
   FIVE PHOTOGRAPHIC PEST CARDS
   ========================================= */

.bt-general-pest-control .bt-gpc-pests-title span {
  color: var(--gpc-green);
}

.bt-general-pest-control .bt-gpc-pests-title {
  margin-bottom: 10px;
}

.bt-general-pest-control .bt-gpc-red-line {
  width: 38px;
  height: 3px;
  background: var(--gpc-red);
  margin: 0 0 18px;
  border-radius: 3px;
}

.bt-general-pest-control .bt-gpc-pests-intro {
  max-width: 820px;
  color: var(--gpc-muted);
  margin-bottom: 28px;
}

.bt-general-pest-control .bt-gpc-pest-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.bt-general-pest-control .bt-gpc-pest-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8e4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.bt-general-pest-control .bt-gpc-pest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,.09);
}

.bt-general-pest-control .bt-gpc-pest-card img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.bt-general-pest-control .bt-gpc-pest-info {
  padding: 18px 15px 22px;
}

.bt-general-pest-control .bt-gpc-pest-info h3 {
  font-size: 16px;
  line-height: 1.35;
  color: var(--gpc-ink);
  margin: 0 0 10px;
}

.bt-general-pest-control .bt-gpc-card-line {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gpc-red);
  margin-bottom: 12px;
}

.bt-general-pest-control .bt-gpc-pest-info p {
  color: var(--gpc-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   NEW FOUR-STEP OUR APPROACH
   ========================================= */

.bt-general-pest-control .bt-gpc-approach {
  background: linear-gradient(
    115deg,
    #eef7f1 0%,
    #f5faf7 55%,
    #e9f4ed 100%
  );
}

.bt-general-pest-control .bt-gpc-approach-intro {
  max-width: 850px;
  color: var(--gpc-muted);
  margin: 0 0 30px;
  line-height: 1.7;
}

.bt-general-pest-control .bt-gpc-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.bt-general-pest-control .bt-gpc-process-card {
  position: relative;
  min-width: 0;
  padding: 28px 22px 24px;
  background: #fff;
  border: 1px solid #e0ebe4;
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(0,45,34,.06);
  text-align: center;
}

.bt-general-pest-control .bt-gpc-process-number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gpc-green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.bt-general-pest-control .bt-gpc-process-icon {
  width: 64px;
  height: 64px;
  margin: 20px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #173d30;
}

.bt-general-pest-control .bt-gpc-process-icon svg {
  display: block;
  width: 52px;
  height: 52px;
}

.bt-general-pest-control .bt-gpc-process-card h3 {
  color: var(--gpc-ink);
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.bt-general-pest-control .bt-gpc-process-card p {
  color: var(--gpc-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* Connecting arrows between steps */

@media (min-width: 1001px) {
  .bt-general-pest-control
  .bt-gpc-process-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf6ee;
    border-radius: 50%;
    color: #238b60;
    font-size: 23px;
    font-weight: 700;
    z-index: 2;
  }
}

/* =========================================
   WHY CHOOSE BT — FOUR ICON BENEFITS
   Matches general-pest-control-replacement.html
   ========================================= */

.bt-general-pest-control .bt-gpc-why {
  background: #fff;
}

.bt-general-pest-control .bt-gpc-why-intro {
  max-width: 850px;
  color: var(--gpc-muted);
  line-height: 1.7;
  margin: 0 0 28px;
}

.bt-general-pest-control .bt-gpc-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.bt-general-pest-control .bt-gpc-why-item {
  min-width: 0;
}

.bt-general-pest-control .bt-gpc-why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(0, 45, 34, .12);
}

.bt-general-pest-control .bt-gpc-why-icon-red {
  background: var(--gpc-red);
}

.bt-general-pest-control .bt-gpc-why-icon-green {
  background: var(--gpc-green);
}

.bt-general-pest-control .bt-gpc-why-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

.bt-general-pest-control .bt-gpc-why-item h3 {
  color: var(--gpc-ink);
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.bt-general-pest-control .bt-gpc-why-item p {
  color: var(--gpc-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .bt-general-pest-control .bt-gpc-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (max-width: 420px) {
  .bt-general-pest-control .bt-gpc-why-grid {
    gap: 22px 16px;
  }
  .bt-general-pest-control .bt-gpc-why-icon {
    width: 54px;
    height: 54px;
  }
  .bt-general-pest-control .bt-gpc-why-icon svg {
    width: 30px;
    height: 30px;
  }
  .bt-general-pest-control .bt-gpc-why-item h3 {
    font-size: 15px;
  }
  .bt-general-pest-control .bt-gpc-why-item p {
    font-size: 13px;
  }
}

/* =========================================
   FINAL CALL TO ACTION
   ========================================= */

.bt-general-pest-control .bt-gpc-cta {
  background: var(--gpc-deep);
  border-radius: 16px;
  padding: 36px;
  color: #fff;
}

.bt-general-pest-control .bt-gpc-cta h2,
.bt-general-pest-control .bt-gpc-cta p {
  color: #fff;
}

.bt-general-pest-control .bt-gpc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  margin-top: 14px;
  border-radius: 8px;
  background: var(--gpc-red);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease;
}

.bt-general-pest-control .bt-gpc-button:hover {
  background: #d90e15;
  color: #fff;
}

/* FAQ */

.bt-general-pest-control .bt-gpc-faq details {
  border-bottom: 1px solid #dfe9e4;
  padding: 18px 0;
}

.bt-general-pest-control .bt-gpc-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #173d30;
}

.bt-general-pest-control .bt-gpc-faq details p {
  color: var(--gpc-muted);
}

/* =========================================
   TECHNICIAN HERO PHOTOGRAPH
   ========================================= */

@media (min-width: 901px) {
  .bt-general-pest-control .bt-gpc-hero {
    background-image:
      linear-gradient(
        90deg,
        rgba(0,44,37,.98) 0%,
        rgba(0,52,43,.96) 38%,
        rgba(0,52,43,.65) 65%,
        rgba(0,52,43,.12) 100%
      ),
      url("assets/hero-technician-sabah.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .bt-general-pest-control .bt-gpc-hero h1,
  .bt-general-pest-control .bt-gpc-hero p {
    max-width: 650px;
  }
}

/* =========================================
   TABLET RESPONSIVENESS
   ========================================= */

@media (max-width: 1000px) {
  .bt-general-pest-control .bt-gpc-pest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bt-general-pest-control .bt-gpc-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .bt-general-pest-control .bt-gpc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bt-general-pest-control .bt-gpc-hero {
    background: linear-gradient(115deg, #002c25, #005343);
  }
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 620px) {
  .bt-general-pest-control .bt-gpc-container {
    width: calc(100% - 30px);
  }

  .bt-general-pest-control .bt-gpc-hero {
    padding: 48px 0;
  }

  .bt-general-pest-control .bt-gpc-hero h1 {
    font-size: 35px;
  }

  .bt-general-pest-control .bt-gpc-section {
    padding: 38px 0;
  }

  .bt-general-pest-control .bt-gpc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bt-general-pest-control .bt-gpc-card {
    padding: 20px;
  }

  .bt-general-pest-control .bt-gpc-cta {
    padding: 25px 20px;
  }

  .bt-general-pest-control .bt-gpc-button {
    width: 100%;
  }

  /* Pest photographs */

  .bt-general-pest-control .bt-gpc-pest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .bt-general-pest-control .bt-gpc-pest-card img {
    height: 115px;
  }

  .bt-general-pest-control .bt-gpc-pest-info {
    padding: 14px 12px 18px;
  }

  .bt-general-pest-control .bt-gpc-pest-info h3 {
    font-size: 14px;
  }

  .bt-general-pest-control .bt-gpc-pest-info p {
    font-size: 12px;
  }

  /* Four-step approach */

  .bt-general-pest-control .bt-gpc-process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bt-general-pest-control .bt-gpc-process-card {
    padding: 22px 20px;
  }

  .bt-general-pest-control .bt-gpc-process-icon {
    margin-top: 16px;
  }
}

@media (max-width: 360px) {
  .bt-general-pest-control .bt-gpc-pest-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bt-general-pest-control .bt-gpc-pest-card,
  .bt-general-pest-control .bt-gpc-button {
    transition: none;
  }
}

/* =========================================
   WHY CHOOSE BT — ICON DISPLAY REPAIR
   Self-contained CSS icons; no SVG markup or icon font required.
   Scoped to this page only.
   ========================================= */

.bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: #40A275;
  color: #fff;
  overflow: hidden;
}

.bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-item:nth-child(odd) .bt-gpc-why-icon {
  background-color: #F3151A;
}

.bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-item:nth-child(even) .bt-gpc-why-icon {
  background-color: #40A275;
}

/* Hide unreliable inline SVGs in this section only. */
.bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-icon svg {
  display: none;
}

.bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-icon::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-item:nth-child(1) .bt-gpc-why-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M24%203v7M24%2038v7M3%2024h7M38%2024h7M9.2%209.2l5%205M33.8%2033.8l5%205M38.8%209.2l-5%205M14.2%2033.8l-5%205%22%2F%3E%3C%2Fsvg%3E");
}

.bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-item:nth-child(2) .bt-gpc-why-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%2210%22%20y%3D%227%22%20width%3D%2228%22%20height%3D%2234%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M17%2015h14M17%2022h14M17%2029h9M17%2035h14%22%2F%3E%3C%2Fsvg%3E");
}

.bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-item:nth-child(3) .bt-gpc-why-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M39%208C20%209%2010%2017%2010%2030c0%207%205%2011%2012%2010C35%2038%2040%2023%2039%208Z%22%2F%3E%3Cpath%20d%3D%22M12%2039c5-10%2012-17%2022-23%22%2F%3E%3C%2Fsvg%3E");
}

.bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-item:nth-child(4) .bt-gpc-why-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2214%22%20r%3D%226%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2220%22%20r%3D%224%22%2F%3E%3Ccircle%20cx%3D%2238%22%20cy%3D%2220%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M12%2040v-5c0-7%205-11%2012-11s12%204%2012%2011v5H12ZM3%2038v-5c0-4%202-7%207-8M45%2038v-5c0-4-2-7-7-8%22%2F%3E%3C%2Fsvg%3E");
}

@media (max-width: 420px) {
  .bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-icon {
    width: 54px;
    height: 54px;
  }
  .bt-general-pest-control .bt-gpc-why-grid .bt-gpc-why-icon::before {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}

/* ==========================================
   GENERAL PEST CONTROL — WHY CHOOSE BT PHOTO
   ========================================== */

.bt-general-pest-control .bt-gpc-why {
  background-image:
    linear-gradient(
      90deg,
      #ffffff 0%,
      rgba(255,255,255,0.98) 35%,
      rgba(255,255,255,0.82) 58%,
      rgba(255,255,255,0.12) 100%
    ),
    url("assets/general-pest-control-why-choose-bt.jpg");

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Keep text above the background */
.bt-general-pest-control .bt-gpc-why .bt-gpc-container {
  position: relative;
  z-index: 1;
}

/* Tablet and mobile */
@media (max-width: 900px) {
  .bt-general-pest-control .bt-gpc-why {
    background-image:
      linear-gradient(
        90deg,
        rgba(255,255,255,0.97),
        rgba(255,255,255,0.88)
      ),
      url("assets/general-pest-control-why-choose-bt.jpg");

    background-position: 70% center;
  }
}

@media (max-width: 620px) {
  .bt-general-pest-control .bt-gpc-why {
    background-image: none;
    background-color: #ffffff;
  }
}
