

/* Vegetable Hero Section */
/* Styles for agriculture.html only */

/* Agri Section Layout */

@keyframes backgroundSlide {
  0% {
    background-image: url('./Images/Img.png');
  }
  33.33% {
    background-image: url('./Images/Img.jpeg');
  }
  66.66% {
    background-image: url('./Images/Img.jpeg');
  }
  100% {
    /* background-image: url('https://img.freepik.com/free-photo/blue-denim-jeans-texture-background_53876-142087.jpg'); */
     background-image: url('./Images/Img.jpg');
  }
}

.container {
  margin-top: 100px; /* Push content down from top */
  padding: 0 20px;
  text-align: center;
}

.section-title {
  font-size: 50px;
  margin-bottom: 15px;
  color: #ffd700;
}

.description {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 18px;
  color: #eee;
  line-height: 1.6;
}

.back-to-home-container {
  margin-top: 30px;
}

.back-to-home-btn {
  background-color: #ffd700;
  color: #000;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.back-to-home-btn:hover {
  background-color: #e6c200;
}

/*card styling*/
/* Reduce spacing between agriculture-section and agriculture-products */
/* Grid container */
.agriculture-section {
  margin: 0;               /* Removes all external margin */
  padding: 40px 20px 0;    /* Removes bottom padding */
  color: #fff;
  background: url('./Images/agri-bg.jpg') no-repeat center center/cover;
}


.agriculture-products {
  margin: 0px;             /* Completely removes top & bottom margin */
  padding: 0 20px 30px;  /* Removes top padding, keeps bottom */
  background-color: #f9f9f9;
  margin-top: 10px;
}
.agriculture-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

/* Individual card */
.agri-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 16px;
  width: calc(25% - 20px); /* 4 cards in a row with gap */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card hover animation */
.agri-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Image inside the card */
.agri-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Card title */
.agri-card h3 {
  margin-top: 12px;
  font-size: 1.2rem;
  color: #333;
}

/* Card description */
.agri-card p {
  font-size: 0.95rem;
  color: #666;
  margin-top: 8px;
}
@media (max-width: 992px) {
  .agri-card {
    width: calc(50% - 20px); /* 2 cards per row on tablets */
  }
}

@media (max-width: 576px) {
  .agri-card {
    width: 100%; /* 1 card per row on small devices */
  }
}

/*powder css */
.powder-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #4a3f35;
  margin-bottom: 30px;
}

.powder-section {
  background-color: #f3f0e9;
  padding: 40px 20px;
}

.powder-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center items when fewer than 4 in last row */
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

/* All powder boxes */
.powder-item {
  flex: 0 0 calc(25% - 20px); /* 4 per row */
  background-color: #fff;
  border: 2px solid #d2a679;
  color: #4a3f35;
  border-radius: 12px;
  padding: 30px 15px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 200px;
  max-width: 220px;
  box-sizing: border-box;
}

/* Hover animation */
.powder-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px oklab(83.082% 0.05915 0.01681 / 0.927);
  background-color:#d2a679 ;
}
/*mobile view sathi natural powder css */
@media (max-width: 768px) {
  .powder-container {
    gap: 15px;
    justify-content: center;
  }

  .powder-item {
    flex: 0 0 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  .powder-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .powder-section {
    padding: 30px 10px;
  }
}


/*contact popup css */

#popup-message {
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #4caf50;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  display: none;
}

.popup-visible {
  display: block;
}

.popup-hidden {
  display: none;
}


 