/* ==========================================================================
   Technocat Farm replica - matched to live Elementor theme values
   ========================================================================== */

:root {
  --green: #4ea72e;
  /* inline text highlight */
  --green-hover: #56BB3E;
  /* nav/links hover */
  --green-nav: #51B43C;
  /* active nav */
  --green-heading: #50B23A;
  /* team heading */
  --green-topbar: #9BE988;
  /* top bar background */
  --footer-bg: #044313;
  /* footer background */
  --footer-bottom: #043710;
  /* copyright bar */
  --text: #555555;
  --text-light: #CCCCCC;
  --heading: #222222;
  --border: #E2E2E2;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--green-hover);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
.section-title {
  font-family: "Century Gothic", "Signika", Arial, sans-serif;
  color: var(--heading);
  margin: 0 0 15px;
  line-height: 1.3;
}

.tagline {
  font-family: "Century Gothic", "Signika", Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  margin-top: -10px;
  margin-bottom: 25px;
  letter-spacing: 0.3px;
}

p {
  margin: 0 0 18px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.center {
  text-align: center;
}

.green {
  color: var(--green);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section {
  padding: 60px 0;
}

.what-we-do {
  padding: 90px 0 60px;
}

.section-title {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 18px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--green);
}

/* ---------- Buttons (gradient, matches Learn More) ---------- */
.btn {
  display: inline-block;
  background-image: linear-gradient(180deg, #2D8029 0%, #50B23B 100%);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 4px;
  transition: filter 0.25s ease;
}

.btn:hover {
  color: #fff;
  filter: brightness(1.1);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.site-header .container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.top-bar {
  background: var(--green-topbar);
  color: #fff;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  gap: 15px;
}

.top-bar .welcome {
  margin: 0;
  font-size: 14px;
  color: #fff;
}

.top-bar .social {
  display: flex;
  gap: 12px;
}

.top-bar .social a {
  color: #fff;
  font-size: 15px;
}

.top-bar .social a:hover {
  color: var(--green-dark, #044313);
}

.main-header {
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 100px;
  gap: 20px;
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 82px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  transition: opacity 0.2s ease;
}

.logo:hover .logo-title {
  opacity: 0.9;
}

.logo-main {
  font-family: "Century Gothic", "Signika", Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-sub {
  font-family: "Century Gothic", "Signika", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.primary-title,
.section-title.primary-title {
  color: var(--green);
}

.main-menu {
  flex: 1 1 auto;
}

.main-menu .menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0 22px;
  white-space: nowrap;
}

.main-menu .menu>li>a {
  display: inline-block;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #000;
  font-family: "Open Sans", Arial, sans-serif;
  transition: color 0.2s ease-in-out;
}

.main-menu .menu>li>a:hover,
.main-menu .menu>li.active>a {
  color: var(--green-nav);
}

.nav-toggle-label {
  display: none;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  padding: 6px 10px;
}

.mobile-only {
  display: none;
}

.drawer-head {
  display: none;
}

.nav-overlay {
  display: none;
}

/* ==========================================================================
   Hero - full width, no overlay, tall
   ========================================================================== */
.hero {
  min-height: 800px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==========================================================================
   About
   ========================================================================== */
.about-text {
  max-width: 1000px;
  margin: 0 auto 30px;
  text-align: left;
  font-size: 18px;
  line-height: 1.7;
}

/* ==========================================================================
   Mission / Vision
   ========================================================================== */
.mission-vision {
  background: #fff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.two-col .col h2,
.two-col .col .section-title {
  color: var(--green);
}

.two-col .col p {
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
}

/* ==========================================================================
   What we do
   ========================================================================== */
.what-list {
  margin-bottom: 50px;
}

.what-list>li {
  position: relative;
  padding: 3px 0 3px 24px;
  font-size: 18px;
  line-height: 1.7;
}

.what-list>li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

.what-list ul {
  margin: 8px 0;
  padding-left: 22px;
  list-style: disc;
  color: #777;
  font-size: 16px;
}

.what-list ul li {
  padding: 2px 0;
}

.what-list ul li::before {
  content: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 18px;
}

.service-card p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.25s ease;
}

.service-card:hover p {
  color: var(--green);
}

/* ==========================================================================
   Why choose
   ========================================================================== */
.why-choose p {
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
  max-width: 1000px;
  margin: 0 auto 18px;
}

/* ==========================================================================
   Aims + features
   ========================================================================== */
.aim-title {
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 30px;
  color: var(--heading);
}

.check-list,
.features-grid,
.services-grid,
.team-grid,
.two-col {
  max-width: 1000px;
  margin: 0 auto;
}

.check-list {
  margin-bottom: 50px;
}

.check-list li {
  position: relative;
  padding: 4px 0 4px 24px;
  font-size: 18px;
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
}

.feature-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin: 0 auto 15px;
}

.feature-card p {
  margin: 0;
  font-size: 16px;
  color: var(--heading);
  line-height: 1.6;
}

/* ==========================================================================
   Team
   ========================================================================== */
.team .section-title {
  color: var(--green-heading);
}

.team .section-title::after {
  background: var(--green-heading);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  margin-top: 25px;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 5px double var(--green);
  border-radius: 50px;
  margin: 0 auto 18px;
  background: #fff;
}

.team-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.team-card h4 {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--green-heading);
  font-weight: 700;
  margin-bottom: 14px;
}

.linkedin {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: #0077b5;
  color: #fff !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 119, 181, 0.45);
  margin-bottom: 16px;
  opacity: 1 !important;
}

.linkedin svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: #fff !important;
}

.linkedin:hover {
  background: #00a0dc;
  color: #fff !important;
  transform: translateY(-2px);
}

.team-card p {
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
  margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--text-light);
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 90px 15px 80px;
}

.footer-col h2,
.footer-col h3 {
  color: #fff;
  font-family: "Signika", Arial, sans-serif;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-col ul li {
  padding: 4px 0;
  font-size: 15px;
}

.footer-col a {
  color: var(--text-light);
}

.footer-col a:hover {
  color: var(--green-hover);
}

.call-col {
  text-align: center;
}

.call-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.call-col h3 {
  display: inline-block;
  font-size: 18px;
  margin: 0 8px 0 0;
  vertical-align: middle;
}

.call-col p {
  display: inline-block;
  margin: 0;
  font-size: 16px;
  color: #fff;
  vertical-align: middle;
}

.footer-social {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: #0077b5;
  color: #fff !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 119, 181, 0.45);
  opacity: 1 !important;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: #fff !important;
}

.footer-social:hover {
  background: #00a0dc;
  color: #fff !important;
  transform: translateY(-2px);
}

.footer-bottom {
  background: var(--footer-bottom);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  padding: 15px 0;
  font-size: 14px;
  color: #fff;
}

/* ==========================================================================
   Back to top + WhatsApp float (SVG icons - no CDN dependency)
   ========================================================================== */
.wa-widget {
  position: static;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 74px;
  width: 56px;
  height: 56px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #2db742;
  color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 8px 2px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  z-index: 2147483000;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

.whatsapp-float:hover {
  background: #25a63a;
  color: #fff;
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}

.wa-popup {
  position: fixed;
  right: 22px;
  bottom: 142px;
  width: 340px;
  max-width: calc(100% - 40px);
  background: #fff;
  border-radius: 5px 5px 8px 8px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  z-index: 999999998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.wa-popup.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wa-popup-heading {
  background: #2db742;
  padding: 18px 40px 16px 16px;
  position: relative;
}

.wa-popup-title {
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
  font-weight: 400;
}

.wa-popup-intro {
  color: #e6f6e6;
  font-size: 12px;
  line-height: 1.6;
  margin: 6px 0 0;
}

.wa-popup-intro strong {
  color: #fff;
}

.wa-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wa-popup-close:hover {
  background: rgba(0, 0, 0, 0.15);
}

.wa-popup-content {
  background: #fff;
  padding: 16px;
  text-align: center;
}

.wa-popup-notice {
  color: #a5abb7;
  font-size: 12px;
  margin: 0 0 14px;
}

.wa-member {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #f5f7f9;
  border-left: 3px solid #2db742;
  border-radius: 2px 4px 2px 4px;
  padding: 12px 14px;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.wa-member:hover {
  background: #fff;
  box-shadow: 0 7px 15px 1px rgba(55, 62, 70, 0.07);
}

.wa-member-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
}

.wa-member-txt {
  display: flex;
  flex-direction: column;
}

.wa-member-name {
  color: #363c47;
  font-size: 14px;
  line-height: 1.2;
}

.wa-member-status {
  color: #2db742;
  font-size: 11px;
  margin-top: 3px;
}

#back-to-top {
  position: fixed;
  right: 28px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-nav);
  color: #fff;
  border-radius: 50%;
  z-index: 2147483000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s ease;
}

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

#back-to-top:hover {
  background: #0F5319;
  color: #fff;
}

#back-to-top svg {
  width: 20px;
  height: 20px;
  display: block;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header-inner {
    gap: 12px;
  }

  .logo img {
    height: 72px;
  }

  .logo-main {
    font-size: 18px;
  }

  .logo-sub {
    font-size: 10px;
  }

  .main-menu .menu {
    gap: 0 12px;
  }

  .main-menu .menu>li>a {
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .top-bar {
    display: none;
  }

  .nav-toggle-label {
    display: block;
    position: absolute;
    left: 15px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .header-inner {
    min-height: 74px;
    justify-content: center;
    position: relative;
  }

  .logo {
    margin: 0 auto;
    padding-left: 28px;
    gap: 8px;
  }

  .logo img {
    height: 56px;
    width: auto;
    max-width: 95px;
    object-fit: contain;
  }

  .logo-title {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .logo-main {
    font-size: 15px;
    letter-spacing: 0.3px;
  }

  .logo-sub {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .main-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    box-shadow: 6px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
    flex: none;
  }

  .nav-toggle:checked~.main-menu {
    transform: translateX(0);
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    cursor: pointer;
  }

  .nav-toggle:checked~.nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
  }

  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .drawer-logo {
    height: 50px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    display: block;
  }

  .drawer-title {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .drawer-main {
    font-family: "Century Gothic", "Signika", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--green);
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }

  .drawer-sub {
    font-family: "Century Gothic", "Signika", Arial, sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 1px;
  }

  .drawer-close {
    font-size: 24px;
    color: #333;
    cursor: pointer;
    line-height: 1;
  }

  .main-menu .menu {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
  }

  .main-menu .menu>li>a {
    padding: 11px 20px;
    border-bottom: 1px solid var(--border);
  }

  .mobile-only {
    display: block;
  }

  .menu-cta {
    padding: 15px 20px;
  }

  .free-enquiry {
    display: inline-block;
    background-image: linear-gradient(180deg, #2D8029 0%, #50B23B 100%);
    color: #fff;
    padding: 10px 24px;
    font-weight: 600;
  }

  .hero {
    min-height: 500px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 15px;
  }
}

@media (max-width: 767px) {

  /* --- Global mobile gutter fix: prevent text touching screen edges --- */
  html {
    overflow-x: clip;
  }

  body {
    overflow-x: clip;
  }

  /* keep fixed widgets out of any clipped stacking context */
  .wa-widget,
  .whatsapp-float,
  .wa-popup,
  #back-to-top {
    transform: none;
    filter: none;
    perspective: none;
  }

  .container {
    padding-left: 26px;
    padding-right: 26px;
  }

  .section {
    padding: 45px 0;
  }

  .section .container,
  .content .container,
  .footer-grid,
  .page-hero .container {
    padding-left: 26px;
    padding-right: 26px;
  }

  .content {
    padding-left: 0;
    padding-right: 0;
  }

  .content p,
  .content h2,
  .content h3,
  .content h4,
  .content ul,
  .content ol,
  .content .lead,
  .about-text,
  .two-col .col p,
  .what-list>li,
  .why-choose p,
  .check-list li,
  .team-card p,
  .page-hero h1,
  .page-hero p,
  .section-title,
  .aim-title {
    overflow-wrap: break-word;
  }

  .what-we-do {
    padding: 45px 0 30px;
  }

  .section-title {
    font-size: 25px;
  }

  .aim-title {
    font-size: 21px;
  }

  .hero {
    min-height: 300px;
  }

  .top-bar-inner {
    flex-direction: column;
    gap: 6px;
    padding: 8px 15px;
  }

  .about-text,
  .two-col .col p,
  .what-list>li,
  .why-choose p,
  .check-list li,
  .team-card p {
    font-size: 16px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .call-col {
    text-align: left;
  }

  .call-col .call-icon {
    margin: 0 0 12px;
  }

  /* --- Mobile floating buttons fix: always visible above content --- */
  .wa-widget {
    position: static;
  }

  .whatsapp-float {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    right: 16px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
    font-size: 28px;
    z-index: 3000;
  }

  .wa-popup {
    right: 12px;
    left: 12px;
    bottom: calc(140px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: none;
    z-index: 3001;
  }

  #back-to-top {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 46px;
    height: 46px;
    z-index: 3000;
  }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
  background-image: linear-gradient(180deg, #56BB3E 0%, #0F5319 100%);
  padding: 55px 0;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: 32px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-hero p {
  color: #eafbe4;
  margin: 8px 0 0;
  font-size: 15px;
}

.content {
  padding: 30px 0 60px;
}

.content .container {
  max-width: 1000px;
}

.content>.container> :first-child {
  margin-top: 0;
}

.content h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 35px 0 15px;
}

.content h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 12px;
}

.content h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 10px;
}

.content p {
  font-size: 17px;
  line-height: 1.75;
}

.content ul,
.content ol {
  margin: 0 0 18px;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.75;
}

.content ul {
  list-style: disc;
}

.content ol {
  list-style: decimal;
}

.content ul li,
.content ol li {
  padding: 3px 0;
}

.content strong {
  color: #333;
}

.content .green,
.content .green strong {
  color: var(--green);
}

.content .lead {
  font-size: 18px;
}

.content .service-block {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.content .service-block:last-child {
  border-bottom: none;
}

.content .service-block h3 {
  color: var(--green);
  margin-top: 0;
}

.content .service-block .subhead {
  font-weight: 700;
  color: var(--heading);
  font-size: 17px;
  margin: 16px 0 6px;
}

/* ==========================================================================
   Interactive Service Cards Grid with Hover Reveal
   ========================================================================== */
.content.services-page .container,
.services-cards-container {
  max-width: 1200px;
}

.services-intro-text {
  text-align: center;
  max-width: 780px;
  margin: -10px auto 35px;
  font-size: 17px;
  color: #666;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 30px 0 50px;
}

.service-card-item {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  min-height: 310px;
  display: flex;
  flex-direction: column;
  outline: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card-item:hover,
.service-card-item:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(84, 130, 53, 0.18);
  border-color: var(--green);
}

/* Front Face */
.service-card-front {
  padding: 38px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.service-card-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  background: #eaf7e4;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.service-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f1f9ed;
  color: var(--green);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.service-card-item:hover .service-card-icon {
  transform: scale(1.08);
  background: var(--green);
  color: #ffffff;
}

.service-card-title {
  font-family: "Century Gothic", "Signika", Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #222222;
  margin: 0 0 18px;
  line-height: 1.35;
}

.service-card-hint {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green);
  padding: 7px 16px;
  background: #f4faf2;
  border-radius: 20px;
  transition: background 0.25s ease, color 0.25s ease;
}

.service-card-item:hover .service-card-hint {
  background: var(--green);
  color: #ffffff;
}

/* Hover Details Overlay */
.service-card-details {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2D8029 0%, #174d15 100%);
  color: #ffffff;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(25px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow-y: auto;
}

.service-card-details::-webkit-scrollbar {
  width: 5px;
}

.service-card-details::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.service-card-details::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 10px;
}

.service-card-item:hover .service-card-details,
.service-card-item:focus-within .service-card-details,
.service-card-item.active .service-card-details {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.service-details-title {
  font-family: "Century Gothic", "Signika", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 8px;
}

.service-details-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: #f1f8ed;
  flex: 1;
}

.service-details-body p {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 10px;
  color: #f1f8ed;
}

.service-details-body ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0 0 10px;
}

.service-details-body ul li {
  font-size: 13px;
  line-height: 1.5;
  padding: 2px 0;
  color: #f1f8ed;
}

.service-details-body strong {
  color: #ffffff;
}

.service-details-btn,
#enquiry-form,
.form-card,
.free-enquiry,
.menu-cta {
  display: none !important;
}

@media (max-width: 991px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 767px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card-item {
    min-height: 340px;
  }
}

/* Services grid reused on services page */
.services-grid.inner {
  max-width: none;
  margin: 30px 0;
}

/* Contact cards */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 30px;
  margin-bottom: 40px;
}

.contact-card {
  text-align: center;
}

.contact-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
  border: 3px solid #358B2D;
  border-radius: 50%;
  color: #358B2D;
  font-size: 40px;
}

.contact-card h3 {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 20px;
  font-weight: 700;
}

.contact-card p {
  margin: 0 0 6px;
  font-size: 16px;
}

.contact-card h3 a,
.contact-card p a {
  color: inherit;
}

.contact-card p a {
  color: var(--green);
}

.contact-card .card-desc {
  font-family: Verdana, sans-serif;
  font-weight: 700;
}

.contact-card .card-desc a {
  color: inherit;
}

.contact-map {
  margin-top: 40px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* Important links */
.links-grid {
  text-align: center;
  margin-bottom: 10px;
}

.links-grid a {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 15px 30px;
  border: none;
  border-radius: 3px;
  background: var(--green-nav);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: center;
}

.links-grid a:hover {
  background: var(--green-topbar);
  color: #000;
}

/* Forms */
.form-card {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 35px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  max-width: 780px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
}

.form-status.is-success {
  background: #EAF7E4;
  border-color: #9BE988;
  color: #2D8029;
}

.form-status.is-error {
  background: #FCECEC;
  border-color: #F0B4B4;
  color: #B3261E;
}

/* Enquiry success popup */
.mail-popup {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mail-popup.open {
  opacity: 1;
  visibility: visible;
}

.mail-popup-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(15px) scale(0.97);
  transition: transform 0.25s ease;
}

.mail-popup.open .mail-popup-box {
  transform: translateY(0) scale(1);
}

.mail-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #999;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.mail-popup-close:hover {
  background: #f2f2f2;
  color: #333;
}

.mail-popup-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #EAF7E4;
  color: var(--green);
  font-size: 34px;
}

.mail-popup-title {
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--heading);
}

.mail-popup-text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.mail-popup-btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  padding: 12px 44px;
  border-radius: 3px;
  background: linear-gradient(180deg, #2D8029 0%, #50B23B 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  transition: opacity 0.2s ease;
}

.mail-popup-btn:hover {
  opacity: 0.9;
}

.form-card .form-intro {
  text-align: center;
  font-size: 16px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 7px;
  font-size: 15px;
}

.form-group .req {
  color: #d63638;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.checkbox-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
  cursor: pointer;
}

.checkbox-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #51b43c;
  flex-shrink: 0;
}

.form-submit {
  display: inline-block;
  background-image: linear-gradient(180deg, #2D8029 0%, #50B23B 100%);
  color: #fff;
  border: none;
  font-size: 17px;
  font-weight: 700;
  padding: 13px 40px;
  border-radius: 5px;
  cursor: pointer;
  transition: filter 0.25s ease;
}

.form-submit:hover {
  filter: brightness(1.1);
}

@media (max-width: 767px) {
  .page-hero h1 {
    font-size: 24px;
  }

  .content p,
  .content ul,
  .content ol {
    font-size: 16px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 22px;
  }
}