@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

:root {
  --primary-color: #009a4e;
  --secondary-color: #25ff56;
  --tertiary-color: #ffffff;
  --quaternary-color: #248917;
  --primary-text-color: #494949;
  --secondary-text-color: #747474;
  --tertiary-text-color: #5e5e5e;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  font-family: "Outfit", serif;
  padding-top: 90px;
  overflow: hidden !important;
}

.navbar-container {
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.12);
  position: fixed !important;
  width: 100% !important;
  top: 0;
  background: #fff;
  z-index: 1000;
  min-height: 98.5px;
  position: relative;
}

.navbar-nav {
  width: 100%;
  gap: 0px 35px;
}
.navbar-menu {
  list-style-type: none;
  height: 100%;
  margin: 0;
  padding: 0;
}
.navbar-menu li {
  padding: 38px 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  color: #616161;
}
.navbar-menu li:hover,
.navbar-menu li a:hover {
  color: #108100 !important;
}

.enquiry-button {
  padding: 9px 23px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  line-height: 27px;
  border: 2px solid #108100;
  background-color: #108100;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.enquiry-button i {
  font-size: 16px;
  color: #fff;
}
.enquiry-button:hover {
  color: #108100;
  border: 2px solid #108100;
}
.enquiry-button:hover i {
  color: #108100;
}

.arrow-img {
  transition: transform 0.4s ease;
  transform-origin: center;
}

.custom-dropdown.open .arrow-img {
  transform: rotate(180deg);
}

.custom-menu {
  width: 100vw;
  background: #fff;
  position: absolute;
  top: 100%;
  left: -390px;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  border-radius: 0;
}

.custom-dropdown.open .custom-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.mega-left ul {
  list-style: none;
  padding: 10px 10px 0 10px;
  margin: 0;
}
.mega-left {
  border-right: 2px solid #e7e7e7;
}

.mega-left ul li {
  padding: 18px 10px;
  border-bottom: 1px solid #e7e7e7;
  cursor: pointer;
  color: #616161;
  font-size: 15px;
}

.mega-left ul li:hover {
  background: #108100;
  color: #fff !important;
}
.mega-left ul li:last-child {
  border-bottom: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px;
}
.future-product-grid {
  grid-template-columns: repeat(1, 1fr);
}
.hamburger {
  cursor: pointer;
  font-size: 32px;
  font-weight: 1000;
}

.product-grid .item {
  text-align: center;
}

.product-grid img {
  width: 100%;
  border-radius: 10px;
}

.product-grid img:hover {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.product-grid p {
  margin-top: 5px;
  font-size: 14px;
  color: #333;
}
.category {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.category.show {
  display: grid;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(380px, calc(100% - 20px));
  background: #fff;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  padding: 25px;
  z-index: 2000;

  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mobile-menu.open {
  right: 0;
  transform: translateX(0);
}

.mobile-menu-list {
  list-style-type: none !important;
  padding: 40px 0 0 0;
  margin: 0;
}

.mobile-menu-list li {
  padding: 14px 0;
  font-size: 18px;
  border-bottom: 1px solid #e6e6e6;
  cursor: pointer;
}
.mobile-menu-list li:last-child {
  border-bottom: none;
}

.mobile-accordion .accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-header {
  color: #616161;
}
.mobile-arrow {
  width: 15px;
  transition: 0.3s;
}

.mobile-accordion .accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: 12px;
}
.accordion-body li:last-child {
  border-bottom: none;
}
.mobile-accordion.open .accordion-body {
  max-height: 2000px;
  overflow-y: visible;
}

.mobile-accordion.open .mobile-arrow {
  transform: rotate(180deg);
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1500;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-close {
  display: flex;
  justify-content: space-between;
  font-size: 30px;
  cursor: pointer;
  margin-bottom: 10px;
}

.mobile-close i:hover {
  color: #108100;
}

.mobile-menu {
  overflow-y: auto !important;
}
.sub-accordion {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.sub-header {
  font-size: 16px;
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-body {
  max-height: 0;
  overflow-y: auto;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 5px;
}

.sub-accordion.open .sub-body {
  max-height: 800px;
  opacity: 1;
}

.sub-body li {
  list-style: none;
  padding: 0;
  border-bottom: none;
}

.sub-body li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000;
  padding: 5px 0;
}

.sub-body li a img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
}

.sub-body li a p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1199px) {
  .navbar-menu-container,
  .enquiry-button.d-xl-block {
    display: none !important;
  }
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .custom-menu {
    left: -320px;
  }
}

/* --------------------FOOTER SECTION--------------------------- */
.footer-section {
  padding: 67px 0;
  background-color: #f2fff6;
}
.quicklinks-title {
  font-weight: 600;
  font-size: 16px;
  color: #273d4c;
  margin-bottom: 16px;
}

.quicklinks-list,
.products-list,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
}
.products-list,
.contact-list {
  columns: 1;
}
.quicklinks-list li,
.products-list li,
.contact-list li {
  font-size: 15px;
  color: #4a5a60;
  margin-bottom: 10px;
  cursor: pointer;
}

.quicklinks-list li a:hover,
.products-list li a:hover,
.contact-list li a:hover,
.phone-link:hover,
.email-link:hover {
  color: #1a8e3f !important;
}
.contact-list li {
  max-width: 282px;
}
.copyright-container {
  background-color: #e7fed9;
}
.copyright-container p {
  padding: 22px 0;
  margin: 0;
}
.phone-link,
.email-link {
  text-decoration: none;
  color: #4a5a60;
}
/* --------------------------purchase form--------------- */

.custom-dropdown-wrapper {
  position: relative;
}

.custom-location-dropdown {
  border: 1px solid #dcdfe6;
  background-color: #fff;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  font-weight: 500;
  height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-options {
  display: none;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #dcdfe6;
  position: absolute;
  width: 100%;
  background: #fff;
  z-index: 999;
}

.custom-option {
  padding: 10px 16px;
  cursor: pointer;
}

.custom-option:hover {
  background-color: #009a4e;
  color: #fff;
}

.custom-dropdown .selected {
  color: #b3b8c6;
  font-size: 14px;
  font-weight: 500;
}

.selected-filled {
  color: #000 !important;
}

.purchase-form {
  background: #ffffff;
  max-width: 430px;
  width: 100%;
  max-height: 95vh;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.purchase-form h1 {
  font-size: 22px;
  font-weight: 400;
  color: #000;
  text-align: center;
  margin-bottom: 45px;
}

.form-label {
  font-weight: 400;
  font-size: 16px;
  color: #4d4d4d;
}

.form-control {
  height: 44px;
  border-radius: 0px !important;
  border: 1px solid #e0e0e0 !important;
  font-size: 14px;
}

.form-control::placeholder {
  font-size: 14px;
  font-weight: 400;
  color: #4d4d4d66;
}

.purchase-button {
  margin: 40px auto 10px;
  width: 70%;
  padding: 12px !important;
  border-radius: 10px;
  background-color: #108100 !important;
  color: #fff !important;
  border: none;
  font-weight: 500;
  display: grid;
  place-items: center;
  margin-top: 81px;
}

.purchase-button:hover {
  background-color: #108100 !important;
  color: #fff !important;
}

.close-button {
  position: sticky;
  top: 0 !important;
  font-size: 25px;
  font-weight: 500;
  background: none;
  border: none;
  color: #4d4d4d;
  cursor: pointer;
  display: flex !important;
  justify-content: flex-end;
  height: 55px;
  padding: 10px;
  z-index: 9999;
  border-radius: 16px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}
.popup-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.35s ease;
  padding-top: 20px;
}
.popup-wrapper.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-wrapper.show,
.overlay.show {
  display: flex !important;
}

body.modal-open {
  overflow: hidden;
}
.purchase-wrapper {
  padding: 30px 24px;
  overflow-y: auto;
}
.custom-product-dropdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #dcdfe6;
  cursor: pointer;
  background-color: #fff;
  transition: border 0.2s ease;
}

.custom-product-dropdown:hover {
  border-color: #999;
}
.custom-product-dropdown-wrapper {
  position: relative;
  width: 100%;
}
.selected-product {
  color: #666666;
  font-size: 14px;
}
/* Scroll inside popup */
.purchase-form {
  max-height: 90vh;
}

/* Webkit browsers (Chrome, Edge, Safari) */
.purchase-form::-webkit-scrollbar {
  width: 6px; /* thin scrollbar */
}

.purchase-form::-webkit-scrollbar-track {
  background: transparent;
}

.purchase-form::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  border-radius: 10px;
}

.purchase-form::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

/* Firefox */
.purchase-form {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 transparent;
}
