:root {
  --primary: #10b981;
  /* emerald 500 */
  --primary-dark: #059669;
  /* emerald 600 */
  --primary-glow: rgba(16, 185, 129, 0.4);
  --bg-dark: #0f172a;
  /* slate 900 */
  --bg-darker: #020617;
  /* slate 950 */
  --bg-card: rgba(30, 41, 59, 0.6);
  /* slate 800 with opacity */
  --text-main: #f8fafc;
  /* slate 50 */
  --text-muted: #94a3b8;
  /* slate 400 */
  --border-light: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-darker);
}

body {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: 'Outfit', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-gradient {
  background: linear-gradient(135deg, #34d399, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.highlight {
  color: var(--primary);
  font-weight: 300;
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}

.primary-btn {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.large-btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.5rem 0;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.025em;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(2, 6, 23, 0.8) 0%,
      rgba(2, 6, 23, 0.5) 50%,
      rgba(2, 6, 23, 0.95) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.2);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  animation: fadePulse 3s infinite;
}

.scroll-indicator p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-main);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--text-main);
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite;
}

/* Animations */
@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

@keyframes fadePulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.dissolve-in {
  opacity: 0;
  transform: translateY(20px);
  animation: floatUp 1s ease forwards 0.3s;
}

@keyframes floatUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-inline: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.bg-mowing {
  background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('assets/mowing.jpg');
  background-size: cover;
  background-position: center;
}

.bg-mulch {
  background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('assets/mulch.jpg');
  background-size: cover;
  background-position: center;
}

.bg-weed {
  background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('assets/weed.jpg');
  background-size: cover;
  background-position: center;
}

.bg-lights {
  background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('assets/lights.jpg');
  background-size: cover;
  background-position: center;
}

.bg-tree {
  background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('assets/tree.png');
  background-size: cover;
  background-position: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(16, 185, 129, 0.1), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.cta-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.2));
  border-color: rgba(16, 185, 129, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.cta-card h3 {
  font-size: 1.5rem;
}

.card-btn {
  margin-top: 1.5rem;
}

/* Service Showcases */
.bg-alt {
  background-color: rgba(30, 41, 59, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.benefit-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.benefit-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 500;
  font-size: 1.05rem;
}

.benefit-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.rounded-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rounded-img:hover {
  transform: scale(1.03);
}

.shadow-lg {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 993px) {
  .order-1 {
    order: 1;
  }

  .order-2 {
    order: 2;
  }
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-light);
  aspect-ratio: 4/3;
  background: var(--bg-card);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.95), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay h3 {
  transform: translateY(0);
}

.portfolio-overlay p {
  color: var(--primary);
  font-weight: 500;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

/* Before & After */
.comparison-block {
  margin-bottom: 4rem;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-light);
}

.comparison-block:last-of-type {
  margin-bottom: 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comparison-item {
  position: relative;
}

.comparison-item .rounded-img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.badge-before {
  background: rgba(239, 68, 68, 0.9); /* Red hue */
  color: white;
  border: none;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  margin-bottom: 0;
}

.badge-after {
  background: rgba(16, 185, 129, 0.9); /* Green hue */
  color: white;
  border: none;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  margin-bottom: 0;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

details[open] {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

summary {
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact / Lead Gen */
.dual-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.contact-info span {
  color: var(--text-muted);
}

.contact-info a {
  transition: color 0.3s;
}

.contact-info a:hover {
  color: var(--primary);
}

.info-blocks {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.icon-wrapper {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 50%;
  color: var(--primary);
  border: 1px solid var(--border-light);
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

input,
select,
textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

select {
  appearance: none;
  cursor: pointer;
}

option {
  background: var(--bg-dark);
  color: #fff;
}

.submit-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem;
}

/* Footer */
footer {
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 400px;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .dual-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .header-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .section-padding {
    padding: 4rem 0;
  }
}