@import "tailwindcss";
@import "swiper/css";
@import "swiper/css/navigation";
@import "swiper/css/pagination";

* {
  box-sizing: border-box;


}

html,
body {
  padding: 0px;
  margin: 0px;
  font-family: var(--font-poppins), sans-serif;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--agriox-font-2, "Averia Sans Libre", cursive);
}

.bg-white {
  background-color: var(--color-white);
}

:root {
  --light-yellow: #f1cf69;
  --deepest-green: #334b35;
  --light-gray: #687469;
  --light-green: #6d8c54;
  --white: #fff;
}

/* Custom container to control max-width */
.container {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

@media(min-width:768px) {
  .container {
    max-width: 760px;
  }
}

@media(min-width:1024px) {
  .container {
    max-width: 960px;
  }
}

@media(min-width:1280px) {
  .container {
    max-width: 1200px;
  }
}

/* mobile menu stylees*/
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
  transform: translateX(0);
}

.overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Hero section slider styles */
.swiper-slide-active .slide-image {
  transform: scale(1);
}

.slide-image {
  transform: scale(1.1);
  transition: transform 10s ease-out;
}

.hero_bottom_img::before {
  content: "";
  width: 10000px;
  height: 100%;
  position: absolute;
  right: 50%;
  top: -215px;
  background-color: #f6f4ec;
}


/* about section style */

.about_img {
  position: relative;
}

.about_img::before {
  position: absolute;
  background-color: var(--deepest-green);
  content: "";
  width: 28px;
  height: 110px;
  left: -74px;
  bottom: 0;
  border-radius: 0 0px 6px 6px;
}

.about_img::after {
  position: absolute;
  left: -30px;
  bottom: 0;
  width: 30px;
  height: 350px;
  background: var(--light-yellow);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  content: "";
}



.agricultural_img::before {
  content: "";
  position: absolute;
  height: 50px;
  width: 50px;
  background-color: var(--light-green);
  border-radius: 10px;
  right: 0px;
  top: -21px;
  left: 175px;
  animation: slideUpDown 7s ease-in-out infinite;
}

.agricultural_img::after {
  content: "";
  position: absolute;
  height: 25px;
  width: 25px;
  background-color: var(--light-yellow);
  border-radius: 5px;
  right: 0px;
  top: -28px;
  left: 207px;
  animation: slideUpDown 7s ease-in-out infinite;
}

@media (max-width:768px){
  .agricultural_img:before{
    left: 225px;
  }

  .agricultural_img:after{
    left: 255px;
  }
}

@media (max-width:640px){
  .agricultural_img:before{
    left: 205px;
  }

  .agricultural_img:after{
    left: 235px;
  }
}

/* Looking for Agriculture animation  */

@keyframes slideUpDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
    /* Adjust the distance for the slide effect */
  }
}

.hero_bottom_video::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: 0.4;
  border-radius: 8px;
}

.hero_bottom_video::after {
  content: "";
  width: 28px;
  height: 81px;
  background-color: var(--light-yellow);
  position: absolute;
  right: -38px;
  top: 0;
  border-radius: 10px;
}

.agriculture_matters::before {
  content: "";
  position: absolute;
  background-color: #000;
  opacity: 0.4;
  width: 100%;
  height: 100%;
}

.project .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #adb7ae;
  opacity: 0.8;
}

.project .swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.project .swiper-button-next,
.project .swiper-button-prev {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project .swiper-button-next:after,
.project .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.projectSwiper {
  padding-bottom: 50px !important;
}

.project .swiper-pagination-bullet-active {
  background-color: rgb(35, 80, 35) !important;
  width: 15px;
  height: 15px;
}

html {
  scroll-behavior: smooth;
}

.button_hover,
.button_yellow_hover {
  position: relative;
  display: inline-block;
  overflow: hidden;
  z-index: 1;
}

.button_hover::before {
  content: "";
  position: absolute;
  background-color: var(--deepest-green);
  right: 0;
  width: 5%;
  height: 100%;
  top: 0;
  transition: width 0.5s ease-in-out;
  z-index: -1;
  opacity: 0.2;
  border-radius: 25px 0 0 25px;
}


.button_hover:hover::before,
.button_yellow_hover:hover::before {
  width: 100%;
  opacity: 1;
  border-radius: 0;
}

.button_hover:hover {
  color: var(--light-yellow);
}

.button_yellow_hover::before {
  content: "";
  position: absolute;
  background-color: var(--white);
  right: 0;
  width: 5%;
  height: 100%;
  top: 0;
  transition: width 0.5s ease-in-out;
  z-index: -1;
  opacity: 0.2;
  border-radius: 25px 0 0 25px;
}

.button_yellow_hover:hover {
  color: var(--deepest-green);
  font-weight: 600;
}

/* ZoomIn Animation (Unchanged) */
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.animate-zoomIn {
  animation: zoomIn 1.5s ease-in-out;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

/* Pulsating Border Animation */
@keyframes squares {
  0% {
    opacity: 0;
    transform: scale(1);
    -webkit-transform: scale(1);
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
  }
}

.border-animation {
  position: absolute;
  border: 1px solid #ffffff;
  animation: squares 2.9s linear infinite;
  -webkit-animation: squares 2.9s linear infinite;
  animation-play-state: running;
  opacity: 0;
  border-radius: 50%;
}

/* Adjusted border classes for gaps */
.border-1 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-width: 1px !important;
  animation-delay: 0s;
}

.border-2 {
  width: 120%;
  /* Increase size for gap */
  height: 120%;
  top: -10%;
  /* Center the larger ring */
  left: -10%;
  border-width: 2px !important;
  animation-delay: 0.3s;
}

.border-3 {
  width: 140%;
  /* Further increase for larger gap */
  height: 140%;
  top: -20%;
  /* Center the largest ring */
  left: -20%;
  border-width: 3px !important;
  animation-delay: 0.6s;
}

/* Play icon container */
.play_icon {
  position: relative;
  transition: all 0.3s ease;
}

.play_icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}



/* Providing High quality Animation  */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin-slow 10s linear infinite;
}

.product_sub_content:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 28px;
}

.explore_slider::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0;
  transform: scaleY(0);
  transition: all 0.5s ease-in-out;
}

.explore_slider:hover::before {
  transform: scaleY(1);
  opacity: 0.4;
}

.service_overlay {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.service_overlay::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--deepest-green);
  opacity: 0.5;
  transform: scaleX(0);
  transition: opacity 0.5s ease-in-out, transform 0.3s ease-in-out;
}

.shadow-lg:hover .service_overlay::before {
  
  /* Adjust opacity as needed */
  transform: scaleX(1);
}