* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: #142414;
  background: #f7f8f4;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Top Bar */

.top-bar {
  background: #062b16;
  color: white;
  font-size: 16px;
}

.top-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

/* Header */

.header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
}

.nav-links a:hover {
  color: #0a8f3c;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: #09a747;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-btn {
  background: #063f1e;
  color: white;
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}

/* Hero */

.hero {
  min-height: 650px;
  background:
    linear-gradient(rgba(0, 35, 12, 0.72), rgba(0, 35, 12, 0.72)),
    url("https://images.unsplash.com/photo-1558904541-efa843a96f01?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-overlay {
  min-height: 650px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 90px 24px;
  animation: heroFadeUp 0.9s ease forwards;
}

.eyebrow {
  color: #7bc96f;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 10px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 1.05;
  max-width: 760px;
  margin-bottom: 22px;
}

.hero-text {
  max-width: 650px;
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-points {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-weight: bold;
  font-size: 15px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: #09a747;
  color: white;
}

.btn.primary:hover {
  background: #078c3b;
}

.btn.outline {
  border: 1px solid white;
  color: white;
}

.btn.outline:hover {
  background: white;
  color: #063f1e;
}

.btn,
.nav-btn {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* Trust Bar */

.trust-bar {
  background: #063f1e;
  color: white;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-item {
  padding: 28px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.trust-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 14px;
  color: #d8e7d8;
}

/* Sections */
/* About Section */

.about-section {
  background: white;
  padding: 90px 24px;
}

.about-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.about-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
}

.about-content h2 {
  font-family: Georgia, serif;
  color: #063f1e;
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.about-content p {
  color: #3f4a3f;
  margin-bottom: 18px;
  font-size: 17px;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.about-points span {
  background: #eef3eb;
  color: #063f1e;
  padding: 10px 14px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
}

/* About animation */
.about-image,
.about-content {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-image.active,
.about-content.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 850px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 320px;
  }

  .about-content h2 {
    font-size: 32px;
  }
}
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-heading h2,
.area-content h2,
.quote-left h2 {
  font-family: Georgia, serif;
  color: #063f1e;
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 14px;
}

/* Services - 4 cards on top, 3 cards perfectly centered on bottom */

.services-grid {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 22px;
}

.service-card {
  grid-column: span 6;
  background: white;
  padding: 30px 22px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid #eeeeee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Center the bottom row of 3 cards */
.service-card:nth-child(5) {
  grid-column: 4 / span 6;
}

.service-card:nth-child(6) {
  grid-column: 10 / span 6;
}

.service-card:nth-child(7) {
  grid-column: 16 / span 6;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 58px;
  height: 58px;
  background: #063f1e;
  color: white;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.service-card h3 {
  font-family: Georgia, serif;
  color: #063f1e;
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card p {
  font-size: 15px;
  color: #4a4a4a;
}

/* Showcase */

.showcase {
  background: #eef3eb;
  padding: 80px 24px;
}

.showcase-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.showcase-card {
  min-height: 230px;
  padding: 28px;
  color: white;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(rgba(0, 35, 12, 0.2), rgba(0, 35, 12, 0.85)),
    url("https://images.unsplash.com/photo-1622383563227-04401ab4e5ea?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-card:nth-child(2) {
  background:
    linear-gradient(rgba(0, 35, 12, 0.2), rgba(0, 35, 12, 0.85)),
    url("https://images.unsplash.com/photo-1589923188900-85dae523342b?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
}

.showcase-card:nth-child(3) {
  background:
    linear-gradient(rgba(0, 35, 12, 0.2), rgba(0, 35, 12, 0.85)),
    url("https://images.unsplash.com/photo-1598902108854-10e335adac99?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
}

.showcase-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.showcase-card h3 {
  font-family: Georgia, serif;
  font-size: 24px;
  margin-bottom: 8px;
}

/* Service Area */

.area-section {
  background: white;
}

.area-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 45px;
  align-items: center;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.area-list span {
  background: #eef3eb;
  color: #063f1e;
  font-weight: bold;
  padding: 16px;
  border-radius: 4px;
  text-align: center;
}

/* Quote Form */

.quote-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: #052b15;
  color: white;
}

.quote-left {
  padding: 80px 50px;
  background:
    linear-gradient(rgba(0, 35, 12, 0.75), rgba(0, 35, 12, 0.9)),
    url("https://images.unsplash.com/photo-1598902108854-10e335adac99?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
}

.quote-left h2 {
  color: white;
  font-size: 42px;
}

.quote-left p {
  margin-bottom: 24px;
  max-width: 520px;
}

.quote-left ul {
  list-style: none;
}

.quote-left li {
  margin-bottom: 10px;
  font-weight: bold;
}

.quote-right {
  padding: 70px 50px;
}

.quote-right h3 {
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.quote-form {
  width: 100%;
}

.form-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: bold;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px;
  background: #0c3a1f;
  color: white;
  border: 1px solid #1d5a34;
  border-radius: 4px;
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #bfd4c2;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border: 1px solid #09a747;
  box-shadow: 0 0 0 3px rgba(9, 167, 71, 0.2);
  background: #0f4726;
}

.full-width {
  width: 100%;
  font-size: 15px;
}

.hidden {
  display: none;
}

/* Footer */

.footer {
  background: #031f0f;
  color: white;
  padding: 45px 24px 20px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 35px;
}

.footer h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.footer h4 {
  margin-bottom: 12px;
}

.footer a {
  display: block;
  margin-bottom: 8px;
  color: #dcebdd;
}

.footer-bottom {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #1f4a2e;
  font-size: 14px;
  color: #c5d7c7;
}

/* Scroll animations */

.section-heading,
.service-card,
.showcase-card,
.trust-item,
.area-content {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-heading.active,
.service-card.active,
.showcase-card.active,
.trust-item.active,
.area-content.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance animation */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */

@media (max-width: 950px) {
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .nav {
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card,
  .service-card:nth-child(5),
  .service-card:nth-child(6),
  .service-card:nth-child(7) {
    grid-column: auto;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .area-content {
    grid-template-columns: 1fr;
  }

  .quote-section {
    grid-template-columns: 1fr;
  }

  .form-two {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Phone */

@media (max-width: 600px) {
  .hero {
    min-height: 560px;
  }

  .hero-overlay {
    min-height: 560px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 17px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .quote-left,
  .quote-right {
    padding: 50px 24px;
  }
}
/* Before and After Section */

.before-after-section {
  background: #eef3eb;
  padding: 80px 24px;
}

.before-after-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.compare-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.compare-slider {
  position: relative;
  width: 100%;
  height: 330px;
  overflow: hidden;
  background: #ddd;
}

.compare-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

.before-img {
  position: absolute;
  inset: 0;
}

.after-wrapper {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.after-img {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 100%;
}

.slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: white;
  z-index: 3;
  transform: translateX(-50%);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  background: white;
  color: #063f1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  font-weight: bold;
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.label {
  position: absolute;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  font-size: 14px;
  font-weight: bold;
  z-index: 4;
}

.before-label {
  left: 14px;
}

.after-label {
  right: 14px;
}

/* Make before/after section animate too */
.compare-card {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.25s ease;
}

.compare-card.active {
  opacity: 1;
  transform: translateY(0);
}

.compare-card:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

@media (max-width: 850px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .compare-slider {
    height: 280px;
  }
}
/* Gallery Page */

.gallery-hero {
  background:
    linear-gradient(rgba(0, 35, 12, 0.75), rgba(0, 35, 12, 0.75)),
    url("images/LawnStripes.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 24px;
  text-align: center;
}

.gallery-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.gallery-hero h1 {
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.gallery-hero p {
  font-size: 19px;
}

.gallery-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  background: #ddd;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

.gallery-cta {
  margin-top: 60px;
  background: #063f1e;
  color: white;
  text-align: center;
  padding: 45px 24px;
  border-radius: 8px;
}

.gallery-cta h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  margin-bottom: 10px;
}

.gallery-cta p {
  margin-bottom: 22px;
}

/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: white;
  font-size: 45px;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close:hover {
  color: #7bc96f;
}

@media (max-width: 950px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 240px;
  }

  .gallery-hero {
    padding: 90px 24px;
  }

  .gallery-hero h1 {
    font-size: 34px;
  }
}