:root {
  /* Color Palette */
  --primary-green: #1E6B3A;
  --dark-green: #0F3F25;
  --accent-green: #4CAF50;
  --light-bg: #F5F7F5;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-muted: #666666;
  --border-color: #E0E5E0;

  /* Typography */
  --font-main: 'Work Sans', sans-serif;
  --font-heading: 'Cormorant', serif;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset Component */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-green);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--dark-green);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--white);
}

.section-light {
  background-color: var(--light-bg);
}

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

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-5 {
  margin-top: 3rem;
}

/* Buttons */
.btn {
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(30, 107, 58, 0.3);
}

.btn-primary:hover {
  background-color: #17542d;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 107, 58, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark-green);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-outline-dark:hover {
  background-color: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn i {
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(4px);
}

/* Section Label */
.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.header.scrolled .logo-text,
.header.scrolled .nav-link {
  color: var(--dark-green);
}

.header.scrolled .menu-toggle span {
  background-color: var(--dark-green);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition-normal);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color var(--transition-normal);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-green);
  transition: width var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition-normal);
}

/* Media Queries */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    transition: right var(--transition-normal);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: var(--dark-green);
    font-size: 1.5rem;
  }

  .header.scrolled .menu-toggle.active span:nth-child(1),
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--dark-green);
  }

  .header.scrolled .menu-toggle.active span:nth-child(2),
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .header.scrolled .menu-toggle.active span:nth-child(3),
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--dark-green);
  }

  .logo-text.dark-forced {
    color: var(--dark-green);
  }
}

/* Coverage Area Section */
.border-top {
  border-top: 1px solid var(--border-color);
}

.coverage-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.coverage-list {
  text-align: left;
}

.coverage-list li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.coverage-list i {
  color: var(--accent-green);
}

/* Contact Section */
.align-start {
  align-items: flex-start;
}

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

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-green);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.h-100-img {
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}

/* Final CTA Strip */
.final-cta {
  background-color: var(--dark-green);
  padding: 6rem 0;
  background-image: linear-gradient(135deg, rgba(15, 63, 37, 0.9) 0%, rgba(10, 46, 27, 0.95) 100%), url('https://images.unsplash.com/photo-1558904541-efa843a96f09?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  background-color: var(--accent-green);
  color: var(--white);
}

.btn-lg:hover {
  background-color: #3d8b40;
}

/* Footer */
.footer {
  background-color: #0a2e1b;
  color: #B3C6B8;
  padding-top: 5rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: #B3C6B8;
  max-width: 300px;
  margin-top: 1rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 1rem;
}

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

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact i {
  color: var(--accent-green);
}

.footer-bottom {
  background-color: #051a0f;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  color: #8c9e92;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Pricing / Feature Boxes */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-box {
  display: flex;
  gap: 1.5rem;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--primary-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feature-text h4 {
  margin-bottom: 0.25rem;
  color: var(--dark-green);
}

.feature-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Reviews Section */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge i {
  color: #4285F4;
  /* Google Blue */
  background: white;
  border-radius: 50%;
  padding: 4px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.stars {
  color: #FFB400;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.review-card p {
  color: var(--text-dark);
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.reviewer {
  display: flex;
  flex-direction: column;
}

.reviewer strong {
  color: var(--dark-green);
}

.reviewer span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Before & After Slider */
.slider-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.ba-slider {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  --position: 50%;
  cursor: ew-resize;
}

.ba-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.ba-slider-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  z-index: 10;
  color: var(--primary-green);
  pointer-events: none;
}

.slider-handle::before,
.slider-handle::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 1000px;
  background-color: var(--white);
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

.slider-handle::before {
  bottom: 50%;
}

.slider-handle::after {
  top: 50%;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  height: 240px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  transition: color var(--transition-fast);
}

.service-card:hover .service-content h3 {
  color: var(--primary-green);
}

.service-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Process Section */
.process-section {
  background: linear-gradient(135deg, var(--dark-green) 0%, #0a2e1b 100%);
  position: relative;
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 10px rgba(76, 175, 80, 0.2);
}

.process-step h4 {
  color: var(--white);
}

.process-step p {
  color: #B3C6B8;
  font-size: 0.95rem;
}

.process-line {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(to right, var(--accent-green) 50%, transparent 50%);
  background-size: 15px 100%;
  z-index: 1;
  opacity: 0.5;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .process-step:nth-child(2) .process-line {
    display: none;
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-line {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../images/meadow-background-swing-white-light.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 80px;
  /* Accounts for header */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 63, 37, 0.95) 0%, rgba(15, 63, 37, 0.7) 40%, rgba(15, 63, 37, 0.2) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
  color: var(--white);
}

.hero-headline {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-subheading {
  font-size: 1.25rem;
  color: #E0E5E0;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust i {
  color: var(--accent-green);
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(15, 63, 37, 0.9) 0%, rgba(15, 63, 37, 0.7) 100%);
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }
}

/* Intro Section (Split Layout) */
.container-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-content {
  padding-right: 2rem;
}

.image-card {
  position: relative;
  border-radius: var(--radius-lg);
}

.rounded-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.floating-quote {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  z-index: 2;
  border-left: 4px solid var(--primary-green);
}

.quote-icon {
  color: var(--accent-green);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.floating-quote p {
  color: var(--text-dark);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1rem;
}

.quote-author {
  display: flex;
  flex-direction: column;
}

.quote-author strong {
  color: var(--dark-green);
  font-size: 0.9rem;
}

.quote-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .container-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .floating-quote {
    bottom: -1.5rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: none;
  }
}