/* Base & Color Scheme */
:root {
  --primary: #009dff;
  --secondary: #def3ff;
  --text-main: #059eff;
  --text-secondary: #000000;
  --gray-bg: #f5f5f5;
  --gray-border: #dcdcdc;
  --bg: #ffffff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body.site {
  margin: 0;
  font-family:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  color: var(--text-secondary);
  background: var(--bg);
}
.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}
.top-bar {
  background-color: #34495e;
  border-bottom: 1px solid var(--gray-border);
  padding: 10px 0;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-toggle {
  display: none;
}
.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
}
.phone-icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
}
.phone-label {
  color: #ffffff;
}
.phone-number {
  color: #ffffff;
}
.top-bar__socials {
  display: flex;
  align-items: center;
}
.social-label {
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 14px;
  margin-right: 12px;
}
.top-bar__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 0 12px;
  height: 20px;
  /* border-left: 1px solid var(--gray-border); */
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}
.top-bar__socials a:last-child {
  /* border-right: 1px solid var(--gray-border); */
}
.top-bar__socials a:hover {
  /* color: #009dff; */
  transform: translateY(-2px);
}
.top-bar__socials svg {
  width: 26px;
  height: 26px;
}
.site-header {
  display: contents;
}
.main-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.main-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  display: block;
  padding: 15px 0;
}
.site-logo img {
  height: 50px;
}
.main-nav__menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  font-size: 16px;
  /* font-weight: 700; */
}
.main-nav__menu > li > a {
  display: flex;
  align-items: center;
  padding: 30px 20px;
  border-bottom: 2px solid #ffffff;
  color: var(--text-secondary);
}
.arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-bottom: 3px;
}
.main-nav__menu > li:hover > a,
.main-nav__menu > li.active > a {
  /* background-color: #009dff; */
  border-bottom: 2px solid #86c150;
  color: #000000;
}
.has-dropdown {
  position: relative;
}
.dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
  -webkit-transform: perspective(600px) rotateX(-90deg);
  transform: perspective(600px) rotateX(-90deg);
  -webkit-transform-origin: 0 0 0;
  transform-origin: 0 0 0;
  vertical-align: top;
  visibility: hidden;
}
.has-dropdown:hover .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 12px 20px;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-border);
}
.dropdown li:last-child a {
  border-bottom: none;
}
.dropdown li a:hover {
  /* background-color: var(--secondary); */
  color: #86c150;
}
/* Prevent hover from auto-opening the Services dropdown so click-state is visible */
#services-dropdown-item:hover .dropdown {
  visibility: hidden;
  opacity: 0;
  transform: perspective(600px) rotateX(-90deg);
}

/* Force-open state driven by JS click */
#services-dropdown-item.force-open .dropdown {
  visibility: visible;
  opacity: 1;
  transform: none;
  -webkit-transform: none;
}

/* ========================================= FOOTER STYLES ========================================= */
.site-footer {
  background-color: #86c150;
  color: #ffffff;
  /* padding-top: 60px; */
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-heading {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: 0.3px;
}
.footer-heading .fh-strong {
  font-weight: 700;
  color: #ffffff;
}
.footer-heading .fh-light {
  font-weight: 400;
  color: #1d3557;
}
.footer-heading__rule {
  display: block;
  width: 90px;
  height: 3px;
  margin-bottom: 22px;
  background: linear-gradient(to right, #ffffff 0 55%, #1d3557 55% 100%);
}
.footer-desc {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 380px;
  text-align: left;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact-list li {
  display: flex;
  /* align-items: center; */
  gap: 10px;
  margin-bottom: 16px;
  font-size: 18px;
  color: #ffffff;
}
.footer-contact-list svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  flex-shrink: 0;
}
.footer-contact-list a {
  color: #ffffff;
}
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.footer-social-row a:hover {
  color: #34495E;
  transform: translateY(-2px);
  /* opacity: 0.8; */
}
.footer-social-row svg {
  width: 22px;
  height: 22px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 14px;
}
.footer-links a {
  font-size: 17px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
}
.footer-links a:hover {
  color: #34495E;
}
.link-arrow {
  color: #ffffff;
  font-weight: 700;
}
.footer-bottom {
  background-color: #3b6713;
  color: #ffffff;
  padding: 22px 0;
  font-size: 18px;
}
.footer-bottom__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #3b6713;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top svg {
  width: 24px;
  height: 24px;
}
.scroll-to-top:hover {
  transform: translateY(-3px);
}
@media (max-width: 991px) {
  .top-bar__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 4px 10px;
    align-items: center;
  }
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: #4a4a4a;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    grid-column: 1;
    grid-row: 1 / span 2;
    /* position: fixed; */
    position: absolute;
    z-index: 1001;
    top: 22px;
    left: 10px;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
  }
  .top-bar__phone {
    display: none !important;
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    font-size: 14px;
  }
  .top-bar__socials {
    grid-column: 2;
    grid-row: 2;
    justify-content: center;
    /* border-top: 1px solid var(--gray-border); */
    padding-top: 10px;
  }
  .top-bar__socials a {
    border-left: none;
  }
  .top-bar__socials a:last-child {
    border-right: none;
  }
  .main-header__inner {
    flex-direction: column;
  }
  .site-logo {
    padding: 20px 0;
    text-align: center;
  }
  .site-logo img {
    margin: 0 auto;
  }
  .main-nav {
    width: 100%;
    display: none;
    border-top: 1px solid var(--gray-border);
  }
  .main-nav.nav-open {
    display: block;
  }
  .main-nav__menu {
    flex-direction: column;
  } /* .main-nav__menu > li > a { padding: 15px 20px; border-bottom: 1px solid var(--gray-border); } */
  .dropdown {
    position: static;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    display: none;
    background: var(--gray-bg);
  }
  .has-dropdown:hover .dropdown {
    display: block;
  }
  .dropdown li a {
    padding-left: 40px;
  }
  .footer-cta__inner {
    flex-direction: column;
    text-align: center;
    padding-left: 0;
  }
  .footer-cta__text {
    padding: 20px 15px;
  }
  .footer-cta__button-wrapper {
    width: 100%;
    clip-path: none;
    padding: 20px;
    text-align: center;
  }
  /* .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  } */
  .footer-contact-list li {
    justify-content: center;
  }
  .footer-social-boxes {
    align-items: center;
  }
  .footer-bottom__inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: left;
  }
  .footer-contact-list li {
    justify-content: center;
  }
  .footer-social-row {
    justify-content: center;
  }
  .footer-heading__rule {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-links a {
    justify-content: center;
  }
}
@media (max-width: 1024px) {
  .main-nav__menu > li > a {
    padding: 20px 10px !important;
  }
}

/* ========================================= FOOTER STYLES ========================================= */
.site-footer {
  background-color: #86c150;
  color: #ffffff;
  position: relative;
}

.footer-main {
  padding: 50px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* About Column */
.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 70px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 320px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  color: #86c150;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.footer-social-row a:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
}

.footer-social-row a svg {
  width: 18px;
  height: 18px;
}

/* Column Headings */
.footer-heading {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}

/* Links Lists */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  display: inline-block;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-links a:hover {
  color: #34495E;
  transform: translateX(4px);
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  font-size: 15px;
}

.contact-label {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.contact-value {
  color: rgba(255, 255, 255, 0.95);
}

.footer-contact-list a.contact-value {
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.2s ease;
}

.footer-contact-list a.contact-value:hover {
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  background-color: #e86c2f;
  color: #ffffff;
  padding: 18px 0;
  font-size: 14px;
}

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

.copyright {
  color: #ffffff;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.footer-bottom-links a:hover {
  opacity: 0.8;
}

.sep {
  color: rgba(255, 255, 255, 0.7);
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 40px;
  background-color: #449a16;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
}

/* ========================================= RESPONSIVE ========================================= */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 30px;
  }

  .footer-bottom__inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-social-row {
    justify-content: center;
  }

  .footer-links a:hover {
    transform: none;
  }

  .footer-contact-list li {
    align-items: left;
  }
}
