* {
  font-family: "Lato", sans-serif;
}

.font-display {
  font-family: "Lato", sans-serif;
}

.hero-bg {
  background:
    linear-gradient(rgba(18, 28, 14, 0.72), rgba(18, 28, 14, 0.6)),
    url("../../assets/Images/homePageImages/Hero.jpg") center/cover no-repeat;
  min-height: 500px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #9cbb8a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-vline {
  width: 2px;
  background: #9cbb8a;
  flex: 1;
  min-height: 200px;
  margin-block: 15px;
}

.tag-label {
  font-size: 18px;
  /* letter-spacing: 0.13em; */
  color: #47752C;
  font-weight: 400;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.tag-row::after {
  content: "";
  display: block;
  width: 136.5px;
  height: 1px;
  background: #4CAE13;
  opacity: 0.55;
}

.step-border {
  border-left: 2px solid #c8dbbf;
  padding-left: 16px;
}

.reminder-box {
  background: linear-gradient(135deg, #eaf2e3 50%, #d6eac4 100%);
  border-radius: 14px;
  overflow: hidden;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  border: 1px solid #e2eeda;
  min-width: 248px;
  z-index: 300;
  padding: 8px 0;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: #2d4a28;
  text-decoration: none;
  transition: background 0.15s;
}

.dropdown-item:hover,
.dropdown-item.active-link {
  background: #eaf2e3;
  color: #4a7c40;
  font-weight: 500;
}

header a.nav-active:not(.dropdown-item),
header button.nav-active {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

#mobileMenu a.nav-active:not(.dropdown-item),
#mobileMenu button.nav-active {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  box-shadow: none !important;
}

#mobileServicesLinks a.nav-active {
  background: rgba(111, 182, 70, 0.18) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

footer p,
footer a,
footer span,
footer .border-t {
  font-size: 16px !important;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
}

.chip {
  border: 1.5px solid #c8dbbf;
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 12.5px;
  cursor: pointer;
  color: #2d4a28;
  white-space: nowrap;
  transition: all 0.18s;
  background: #fff;
}

.chip:hover,
.chip.active {
  background: #cae1bc;
  color: #000000;
  border-color: #4a7c00;
}

.input-field {
  border: 1.5px solid #d4e8c4;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  background: #fff;
  width: 100%;
  outline: none;
  transition: border 0.2s;
}

.input-field:focus {
  border-color: #4a7c40;
}

textarea.input-field {
  resize: none;
}

.book-btn {
  background: #6fb646;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.book-btn:hover {
  /* background: #2d4a28; */
  background: #76b438;
}

.service-main {
  margin: 0 auto;
  padding: 52px 68px 60px;
  background: #fffcf3;
}

.service-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4a7c40;
  font-size: 32px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 36px;
}

.service-back-link svg {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}


.service-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.service-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 34px;
  margin-top: 30px;
}

.service-step-content {
  padding-bottom: 40px;
  min-width: 0;
}

.service-step-content-last {
  padding-bottom: 0;
}

.service-step-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a2a18;
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-step-copy {
  color: #000000;
  font-size: 18px;
  line-height: 1.75;
}

.service-book-actions {
  margin-top: 40px;
}

.blog-title h1{
  color: #47752c;
  font-size: 24px;
  font-weight: 700;
  margin-top: 24px;
}

.blog-title h2{
  font-size: 17px;
  font-weight: 700;
  margin-top: 24px;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 36px;
}

.blog-back-link svg {
  width: 22px;
  height: 18px;
  color: #6bb646;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .service-main {
    padding: 36px 18px 44px;
  }

  .service-back-link {
    align-items: flex-start;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 30px;
  }

  .service-back-link svg {
    width: 26px;
    height: 26px;
    margin-top: 1px;
  }

  .service-step {
    gap: 12px;
  }

  .service-step-marker {
    min-width: 28px;
  }

  .step-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .service-step-content {
    padding-bottom: 30px;
  }

  .service-step-title {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .service-step-copy {
    font-size: 13px;
    line-height: 1.65;
  }


  .blog-back-link {
    align-items: flex-start;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 30px;
  }

  .blog-back-link svg {
    width: 26px;
    height: 26px;
    margin-top: 1px;
  }

  .step-border {
    padding-left: 12px;
  }

  .tag-row {
    gap: 8px;
    flex-wrap: wrap;
  }

  .tag-row::after {
    width: 38px;
  }

  .service-book-actions {
    margin-top: 28px;
  }

  .service-book-actions .book-btn {
    width: 59%;
    justify-content: center;
    margin-inline: 65px;
  }
}

/* Header Scroll Transitions and Styles */
header nav > div {
  transition: all 0.3s ease-in-out;
}

header nav > div > div {
  transition: all 0.3s ease-in-out;
}

header.scrolled nav > div {
  background-color: rgba(
    28,
    34,
    24,
    0.92
  ) !important; /* Premium dark forest green matching branding */
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
  padding-top: 0.45rem !important; /* Slightly shrunken py-3 padding for scrolled layout */
  padding-bottom: 0.45rem !important;
  backdrop-filter: blur(20px) !important;
}

header.scrolled nav > div > div {
  background-color: transparent !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

header.scrolled nav img {
  width: 60px !important;
  transform: scale(0.92);
}

/* Mobile Menu Hamburger Animation */
#mobileMenuBtn span {
  transition: all 0.3s ease-in-out;
}

#mobileMenuBtn.open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

#mobileMenuBtn.open span:nth-child(2) {
  opacity: 0;
}

#mobileMenuBtn.open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

#mobileMenu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  transform-origin: top center;
  animation: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  opacity: 0;
  transform: scaleY(0.95) translateY(-8px);
  pointer-events: none;
}

#mobileMenu.menu-open {
  display: flex;
  opacity: 1;
  transform: scaleY(1) translateY(0);
  pointer-events: auto;
  animation: menuFadeIn 0.25s ease forwards;
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: scaleY(0.95) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scaleY(1) translateY(0);
  }
}
