/********** Style CSS **********/
:root {
  --primary: #2f8f46;
  --primary-dark: #1f6f37;
  --accent: #f2b84b;
  --cream: #f7f2e8;
  --soft: #edf5e9;
  --light: #f8fbf5;
  --dark: #12351f;
  --body: #4f5f52;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  padding-top: 74px;
}

body {
  font-family: "Heebo", sans-serif;
  color: var(--body);
  background: var(--cream);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand h1 {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.bg-cream {
  background: var(--cream);
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn {
  font-weight: 700;
  transition: 0.35s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
}

.btn-outline-light:hover {
  color: var(--primary);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 35px;
  bottom: 35px;
  z-index: 99;
  box-shadow: 0 16px 35px rgba(18, 53, 31, 0.25);
}

.my-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.content-shell {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
}

/*** Navbar ***/
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.main-navbar,
.navbar.main-navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;

  background: #ffffff;
  border-bottom: 1px solid rgba(18, 53, 31, 0.08);
  box-shadow: 0 8px 24px rgba(18, 53, 31, 0.08);

  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.main-navbar .navbar-brand h1,
.navbar.main-navbar .navbar-brand h1 {
  color: var(--primary);
  font-size: clamp(1.5rem, 2vw, 2.25rem);
}

.main-navbar .navbar-nav .nav-link,
.navbar.main-navbar .navbar-nav .nav-link {
  position: relative;
  margin-left: 25px;
  padding: 20px 0;
  color: var(--dark);
  font-weight: 700;
  outline: none;
  transition: color 0.2s ease;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active,
.navbar.main-navbar .navbar-nav .nav-link:hover,
.navbar.main-navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.main-navbar .navbar-nav .nav-link::before,
.navbar.main-navbar .navbar-nav .nav-link::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  bottom: 8px;
  left: 0;
  background: var(--primary);
  opacity: 0;
  transition:
    opacity 0.2s ease,
    bottom 0.2s ease;
}

.main-navbar .navbar-nav .nav-link:hover::before,
.main-navbar .navbar-nav .nav-link.active::before,
.navbar.main-navbar .navbar-nav .nav-link:hover::before,
.navbar.main-navbar .navbar-nav .nav-link.active::before {
  bottom: 0;
  opacity: 1;
}

.main-navbar .navbar-toggler,
.navbar.main-navbar .navbar-toggler {
  border-color: rgba(47, 143, 70, 0.22);
  color: var(--primary);
  padding: 0.75rem 0.9rem;
}

.main-navbar .navbar-toggler:focus,
.navbar.main-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(47, 143, 70, 0.18);
}

.main-navbar .navbar-collapse,
.navbar.main-navbar .navbar-collapse {
  background: transparent;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 82px;
  }

  .main-navbar,
  .navbar.main-navbar {
    min-height: 82px;
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }

  .main-navbar .navbar-brand h1,
  .navbar.main-navbar .navbar-brand h1 {
    font-size: 1.45rem;
  }

  .main-navbar .navbar-collapse,
  .navbar.main-navbar .navbar-collapse {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(18, 53, 31, 0.12);
    background: rgba(255, 255, 255, 0.98);
  }

  .main-navbar .navbar-nav .nav-link,
  .navbar.main-navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
    color: var(--dark);
  }

  .main-navbar .navbar-nav .nav-link::before,
  .navbar.main-navbar .navbar-nav .nav-link::before {
    display: none;
  }

  .main-navbar .btn,
  .navbar.main-navbar .btn {
    width: auto;
    margin-top: 0.75rem;
  }
}

/*** Hero ***/
.hero-header {
  margin-bottom: 0;
}

.yard-hero {
  position: relative;
  padding: 8rem 0 7.5rem;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(242, 184, 75, 0.28),
      transparent 24%
    ),
    linear-gradient(
      120deg,
      rgba(18, 53, 31, 0.96) 0%,
      rgba(47, 143, 70, 0.82) 100%
    );
}

.yard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18, 53, 31, 0.85), rgba(18, 53, 31, 0.28)),
    repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.035) 0 2px,
      transparent 2px 28px
    );
  pointer-events: none;
}

.yard-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -110px;
  height: 220px;
  background: var(--cream);
  border-radius: 50% 50% 0 0;
  transform: rotate(-2deg);
}

.yard-hero .content-shell {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.yard-hero h1 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
}

.hero-copy {
  max-width: 740px;
  font-size: 1.15rem;
  line-height: 1.75;
  opacity: 0.92;
}

.hero-metrics h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.hero-metrics p {
  opacity: 0.82;
}

.estimate-panel {
  padding: 2.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.estimate-panel h4 {
  font-size: 1.6rem;
}

.estimate-option {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(18, 53, 31, 0.1);
  color: var(--dark);
  font-weight: 700;
}

.section-cream {
  background: var(--cream);
}

.section-label {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.yard-photo-card {
  position: relative;
  min-height: 460px;
  border-radius: 36px;
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(18, 53, 31, 0.12);
  overflow: hidden;
}

.sun {
  position: absolute;
  top: 44px;
  right: 56px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 18px rgba(242, 184, 75, 0.18);
}

.grass-lines {
  position: absolute;
  left: 50px;
  right: 50px;
  bottom: 70px;
  display: grid;
  gap: 14px;
}

.grass-lines span {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.yard-photo-badge {
  position: absolute;
  left: 2.5rem;
  right: 2.5rem;
  bottom: 2.5rem;
  display: grid;
  gap: 0.25rem;
  padding: 1.3rem;
  border-radius: 20px;
  color: #ffffff;
  background: rgba(18, 53, 31, 0.88);
  backdrop-filter: blur(8px);
}

.feature-card,
.audience-card,
.benefit-card,
.contact-card,
.project-card,
.testimonial-item {
  height: 100%;
  border-radius: 22px;
}

.feature-card {
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(18, 53, 31, 0.08);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #ffffff;
  background: var(--primary);
}

.service-band {
  background: #e7f1df;
}

.audience-card {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(47, 143, 70, 0.18);
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-weight: 800;
  color: var(--dark);
  box-shadow: 0 12px 35px rgba(18, 53, 31, 0.06);
}

/*** Service ***/
.service-item {
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(18, 53, 31, 0.08);
  border: 1px solid rgba(18, 53, 31, 0.06);
  transition: 0.35s;
}

.service-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(18, 53, 31, 0.12);
  border-color: rgba(47, 143, 70, 0.28);
}

.service-item .service-icon {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 18px;
  transition: 0.35s;
}

.service-item:hover .service-icon {
  background: var(--accent);
  color: var(--dark);
}

.work-section,
.bg-dark {
  background: #12351f !important;
}

.project-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-visual {
  height: 230px;
  position: relative;
  overflow: hidden;
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.project-visual-1 {
  background: linear-gradient(135deg, #7ac45e 0%, #2f8f46 55%, #12351f 100%);
}

.project-visual-1::after {
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.15) 0 2px,
    transparent 2px 22px
  );
  transform: skewY(-8deg);
}

.project-visual-2 {
  background:
    radial-gradient(
      circle at 65% 32%,
      rgba(242, 184, 75, 0.75),
      transparent 12%
    ),
    linear-gradient(135deg, #7b5b35 0%, #3d7d3d 100%);
}

.project-visual-2::after {
  left: 12%;
  right: 12%;
  top: 55%;
  bottom: 18%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.project-visual-3 {
  background:
    linear-gradient(135deg, rgba(18, 53, 31, 0.2), rgba(18, 53, 31, 0.85)),
    repeating-linear-gradient(135deg, #416c32 0 18px, #284d24 18px 36px);
}

.project-card:hover .project-visual {
  filter: saturate(1.08);
}

.benefit-card {
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid rgba(18, 53, 31, 0.07);
  box-shadow: 0 18px 45px rgba(18, 53, 31, 0.07);
}

.benefit-card h5 {
  margin-bottom: 0.75rem;
}

.reviews-section {
  background: #f5f8f1;
}

.testimonial-item {
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(18, 53, 31, 0.08);
  border: 1px solid rgba(18, 53, 31, 0.06);
}

.cta-section {
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(242, 184, 75, 0.18),
      transparent 22%
    ),
    linear-gradient(180deg, #f8fbf5 0%, #e7f1df 100%);
}

.contact-card {
  padding: 2rem;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(18, 53, 31, 0.12);
}

.contact-line {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--dark);
  font-weight: 700;
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/*** Responsive ***/
@media (max-width: 991.98px) {
  .yard-hero {
    padding: 5rem 0 5rem;
  }

  .content-shell {
    width: min(100% - 1.5rem, 1280px);
  }

  .estimate-panel {
    padding: 2rem;
  }

  .yard-photo-card,
  .yard-photo-main {
    min-height: 340px;
  }

  .py-6 {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

.yard-photo-main {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: #dfead8;
}

.yard-photo-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 1;
}

.yard-photo-main::before,
.yard-photo-main::after,
.sun {
  display: none;
}

.yard-photo-badge {
  z-index: 2;
}

@media (max-width: 767.98px) {
  .yard-hero h1 {
    font-size: clamp(2.4rem, 13vw, 3.7rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .estimate-panel,
  .contact-card {
    padding: 1.5rem;
  }

  .yard-photo-badge {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .btn {
    width: 100%;
  }

  .navbar .btn {
    width: auto;
  }
}

/* generated final about image fix */

/*** Real Photo About Card Fix ***/
.yard-photo-card {
  position: relative;
  min-height: 460px;
  border-radius: 36px;
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(18, 53, 31, 0.12);
  overflow: hidden;
}

.yard-photo-main {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: #dfead8;
}

.yard-photo-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 1;
}

.yard-photo-main::before,
.yard-photo-main::after,
.sun,
.grass-lines {
  display: none !important;
}

.yard-photo-badge {
  z-index: 2;
}

@media (max-width: 991.98px) {
  .yard-photo-card {
    min-height: 360px;
  }

  .yard-photo-main {
    min-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .yard-photo-card {
    min-height: 300px;
    padding: 0.8rem;
    border-radius: 26px;
  }

  .yard-photo-main {
    min-height: 280px;
    border-radius: 20px;
  }

  .yard-photo-badge {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    padding: 1rem;
  }
}

/*** Project Card Real Image Fixes ***/
.project-card {
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

.project-card-img {
  width: 100%;
  height: 245px;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.project-card:hover .project-card-img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.project-card-img-mower {
  object-position: center center;
}

.project-card-img-mulch {
  object-position: center center;
}

.project-card-img-hedge {
  object-position: center center;
}

.project-card .p-4 {
  min-height: 165px;
}

@media (max-width: 991.98px) {
  .project-card-img {
    height: 230px;
  }
}

@media (max-width: 767.98px) {
  .project-card-img {
    height: 220px;
  }
}

/* Hide scroll-to-top button for portfolio demo review */
.back-to-top {
  display: none !important;
}
