* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "montserrat";
  color: white;
}
html,
body {
  height: 100vh;
  width: 100vw;
}
#loading {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.9;
  background-color: #fff;
  z-index: 100;
}

#loading-image {
  z-index: 100;
}

*::selection {
  background-color: #fff;
  color: #95c11e;
}

#cursor {
  height: 20px;
  width: 20px;
  background-color: yellowgreen;
  border-radius: 50%;
  position: fixed;
  z-index: 9;
  transition: all linear 0.07s;
}
#cursor-blur {
  height: 400px;
  width: 400px;
  background-color: rgba(153, 205, 50, 0.237);
  border-radius: 50%;
  position: fixed;
  filter: blur(80px);
  z-index: 9;
  transition: all linear 0.4s;
}
/* #nav {
  height: 13vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1vh 8vw;
  gap: 10vw;
  position: fixed;
  justify-content: flex-start;
  z-index: 99;
}
#nav img {
  height: 12vw;
}
#nav h4 {
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.15vw;
} */
a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}
li {
  list-style: none;
}
header {
  position: fixed;
  height: 13vh;
  width: 100%;
  z-index: 99;
  display: flex;
}
.navbar {
  width: 100%;
  height: 100px;
  margin: 0 auto;
  display: flex;
  padding: 3.5rem;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo img {
  height: 13vw;
  margin-top: 1rem;
}
.navbar .links {
  display: flex;
  gap: 5rem;
}
.navbar .links a {
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}
.navbar .toggle_btn {
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: none;
}
/* Drop Menu */
.drop_menu {
  position: absolute;
  right: 2rem;
  top: 60px;
  height: 0;
  width: 300px;
  margin-top: 2rem;
  background: rgb(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(15px);
  overflow: hidden;
  display: none;
  z-index: 99;
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.drop_menu.open {
  height: 230px;
}
.drop_menu li {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Responsive */
@media only screen and (max-width: 992px) {
  .navbar .links {
    display: none;
  }
  .navbar .toggle_btn {
    display: block;
  }
  .drop_menu {
    display: block;
  }
  .navbar .logo img {
    height: 25vw;
  }
  #cursor {
    display: none;
  }
}
@media only screen and (max-width: 576px) {
  .navbar .links {
    display: none;
  }
  .navbar .toggle_btn {
    display: block;
  }
  .navbar .logo img {
    height: 30vw;
  }
  .drop_menu {
    left: 2rem;
    width: unset;
  }
}
@media only screen and (max-width: 900px) {
  #cursor {
    height: 10px;
    width: 10px;
  }
}
#back {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: fixed;
  z-index: -1;
}
#main {
  position: relative;
  background-color: rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
#page1 {
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  z-index: 10;
}
#page1 h1 {
  font-size: 4.5em;
  font-weight: 900;
  position: relative;
}
#page1 h1::before {
  content: "FROM FARM. TO HOUSEHOLD.";
  position: absolute;
  color: black;
  top: -3px;
  left: -3px;
  -webkit-text-stroke: 1.5px #009a00;
  z-index: -1;
}
#page1 h2 {
  font-size: 2em;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 20px;
}
#page1 p {
  font-size: 1.2em;
  font-weight: 500;
  width: 40%;
}
#page2 {
  min-height: 100vh;
  width: 100vw;
  z-index: 10;
}
#scroller {
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  z-index: 10;
}
#scroller::-webkit-scrollbar {
  display: none;
}
#scroller-in {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}
#scroller h4 {
  display: inline-block;
  font-size: 7em;
  font-weight: 900;
  font-family: gilroy;
  margin-right: 20px;
  color: #000;
  transition: all linear 0.3;
  padding-bottom: 5vh;
  -webkit-text-stroke: 2px white;
}
@media only screen and (max-width: 900px) {
  #page1 h1 {
    font-size: 2.5em;
    width: 70%;
  }
  #page1 h2 {
    font-size: 1em;
  }
  #page1 p {
    font-size: 1.1em;
    width: 70%;
  }
  #scroller h4 {
    font-size: 4em;
  }
  #page2 {
    min-height: 100vh;
    width: 100vw;
    z-index: 10;
  }
  #scroller {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    z-index: 10;
  }
  #scroller::-webkit-scrollbar {
    display: none;
  }
  #scroller-in {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
  }
  #scroller h4 {
    display: inline-block;
    font-size: 3em;
    font-weight: 900;
    font-family: gilroy;
    margin-right: 20px;
    color: #000;
    transition: all linear 0.3;
    padding-bottom: 5vh;
    -webkit-text-stroke: 2px white;
  }
}
#scroller h4:hover {
  color: yellowgreen;
  -webkit-text-stroke: 2px yellowgreen;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
#aboutus {
  height: 40vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}
#aboutus img {
  height: 28vh;
  width: 20vw;
  border-radius: 20px;
  object-fit: cover;
}
#aboutus-in {
  width: 40%;
  text-align: center;
}
#aboutus-in h3 {
  font-size: 2em;
  font-weight: 800;
  margin-bottom: 4vh;
}
#aboutus-in p {
  text-align: center;
  font-size: 1em;
}
@media only screen and (max-width: 900px) {
  #aboutus-in h3 {
    font-size: 1.5em;
  }
  #aboutus-in p {
    font-size: 0.8em;
  }
  #aboutus-in {
    width: 100%;
  }
  #aboutus img {
    display: none;
  }
  #divider {
    display: none;
  }
}
#divider {
  height: 35vh;
  width: 100%;
}
#prod {
  height: 20vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
}
#prod h3 {
  font-size: 2em;
  font-weight: 800;
  padding-top: 10vh;
  z-index: 10;
}
/* #card-container {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8vw;
  position: relative;
}

.card {
  height: 80%;
  width: 24%;
  border-radius: 25px;
  background-position: center;
  background-size: cover;
  z-index: 10;
  overflow: hidden;
  transition: all ease 0.6s;
} */
#card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8vw;
  position: relative;
  max-height: 200vh; /* Set a maximum height for the container */
  overflow-y: auto; /* Enable vertical scrolling if content exceeds container height */
  padding: 0 10px; /* Add padding to create margin on the left and right */
  box-sizing: border-box;
  margin-bottom: 20px; /* Include padding in the width calculation */
}
.card {
  flex: 0 0 calc(25% - 4vw); /* 50% width with gap considered */
   /* Set a maximum height for the cards */
  overflow: hidden; /* Hide overflow content beyond the maximum height */
  border-radius: 25px;
  background-position: center;
  background-size: cover;
  z-index: 10;
  transition: all ease 0.6s;
  margin-bottom: 1vw; /* Gap between rows */
  position: relative;
}
#card1 {
  background-image: url(product1.jpg);
}

#card2 {
  background-image: url(product2.jpg);
}
#card3 {
  background-image: url(5L.jpg);
}
#card4 {
  background-image: url(mustardcake.jpg);
}
#card5 {
  background-image: url(mustardseeds.jpg);
}
.overlay {
  height: 100%;
  width: 100%;
  padding: 3rem 1rem;
  background-color: #57c413;
  opacity: 0;
  position: relative;
  transition: all ease 0.6s;
}

.overlay h4 {
  color: #000;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.overlay p {
  font-size: 18px;
}

.overlay i {
  height: 80px;
  width: 80px;
  background-color: #57c413;
  border: 2px solid #fff;
  position: absolute;
  display: flex;
  right: 2%;
  bottom: 2%;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all ease 0.5s;
  font-size: 30px;
  font-weight: 100;
  color: #000;
}

.overlay i:hover {
  background-color: yellow;
  color: rgb(0, 128, 0);
}

.card:hover .overlay {
  opacity: 0.85;
}

.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
  background: rgba(128, 249, 23, 0.348);
  backdrop-filter: blur(15px);
  margin: 20% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 900px) {
  #prod h3 {
    font-size: 1.5em;
  }
  #card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8vw;
    position: relative;
    max-height: 80vh; /* Set a maximum height for the container */
    overflow-y: auto; /* Enable vertical scrolling if content exceeds container height */
    padding: 0 10px; /* Add padding to create margin on the left and right */
    box-sizing: border-box; /* Include padding in the width calculation */
  }
  .card {
    flex: 0 0 calc(50% - 4vw); /* 50% width with gap considered */
    height: 30vh;
    max-height: 30vh; /* Set a maximum height for the cards */
    overflow: hidden; /* Hide overflow content beyond the maximum height */
    border-radius: 25px;
    background-position: center;
    background-size: cover;
    z-index: 10;
    transition: all ease 0.6s;
    margin-bottom: 4vw; /* Gap between rows */
    position: relative;
  }
  #card5 {
    flex: 0 0 100%;
  }
  .overlay {
    height: 100%;
    width: 100%;
    padding: 1rem;
    background-color: #57c413;
    opacity: 0;
    position: relative;
    transition: all ease 0.6s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .overlay h4 {
    color: #000;
    font-size: 1.2rem; /* Adjusted font size for the overlay title */
    font-weight: 800;
    margin-bottom: 0.5rem;
  }
  .overlay p {
    font-size: 0.8rem; /* Adjusted font size for the overlay text */
    margin-bottom: 1rem;
  }
  .overlay i {
    height: 60px; /* Adjusted height */
    width: 60px; /* Adjusted width */
    background-color: #57c413; /* Background color */
    border: 2px solid #fff; /* Border color */
    position: absolute;
    display: flex;
    right: 1rem; /* Adjusted position from right */
    bottom: 1rem; /* Adjusted position from bottom */
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Border radius */
    transition: all ease 0.5s;
    font-size: 24px; /* Adjusted font size */
    font-weight: 800; /* Adjusted font weight */
    color: #fff; /* Icon color */
  }
}

#green-div {
  height: 22vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  background: linear-gradient(to left bottom, rebeccapurple, rgb(175, 57, 177));
}
#green-div h4 {
  z-index: 10;
  text-transform: uppercase;
}
#green-div h4 a {
  font-size: 2.3rem;
}
#green-div h4 a:hover {
  color: rgb(255, 242, 0);
}
#green-div img {
  height: 100%;
  object-fit: cover;
}
@media only screen and (max-width: 900px) {
  #green-div {
    height: 10vh;
    margin-bottom: 1rem;
  }
  #green-div h4 a {
    font-size: 0.8rem;
  }
}
#phool {
  z-index: 10;
  width: 25vw;
  height: 4vh;
  object-fit: cover;
}
#insta {
  z-index: 10;
  padding-right: 10px;
  width: 4vw;
  height: 4vh;
}
#page3 {
  height: 100vh;
  width: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#page3 > p {
  font-size: 1.5vw;
  font-weight: 700;
  line-height: 45px;
  width: 50%;
  text-align: center;
  z-index: 10;
}
#page3 img {
  position: absolute;
  height: 6vh;
}
#page3 #colon1 {
  left: 15%;
  top: 25%;
}
#page3 #colon2 {
  right: 15%;
  bottom: 30%;
}
@media only screen and (max-width: 900px) {
  #page3 > p {
    font-size: 1em;
    font-weight: 500;
    line-height: 20px;
    width: 60%;
    text-align: center;
    z-index: 10;
  }
  #page3 img {
    position: absolute;
    height: 3vh;
  }
  #page3 #colon1 {
    left: 10%;
    top: 25%;
  }
  #page3 #colon2 {
    right: 10%;
    bottom: 30%;
  }
  #page3 {
    height: 100vh;
    width: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
}
#footer {
  height: 15rem;
  width: 100%;
  background: linear-gradient(
    to left bottom,
    yellowgreen 0%,
    rgb(73, 205, 50) 80%
  );
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6.5vw;
  padding: 0 100px;
  z-index: 10;
}

#f1 img {
  height: 150px;
  border: 3px solid #ebeaea;
  border-radius: 50%;
  -webkit-box-shadow: 0px 30px 40px -25px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px 30px 40px -25px rgba(0, 0, 0, 1);
  box-shadow: 0px 30px 40px -25px rgba(0, 0, 0, 1);
}
@keyframes spin3D {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}
.spinh:hover {
  animation: spin3D 3s ease 2;
}

#f1,
#f2,
#f3,
#f4 {
  width: fit-content;
  position: relative;
  z-index: 99;
  /* background-color: red; */
}
#f2 h3 {
  font-size: 1.2vw;
  white-space: wrap;
  text-align: center;
  text-transform: uppercase;
  color: #000;
  font-weight: 700;
  margin-bottom: 8px;
}

#busicard {
  height: 200px;
  border: 2px solid #dadada;
  border-radius: 10px;
}
#busicard2 {
  height: 200px;
  display: none;
  border: 2px solid #dadada;
  border-radius: 10px;
}
#f32 {
  display: none;
}
iframe {
  border-radius: 10px;
}
@media only screen and (max-width: 900px) {
  #footer {
    height: 58rem;
    width: 100%;
    background: linear-gradient(
      to left bottom,
      yellowgreen 0%,
      rgb(73, 205, 50) 80%
    );
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 6.5vw;
    padding: 0 100px;
    z-index: 10;
  }
  #f1 img {
    height: 150px;
    border: 3px solid #ebeaea;
    border-radius: 50%;
    -webkit-box-shadow: 0px 30px 40px -25px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 30px 40px -25px rgba(0, 0, 0, 1);
    box-shadow: 0px 30px 40px -25px rgba(0, 0, 0, 1);
    margin-top: 2rem;
  }
  #f1,
  #f2,
  #f3,
  #f4 {
    width: fit-content;
    position: relative;
    z-index: 99;
    /* background-color: red; */
  }
  #f2 h3 {
    font-size: 2.4vw;
    white-space: wrap;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    font-weight: 700;
    margin-bottom: 8px;
  }
  #busicard {
    height: 200px;
    border: 2px solid #dadada;
    border-radius: 10px;
  }
  #busicard2 {
    height: 200px;
    display: none;
    border: 2px solid #dadada;
    border-radius: 10px;
  }
  #f32 {
    display: block;
  }
  iframe {
    height: 200px;
    border-radius: 10px;
  }
}
#footer2 {
  height: 2rem;
  width: 100%;
  background: linear-gradient(
    to left top,
    yellowgreen 0%,
    rgb(73, 205, 50) 80%
  );
  position: relative;
  padding: 0 100px;
  text-align: center;
  z-index: 10;
}
#footer2 p {
  padding-top: 5px;
}
@media only screen and (max-width: 900px) {
  #footer2 {
    height: 4.5rem;
    position: relative;
    padding: 0 70px;
  }
  #footer2 p {
    padding-top: 5px;
  }
}
