:root {
    --g: #0F4229;
    --gd: #0a2e1c;
    --lime: #9cc212;
    --soft: #f4f7f2;
    --txt: #33403a;
    --line: #dfe8dc;
  }

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--txt);
  line-height: 1.7;
  font-size: .95rem;
}

h1, h2, h3, h4, h5 {
  color: var(--gd);
  font-weight: 600;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

/* ===== Buttons ===== */
.btn-g {
  background: var(--g);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: .7rem 1.6rem;
  font-weight: 500;
}
.btn-g:hover {
  background: var(--gd);
  color: #fff;
}

.btn-l {
  background: var(--lime);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: .7rem 1.6rem;
  font-weight: 600;
}
.btn-l:hover {
  background: #8fca50;
  color: #fff;
}

/* ===== Layout helpers ===== */
section {
  padding: 4.5rem 0;
}

.tag {
  color: var(--lime);
  font-size: .85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1rem;
  background: rgba(156, 194, 18, .1);
  padding: .35rem .9rem;
  border-radius: 30px;
}
.tag i {
  font-size: .7rem;
}

.title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 1rem;
}

/* ===== CENTERED TAG FIX ===== */
.tag.center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===== About ===== */
#about {
  background: #fff;
  overflow: hidden;
}

.about-visual {
  position: relative;
  min-height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  height: 88%;
  border-radius: 14px;
  background: #2c6b3d url('../images/about-img.webp') center/cover;
  box-shadow: 0 20px 50px rgba(15, 66, 41, .15);
  z-index: 1;
}

.about-img-small {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52%;
  height: 48%;
  border-radius: 14px;
  background: #1f5a30 url('../images/about-us-image-1.jpg') center/cover;
  box-shadow: 0 20px 50px rgba(15, 66, 41, .22);
  z-index: 3;
  border: 5px solid #fff;
}

.about-deco-bug {
  position: absolute;
  left: -30px;
  top: 30px;
  font-size: 9rem;
  color: #eaf2e4;
  z-index: 0;
  line-height: 1;
  opacity: .8;
  pointer-events: none;
}

.about-deco-circle {
  position: absolute;
  bottom: -20px;
  right: 8%;
  width: 120px;
  height: 120px;
  border: 2px dashed var(--lime);
  border-radius: 50%;
  z-index: 0;
  opacity: .5;
}

.about-content .title {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.2;
}
.about-content p {
  color: #4a5a52;
  margin-bottom: 1.2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin: 1.8rem 0;
}

.about-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
}
.about-feature .icon-circle {
  width: 62px;
  height: 62px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--g);
  background: #fff;
  transition: all .25s ease;
}
.about-feature:hover .icon-circle {
  border-color: var(--lime);
  background: rgba(156, 194, 18, .08);
  transform: translateY(-3px);
}
.about-feature h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.about-feature p {
  font-size: .88rem;
  color: #5d6b64;
  margin: 0;
  line-height: 1.6;
}

.about-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .45rem 0;
  font-weight: 500;
  color: var(--gd);
}
.about-checklist li i {
  flex: 0 0 24px;
  height: 24px;
  background: var(--lime);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .75rem;
}

@media (max-width: 991px) {
  .about-visual { min-height: 420px; margin-bottom: 2rem; }
  .about-img-main { width: 85%; height: 85%; }
  .about-img-small { width: 55%; height: 45%; }
  .about-deco-bug { font-size: 6rem; left: -10px; }
}

@media (max-width: 575px) {
  .about-visual { min-height: 340px; }
  .about-features { grid-template-columns: 1fr; gap: 1.4rem; }
  .about-deco-bug { font-size: 4rem; }
}

/* ===== Services ===== */
#services {
  background: var(--soft);
}

.svc-tabs .nav-link {
  color: var(--gd);
  font-weight: 600;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 30px;
  padding: .6rem 1.4rem;
  margin: .25rem .35rem;
}
.svc-tabs .nav-link.active {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
  box-shadow: 0 6px 18px rgba(15, 66, 41, .25);
}
.svc-tabs .nav-link:hover:not(.active) {
  border-color: var(--g);
  color: var(--g);
}

.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 22px rgba(20, 61, 34, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20, 61, 34, .16);
}

.svc .top {
  position: relative;
  height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.svc .top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .045) 0 12px, transparent 12px 24px);
  pointer-events: none;
  z-index: 2;
}
.svc .top .emo {
  position: relative;
  z-index: 1;
  font-size: 4.2rem;
  line-height: 1;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .28));
  transition: transform .3s ease;
}
.svc:hover .top .emo {
  transform: scale(1.12) rotate(-4deg);
}
.svc .top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}

.svc .body {
  padding: 1.3rem 1.3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc h4 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  font-weight: 700;
}
.svc p {
  font-size: .9rem;
  color: #5d6b64;
  margin: 0 0 1rem;
  flex: 1;
}
.svc .more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--g);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  justify-content: center;
}
.svc .more:hover {
  color: var(--g) !important;

}
.svc .more i {
  transition: transform .2s;
}
.svc .more:hover {
  color: var(--lime);
}
.svc .more:hover i {
  transform: translateX(4px);
}

.svc.com .top {
  background:
    radial-gradient(circle at 30% 20%, rgba(156, 194, 18, .22), transparent 60%),
    linear-gradient(135deg, #143d22 0%, #0f4229 100%);
}

/* ===== Why Choose Us ===== */
.why {
  background: var(--gd);
  color: #e2ece0;
}
.why-img {
  min-height: 360px;
  background: #2c6b3d url('../images/why-choose-img.webp') center/cover;
}
.why h2 {
  color: #fff;
}
.why li {
  list-style: none;
  padding: .35rem 0;
}
.why li i {
  color: var(--lime);
  margin-right: .6rem;
}
.why .panel {
  padding: 3rem;
}

/* ===== Testimonials ===== */
#reviews {
  background: linear-gradient(135deg, #f4f7f2 0%, #eaf2e4 100%);
  position: relative;
  overflow: hidden;
}

.rev-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(15, 66, 41, 0.06);
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 66, 41, 0.05);
}

.rev-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 66, 41, 0.15);
  border-color: var(--lime);
}

.rev-quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 5rem;
  color: rgba(156, 194, 18, 0.15); /* Soft lime */
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.rev-stars {
  color: #f5c542; /* Gold color for stars */
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.rev-text {
  font-size: 0.95rem;
  color: #4a5a52;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.rev-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.rev-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--g);
  font-size: 1.5rem;
  border: 2px solid var(--lime);
}

.rev-author-info strong {
  display: block;
  color: var(--gd);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.rev-author-info span {
  font-size: 0.8rem;
  color: #7a8b83;
}

/* ===== Core Features Section ===== */
.core-features {
  background: linear-gradient(rgba(10, 46, 28, 0.88), rgba(15, 66, 41, 0.95)), url('../images/hero-bg-image.jpg') center/cover;
  background-color: var(--gd); /* Fallback color */
  color: #fff;
  padding: 6rem 0;
  position: relative;
}

.core-features .title {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(156, 194, 18, 0.5); /* Lime green border on hover */
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--lime);
  color: var(--gd); /* Dark green icon */
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #c4d5c2; /* Light gray-green */
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #e2ece0;
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}

.feature-list li i {
  color: var(--lime);
  font-size: 1.1rem;
}

/* ===== Target Pests & Facts Section ===== */
.pest-item {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pest-icon-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid var(--lime);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Creates the diagonal line over the image */
.pest-icon-wrapper::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 3px;
  background-color: var(--lime);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 2;
  pointer-events: none;
}

.pest-icon-wrapper img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  z-index: 1;
  position: relative;
}

.pest-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gd);
}

/* Facts Section */
.fact-item {
  text-align: center;
}

.fact-icon {
  font-size: 2.5rem;
  color: var(--lime);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.fact-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gd);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.fact-label {
  font-size: 0.85rem;
  color: #5d6b64;
  line-height: 1.4;
}

/* ===== Enquiry ===== */
#enquiry {
  background: var(--soft);
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem;
}
.form-control,
.form-select {
  border-radius: 4px;
  padding: .65rem .85rem;
  border-color: #cfdccb;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--g);
  box-shadow: 0 0 0 .2rem rgba(31, 90, 48, .15);
}

/* ===== Contact ===== */
.cbox {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.cbox i {
  flex: 0 0 48px;
  height: 48px;
  background: var(--g);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.cbox h5 {
  font-size: 1rem;
  margin: 0;
}
.cbox a {
  color: var(--txt);
  text-decoration: none;
}
.map {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 6px;
}

/* ===== Responsive & Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .svc { transition: none; }
}

@media (max-width: 767px) {
  section { padding: 3rem 0; }
  .why .panel { padding: 2rem 1.2rem; }
}