@import url('https://fonts.cdnfonts.com/css/gilroy-bold');

:root {
  --primary-color: #1d988c;
  --secondary-color: #7e66ef;
  --primary-color-varient1: #ddf8f6;
  --grey-color: #000;
  --lightgery-color: #828282;
  --form-fieldborder-color: #e0e0e0;
  --form-placeholder-color: #bdbdbd;
  --form-label-color: #555;
  --body-background-color: #fafafa;
  --sidebar-color: #828282;
  --font-bold: "Gilroy";
  --font-medium: "Gilroy";
  --font-regular: "Gilroy";
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Gilroy-Regular', sans-serif !important;
  background-color: var(--body-background-color);
  color: var(--grey-color);
  line-height: 1.5;
  cursor: pointer;
  overflow-x: hidden;
}
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #1d988c !important;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
  border-color: #fff;
  border-style: solid;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

.back-to-top i {
  font-size: 24px;
  color: #fff !important;
  line-height: 0;
}

.back-to-top:hover {
  background: #0b5c54;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}
.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  /* Ensure the navbar appears above other content */
  background-color: #fff !important;
}

.navbar-brand {
  font-weight: bold;
}

.navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
  color: #000 !important;
}

.navbar-nav .nav-link:hover {
  color: #1d988c !important;
  text-decoration: none;
}

.navbar-nav .nav-link.active {
  color: #1d988c !important;
}

.navbar-nav .dropdown-item.active {
  color: #1d988c !important;
  background-color: #ddf8f6;
}

.dropdown-menu {
  background-color: #fff;
  border: none;
}

@media (max-width: 767px) {
  .dropdown-menu {
    width: 160px;
    /* Set a specific width for mobile view */
  }
}

.dropdown-item {
  color: #000 !important;
}

.dropdown-item:hover {
  color: #000 !important;
  background-color: #ddf8f6 !important;
}

.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.navbar-nav {
  display: flex;
  justify-content: center;
}

.navbar-nav .nav-item {
  margin: 0 30px;
  /* Add spacing between navigation items */
}

.navbar-brand img {
  max-height: 160px !important;
  /* Set the maximum height of the image */
  height: 60px !important;
  max-width: 190px !important;
  /* Maintain aspect ratio */
}

.navbar-nav .sign-up-btn {
  background-color: #1d988c;
  /* Green background color */
  border-radius: 50px;
  /* 50px border radius */
  padding: 8px 25px !important;
  /* Adjust padding as needed */
  color: #fff !important;
  /* Text color */
}

.navbar-nav .sign-up-btn:hover {
  background-color: #1d988c;
  color: #fff !important;
  /* Darker green on hover */
}

@media (max-width: 768px) {
  .navbar-nav .sign-up-btn {
    padding: 8px 25px !important;
    width: 120px;
    /* Reduce padding for mobile view */
  }
}

/* general style*/

a {
  text-decoration: none;
  color: #2d2d2d;
}

img {
  vertical-align: middle;
}

header {
  position: sticky;
  top: 0;
  background: white;
}

.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}

.hero-section {
  min-height: 80vh;
  background-color: #daf4f1;
  background-image: url('https://ucarecdn.com/867f5471-79dc-4ae4-b2ed-c402844d3197/-/preview/1000x511/') !important;
  color: white;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: top;
  margin-bottom: 100px;
  padding: 20px 0;
}

.containers {
  background: #fff;
  padding: 15px 9%;
  padding-bottom: 100px;
}

.containers .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 15px;
}

.containers .box-container .box {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background: #fff;
  text-align: center;
  padding: 30px 20px;
}

.containers .box-container .box img {
  height: 180px;
}

.containers .box-container .box h3 {
  color: #000;
  font-size: 22px;
  padding: 10px 0;
  font-weight: 500;
  font-family: 'Gilroy-Regular', sans-serif !important;
}

.containers .box-container .box p {
  color: #777;
  font-size: 15px;
  line-height: 1.8;
  font-family: 'Gilroy-Regular', sans-serif !important;
}

.containers .box-container .box .btn {
  margin-top: 10px;
  display: inline-block;
  background: #333;
  color: #fff;
  font-size: 17px;
  border-radius: 5px;
  padding: 8px 25px;
}

.containers .box-container .box .btn:hover {
  letter-spacing: 1px;
}

.containers .box-container .box:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .containers {
    padding: 20px;
  }
}

.section-title {
  font-weight: 600;
}

footer {
  background-color: #fff;
  color: black;
  padding: 20px 0;
  bottom: 0;
  width: 100%;
  justify-content: center;
}

footer a {
  text-decoration: none;
  color:#000 !important;
}

footer a:hover {
  color:#1d988c !important;
}

footer ul {
  list-style: none;
}

.grid-container {
  display: grid;
  grid-template-columns: 30% 40% 30%;
  gap: 5px;
  /* place-items: center; */
}

ion-icon {
  color: black;
}

.grid-item {
  color: black !important;
  padding: 20px;
  text-align: left;
  list-style: none;
  text-align: center;
}

.grid-item a {
  color: #000;
}

.flex {
  display: flex;
  justify-content: space-evenly;
}

.bold {
  font-weight: bold;
}

@media only screen and (min-width: 320px) and (max-width: 788px) {
  .grid-container {
    display: grid;
    grid-template-columns: 1fr;
    /* Default to one column for mobile */
    gap: 15px !important;
    margin-left: -40px;
    font-size: 13px;
  }
  .logoo {
    margin-top: -50px;
    margin-left: 35px;
  }
}

.about-agroease {
  max-width: 690px;
}

.about-agroease h1 {
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 700;
}

.about-agroease p {
  font-size: 19px;
  margin-bottom: 40px;
}

.btn-get-started {
  padding: 10px 40px !important;
  background: var(--primary-color) !important;
  border-radius: 40px !important;
  color: white !important;
  font-size: 18px !important;
  transition: all 0.4s !important;
  display: inline-flex !important;
  white-space: nowrap !important;
  -webkit-border-radius: 40px !important;
  -moz-border-radius: 40px !important;
  -ms-border-radius: 40px !important;
  -o-border-radius: 40px !important;
  -webkit-transition: all 0.4s !important;
  -moz-transition: all 0.4s !important;
  -ms-transition: all 0.4s !important;
  -o-transition: all 0.4s !important;
}

.btn-get-started:hover {
  opacity: 0.8;
  color: white !important;
}

.popular-product {
  padding: 0 0 7rem 0;
  background-color: #fff;
}

.popular-product .product-item-sm h3 {
  font-size: 14px;
  font-weight: 700;
  color: #2f2f2f;
}

.popular-product .product-item-sm a {
  text-decoration: none;
  color: #2f2f2f;
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.popular-product .product-item-sm a:hover {
  color: rgba(47, 47, 47, 0.5);
}

.popular-product .product-item-sm p {
  line-height: 1.4;
  margin-bottom: 10px;
  font-size: 14px;
}

.popular-product .product-item-sm .thumbnail {
  margin-right: 10px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 120px;
  flex: 0 0 120px;
  position: relative;
}

.popular-product .product-item-sm .thumbnail:before {
  content: "";
  position: absolute;
  border-radius: 20px;
  background: #dce5e4;
  width: 98px;
  height: 98px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.btn {
  font-weight: 600 !important;
  padding: 12px 30px !important;
  border-radius: 30px !important;
  color: #ffffff !important;
  background: #1d988c !important;
  border-color: #1d988c !important;
  -webkit-border-radius: 30px !important;
  -moz-border-radius: 30px !important;
  -ms-border-radius: 30px !important;
  -o-border-radius: 30px !important;
}

.btn:hover {
  color: #ffffff;
  background: #1d988c !important;
  border-color: #ddd;
}

.btn:active,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn-container {
  display: flex;
  justify-content: center;
}

.btns {
  font-weight: 600 !important;
  padding: 12px 30px !important;
  border-radius: 30px !important;
  color: #ffffff !important;
  background: #1d988c !important;
  border-color: #1d988c !important;
  -webkit-border-radius: 30px !important;
  -moz-border-radius: 30px !important;
  -ms-border-radius: 30px !important;
  -o-border-radius: 30px !important;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.btns:hover {
  color: #ffffff;
  background: #1d988c !important;
  border-color: #ddd;
}

.btns:active,
.btns:focus {
  outline: none !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.mission {
  text-align: center;
  margin-bottom: 100px;
}

.mission h2 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #000;
  font-weight: 700;
}

.mission p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  /* text-align: start; */
  /* margin-right: 130px; */
}

.mission-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.mission-image-wrapper {
  width: 50%;
  display: flex;
  justify-content: center;
}

.mission-grid-section {
  margin-bottom: 150px;
}

.mission-text {
  gap: 40px;
  width: 50%;
  display: flex;
  flex-direction: column;
}

.mission-text h3 {
  color: #000;
  font-weight: 600;
}

.vision-img {
  height: 650px;
}

.started {
  text-align: center;
  margin-top: 40px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 70%;
}

.value {
  width: 30%;
}

.value-img {
  height: 350px;
}

.logo {
  height: 99px;
}

.mission-grid-section img {
  width: 90%;
  object-fit: contain;
}

section.sidebar {
  position: fixed;
  top: 0px;
  gap: 32.63px;
  right: 0px;
  display: flex;
  width: 228px;
  height: 100vh;
  background-color: white;
  border-right: 1px solid rgb(242, 242, 242);
  color: var(--sidebar-color);
  flex-direction: column;
  padding-bottom: 110px;
  transition: all 0.3s ease 0s;
  transform: translateX(300px);
}

div.logo {
  padding-left: 28px;
  border-bottom: 1px solid rgb(242, 242, 242);
  min-height: 101px;
  display: flex;
  align-items: center;
}

div.sidebar-text p {
  padding-left: 28px;
  font-size: 12px;
}

div.logo img {
  height: 100px;
}

div.siderbar_links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar_link {
  padding: 12px 28px;
  display: flex;
  align-items: center;
  color: var(--sidebar-color);
}

.sidebar_link:hover {
  background-color: var(--primary-color-varient1);
}

div.siderbar_link {
  color: var(--sidebar-color);
}

div.sidebar-userprofile {
  margin-top: auto;
  display: flex;
  padding: 0px 20px;
  align-items: center;
  justify-content: space-between;
}

.dropdown img {
  width: 25px;
}

.userprofile-data {
  display: flex;
  gap: 10px;
  align-items: center;
}

.userprofile-data h3 {
  font-size: 16px;
  color: var(--grey-color);
}

.userprofile-data p {
  font-size: 12px;
}

.handburger-menu {
  font-size: 40px;
  cursor: pointer;
  display: none;
}

.open-sidebar {
  z-index: 160;
  transform: translateX(0px) !important;
}

.close-sidebar-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.open-sidebar .close-sidebar-wrapper {
  display: flex;
}

.close-sidebar {
  font-size: 34px;
  padding: 12px;
}

.show-sidebar {
  transform: translate(0) !important;
}

.popular-product {
  margin-bottom: 170px;
}

.popular-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

}

.popular-product-header {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popular-product-header a {
  color: var(--primary-color);
  display: flex;
  gap: 16px;
  align-items: center;
}

.popular-product-header a:hover {
  text-decoration: underline;
}

.product-item-img-wrapper {
  /* padding: 6.515px; */
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-item {
  border: 1px solid #e6e6e6;
  color: #272727;
  background: white;
}

.product-item:hover {
  border: 1px solid var(--primary-color);
}

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.5s;
}

p.product-item-title {
  font-size: 18px;
  color: #4d4d4d;
  margin: 0;
}

a {
  text-decoration: none !important;
}

span.product-sales {
  display: inline-flex;
  padding: 3.909px 10.424px;
  justify-content: center;
  align-items: center;
  padding: 3.909px 10.424px;
  padding-top: 8px;
  border-radius: 5.212px;
  background: var(--secondary-color);
  color: white;
  position: absolute;
  left: 15.636px;
  top: 15.636px;
}

.product-item-title-wrapper {
  padding: 15.636px;
  position: relative;
}

.product-item-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7.48px;
}

.main-price {
  margin-top: 9px;
  font-size: 20px;
  font-family: 'Gilroy-Medium', sans-serif !important;
  color: #272727;
}

.discount-price {
  font-size: 16px;
  color: #888;
  text-decoration: line-through;
}

.cart-wrapper {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: absolute;
  right: 15.47px;
}

.my-account-cart-img ion-icon {
  font-size: 32px;
}

.cart-wrapper ion-icon {
  font-size: 25px;
}

.cart-wrapper:hover {
  background: var(--primary-hover-color);
}

.cart-wrapper:hover ion-icon {
  color: white;
}

.add2cart {
  stroke-width: 4;
}

.product-item-rating {
  display: flex;
}

.product-item-rating img {
  width: 15.636px;
  height: 15.636px;
}

.product-view {
  position: absolute;
  right: 15.47px;
  top: 15.47px;
  display: flex;
  gap: 20px;
  flex-direction: column;
  gap: 7px;
  display: none;
}

.product-item:hover .product-view {
  display: flex;
}

.product-view ion-icon {
  font-size: 20px;
}

.product-view-icon {
  width: 39px;
  height: 40px;
  flex-shrink: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  outline: 2px solid #f2f2f2;
}

.product-view-icon:hover {
  background: var(--primary-color);
}

.product-view-icon:hover ion-icon {
  color: white;
}

.tablenameLoading {
  width: 100%;
  height: 30px;
  background-color: rgb(241, 243, 244);
  animation: 1.5s ease-in-out 0.5s infinite normal none running loadingstate;
  margin-bottom: 5px;
}

.tablename2Loading {
  width: 100%;
  height: 30px;
  background-color: rgb(241, 243, 244);
  animation: 1.5s ease-in-out 0.5s infinite normal none running loadingstate;
  margin-bottom: 5px;
}



.product-item:hover .product-view {
  display: flex;
}

.product-item:hover img {
  transform: scale(1.1);
}

@keyframes animate {
  0% {
    transform: translateX(10px);
  }

  100% {
    transform: translateX(0px);
  }
}

@keyframes loadingstate {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

/* responsivr view */

@media (max-width: 1000px) {
  .popular-product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .menu {
    display: block;
  }
}

@media (max-width: 870px) {
  .popular-product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .mission-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .popular-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 615px) {
  .grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 70%;
  }
  .mission-text {
    width: 100%;
  }
  .mission-image-wrapper {
    width: 100%;
  }
  .vision-img {
    height: 350px;
  }
}

@media (max-width: 600px) {
  .popular-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 500px) {
  .popular-product-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

@media (max-width: 475px) {
  .about-agroease h1 {
    font-size: 30px;
  }
  .about-agroease p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .logo img {
    height: 78px;
  }
  .vision-img {
    height: 300px;
  }
  .mission p {
    font-size: 17px;
    padding: 0px 20px;
  }
  .nav-links-terms {
    gap: 10px;
    flex-direction: column;
  }
  .value-img {
    height: 209px;
  }
  .mission-grid-section {
    margin-bottom: 80px;
  }
  .btn {
    padding: 14px 40px;
  }
}

@media (max-width: 375px) {
  .nav-links-terms {
    gap: 10px;
    flex-direction: column;
  }
  .about-agroease h1 {
    font-size: 27px;
  }
}
