/* -------------------------
   GLOBAL & RESET
------------------------- */

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.5;
}

.wrap {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* -------------------------
   UTILITY CLASSES
------------------------- */

.muted {
  color: #64748b;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* BUTTONS REMAIN ORANGE - NOT CHANGED */
.btn--quote {
  background: #f97316;
  color: white;
}

.btn--quote:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.btn--ghost {
  background: transparent;
  border: 2px solid #f97316;
  color: #f97316;
}

.btn--ghost:hover {
  background: #f97316;
  color: white;
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

/* -------------------------
   SKIP LINK
------------------------- */

.skip {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0f172a;
  color: white;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
}

.skip:focus {
  top: 0;
}

/* -------------------------
   HEADER
------------------------- */

.sitehdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}

.sitehdr.is-solid {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.sitehdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

/* Navigation - Updated to Derby green */
.nav {
  display: flex;
  gap: 2rem;
}

.nav__link {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__link:hover {
  color: #007336;
}

.nav__link[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

/* Header CTA */
.hdrcta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: 1.1rem;
}

.phone:hover {
  color: #007336;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f172a;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Menu - Updated to Derby green */
.mobile {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #e2e8f0;
  z-index: 49;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mitem {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  display: block;
}

.mitem:hover {
  color: #007336;
}

.mitem[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.mobile__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

/* -------------------------
   HERO SECTION
------------------------- */

.hero {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero--home {
  min-height: 600px;
}

.hero--service {
  height: 400px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero__bg::after {
  display: none;
}

.hero__shade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 115, 54, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  padding: 2rem;
}

.hero__h {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero__sub {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__actions {
  margin-top: 2rem;
}

/* Chat button - Updated to Derby green */
.chat {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  background: #007336;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 115, 54, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.chat:hover {
  transform: scale(1.1);
  background: #005a2b;
}

.chat__bubble {
  font-size: 2rem;
}

/* -------------------------
   SECTION BACKGROUNDS
------------------------- */

.sec {
  padding: 80px 0;
}

/* Alternating gradients with Derby green */
.sec:nth-child(odd) {
  background: linear-gradient(135deg, rgba(0, 115, 54, 0.08) 0%, rgba(0, 115, 54, 0.15) 100%);
}

.sec:nth-child(even) {
  background: linear-gradient(135deg, rgba(0, 115, 54, 0.12) 0%, rgba(0, 115, 54, 0.22) 100%);
}

/* Remove any overlay patterns */
.sec::before {
  display: none;
}
/* Section titles - two-tone design */
.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.5rem;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.section-title .main-word {
  color: #0f172a;
  display: block;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.section-title .highlight {
  color: #007336;
  font-size: 3.2rem;
  font-weight: 800;
  text-transform: uppercase;
  display: block;
  letter-spacing: -1px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30%;
  right: 30%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #007336, #00a84a, #007336, transparent);
}
/* -------------------------
   ABOUT SECTION
------------------------- */

.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,.15);
  display: block;
}

.about-citation {
  margin-top: 16px;
  font-size: 14px;
  color: #475569;
  border-left: 4px solid #007336;
  padding-left: 14px;
  line-height: 1.5;
  background: white;
  padding: 1rem;
  border-radius: 0 8px 8px 0;
}

.about-right h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0f172a;
}

.about-right p {
  margin-bottom: 16px;
  color: #334155;
  font-size: 1.1rem;
}
/* About section stats with Derby green */
#about .stat-number {
  color: #007336 !important;
}

#about .about-citation {
  border-left-color: #007336 !important;
}

#about div[style*="border-left: 4px solid #f97316"] {
  border-left-color: #007336 !important;
}

/* -------------------------
   SERVICES SECTION
------------------------- */

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #0f172a;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

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

.category-title-wrapper {
  margin: 2rem 0 1.5rem 0;
}

.category-title {
  font-size: 1.5rem;
  color: #0f172a;
  border-bottom: 3px solid #007336;
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Service cards with background images AND 4px transparent green border */
.service-card.lawn-treatments {
  background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.70)), url('./assets/treat.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 2px solid rgba(0, 115, 54, 0.3) !important;
}

.service-card.irrigation {
  background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.70)), url('./assets/irr.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 2px solid rgba(0, 115, 54, 0.3) !important;
}

.service-card.mowing {
  background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.70)), url('./assets/mow.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 2px solid rgba(0, 115, 54, 0.3) !important;
}

.service-card.landscaping {
  background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.70)), url('./assets/landscape.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 2px solid rgba(0, 115, 54, 0.3) !important;
}

.service-card.construction {
  background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.70)), url('./assets/construct.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 2px solid rgba(0, 115, 54, 0.3) !important;
}

.service-card.aeration {
  background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.70)), url('./assets/aerate.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 2px solid rgba(0, 115, 54, 0.3) !important;
}

/* Base service card styles */
.service-card {
  padding: 2.5rem 1.5rem !important;
  border-radius: 18px !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  box-shadow: 0 20px 50px rgba(15,23,42,.08) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
  text-decoration: none !important;
  color: #0f172a !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

.service-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 28px 70px rgba(15,23,42,.12) !important;
  border-color: #007336 !important;
}

/* Icon styling - keeping orange background for contrast */
.service-card .service-icon {
  background: rgba(0, 115, 54, 0.1) !important;  /* Changed to green */
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1rem auto !important;
  transition: all 0.3s ease !important;
  font-size: 2rem !important;
}

.service-card:hover .service-icon {
  background: rgba(0, 115, 54, 0.2) !important;  /* Changed to green */
  transform: scale(1.1) !important;
}

/* Card headings - green with white outline */
.service-card h3 {
  color: #007336 !important;
  margin-bottom: 0.5rem !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  text-shadow: 
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white !important;  /* White outline effect */
}

/* Card subheadings/paragraphs - dark gray with white outline */
.service-card p {
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  color: #1e293b !important;  /* Darker for better contrast */
  text-shadow: 
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white !important;  /* White outline effect */
  line-height: 1.5 !important;
}

/* Learn more text - green with white outline */
.service-card .learn-more {
  margin-top: 1.5rem !important;
  font-size: 0.9rem !important;
  color: #007336 !important;
  font-weight: 600 !important;
  text-shadow: 
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white !important;  /* White outline effect */
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.service-card:hover .learn-more {
  opacity: 1 !important;
}

/* Icon styling - green background */
.service-card .service-icon {
  background: rgba(0, 115, 54, 0.15) !important;  /* Slightly more visible */
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1rem auto !important;
  transition: all 0.3s ease !important;
  font-size: 2rem !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important; /* Subtle shadow */
}

.service-card:hover .service-icon {
  background: rgba(0, 115, 54, 0.25) !important;
  transform: scale(1.1) !important;
}
/* Learn more text - changed to green */
.service-card .learn-more {
  margin-top: 1.5rem !important;
  font-size: 0.9rem !important;
  color: #007336 !important;  /* Changed from #f97316 to #007336 */
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.service-card:hover .learn-more {
  opacity: 1 !important;
}

/* Paragraph text stays gray */
.service-card p {
  font-weight: normal !important;
  font-size: 1.5rem !important;
  color: #64748b !important;
}
/* -------------------------
   BENEFITS GRID - Updated to Derby green
------------------------- */

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

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: #007336;
}

.benefit-card h4 {
  color: #007336;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

/* -------------------------
   STATS GRID - Updated to Derby green
------------------------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.stat-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007336;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #334155;
  font-weight: 500;
}

/* -------------------------
   REVIEWS GRID - Updated to Derby green
------------------------- */

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

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s ease;
}

.review-card:hover {
  border-color: #007336;
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.review-card p {
  font-style: italic;
  color: #334155;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.reviewer {
  color: #64748b;
  font-weight: 500;
}

/* -------------------------
   QUOTE SECTION - Form inputs focus to Derby green
------------------------- */

.form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form label {
  display: block;
  margin-bottom: 1.5rem;
}

.form label:last-of-type {
  margin-bottom: 2rem;
}

.form label span {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #334155;
  font-size: 0.95rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #007336;
  box-shadow: 0 0 0 3px rgba(0, 115, 54, 0.1);
}

.form input::placeholder,
.form textarea::placeholder {
  color: #94a3b8;
}

.toast {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0fdf4;
  color: #166534;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  border: 1px solid #86efac;
}

/* -------------------------
   FOOTER
------------------------- */

.ftr {
  padding: 40px 0;
  background: #0f172a;
  color: white;
}

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

.ftr .muted {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 800px) {
  .nav {
    display: none;
  }

  .hdrcta .phone,
  .hdrcta .btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .ftr__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero__h {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .hero__sub {
    font-size: clamp(1rem, 3vw, 1.25rem);
  }

  .form {
    padding: 1.5rem;
  }
  
  .benefits-grid,
  .stats-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

  .about-section,
  .services-section,
  .sec {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .about-right h2 {
    font-size: 28px;
  }

  .chat {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }

  .chat__bubble {
    font-size: 1.5rem;
  }
}

/* Image handling */
img {
  max-width: 100%;
  height: auto;
  display: block;
}