/* <!-- Hero Section  --> */
.hero {
  position: relative;
  min-height: 600px;
  background: url("./img/kisanHero.png") no-repeat left center;
  background-size: 120%;
  /* ✅ zoomed-in background */
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: white;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 60px 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding-left: 40px;
  max-width: 900px;
  color: #fff;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #fff;
}

/* ✅ Tablet screens */
@media (max-width: 1024px) {
  .hero {
    min-height: 500px;
    background-position: center;
    background-size: 140%;
    /* ✅ zoom in a bit more */
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ✅ Mobile screens */
@media (max-width: 768px) {
  .hero {
    min-height: 450px;
    background-position: center;
    background-size: 160%;
    /* ✅ tighter zoom for small screens */
  }

  .hero-overlay {
    padding: 40px 20px;
  }

  .hero-content {
    padding-left: 0;
    max-width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

/* ✅ Extra small devices */
@media (max-width: 480px) {
  .hero {
    min-height: 380px;
    background-size: 180%;
    /* ✅ even more zoom for very small screens */
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }
}

/* <!-- Hero Section  --> */



/* <!-- Category Section  --> */
.category-section {
  text-align: center;
  padding: 0 20px;
  background-color: #FFF9EB;
}

.category-section-second {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  /* ✅ keeps section centered & neat */
  text-align: center;
  padding: 20px;
  background-color: #FFF9EB;
  border-radius: 12px;
}

.category-section h2 {
  padding-top: 5rem;
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #222;
}

.category-section p {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* ✅ always 2 per row on large screens */
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  background: #fff9eb;
}

.category-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.category-info {
  padding: 12px 15px;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  color: #333;
}

.badge {
  position: absolute;
  top: 12px;
  left: 0;
  background: #005c36;
  color: white;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 0 20px 20px 0;
}

/* ✅ Responsive: Mobiles (≤768px) */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
    /* 1 per row on mobile */
  }

  .category-section h2 {
    font-size: 28px;
    padding-top: 2rem;
  }

  .category-section p {
    font-size: 13px;
  }

  .category-card img {
    height: 240px;
  }

  .category-info {
    font-size: 16px;
  }

  .badge {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* ✅ Extra small (≤480px) */
@media (max-width: 480px) {
  .category-section-second {
    padding: 10px;
  }

  .category-section h2 {
    font-size: 22px;
  }

  .category-section p {
    font-size: 12px;
  }

  .category-card img {
    height: 200px;
  }

  .category-info {
    font-size: 15px;
  }

  .badge {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/* <!-- Category Section  --> */

/* <!-- Why We Section  --> */

/* Why We Section */
.whywe-section {
  background-color: #FFF9EB;
  padding: 60px 20px;
  text-align: center;
}

.whywe-container {
  max-width: 1200px;
  margin: 0 auto;
}

.whywe-section h2 {
  font-size: 36px;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.whywe-section p {
  color: #666;
  font-size: 14px;
  margin-bottom: 40px;
}

/* Grid layout */
.whywe-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.whywe-card {
  /* background: #fff; */
  /* border-radius: 12px; */
  overflow: hidden;
  transition: transform 0.3s ease;
}


.whywe-card img {
  width: 100%;
  object-fit: cover;
  display: block;
  /* border-radius: 12px; */
}

/* ✅ Specific styles per card */
.whywe-card.first img {
  width: 100%;
  height: 400px;
}

.whywe-card.second img {
  width: 100%;
  height: 400px;
}

.whywe-card.third img {
  width: 80%;
  height: 400px;
}

/* Responsive */
@media (max-width: 992px) {
  .whywe-grid {
    flex-wrap: wrap;
  }

  .whywe-card {
    flex: 1 1 calc(50% - 20px);
  }

  .whywe-card img {
    width: 100% !important;
    height: 220px;
  }
}

@media (max-width: 600px) {
  .whywe-card {
    flex: 1 1 100%;
  }

  .whywe-card img {
    height: 200px;
    width: 100% !important;
  }
}

/* <!-- Why We Section  --> */


/* <!-- Mustard Oil Cake Powder Banner   --> */
/* Banner */
/* ===========================
   Banner Section
   =========================== */
.banner {
  position: relative;
  color: white;
  overflow: hidden;
  background: url("./img/musterdbg.png") left center;
  background-size: contain;
  background-position: left center;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(47, 122, 87, 0.92);
  z-index: 1;
}

.banner-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  flex-wrap: wrap;
}

/* Left Side */
.banner-text {
  max-width: 45%;
}

.banner-text h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
}

.banner-text .white-text {
  color: #fff;
  font-weight: 700;
}

.subtitle {
  margin: 20px 0;
  font-size: 15px;
  font-weight: 200;
}

.shop-btn {
  padding: 12px 30px;
  background: white;
  color: #2f7a57;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.shop-btn:hover {
  background: #f0f0f0;
}

.offers {
  margin-top: auto;
  font-size: 14px;
  opacity: 0.9;
}

/* Right Side */
.banner-image {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-img {
  height: 400px;
  border-radius: 10px;
  object-fit: contain;
  z-index: 2;
}

/* Discount Badge */
.discount-badge {
  position: relative;
  top: 10%;
  left: -50px;
  color: #2f7a57;
  padding: 20px 25px;
  text-align: center;
  transform: rotate(-8deg);
  z-index: 3;
  min-width: 180px;
}

.discount-top {
  position: absolute;
  bottom: 0;
  left: 100%;
  transform: translateX(-50%);
  background: white;
  padding: 10px 60px;
  border-radius: 50px;
  border: 2px solid #eee;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-align: center;
  white-space: nowrap;
  z-index: 2;
}

.discount-code {
  position: absolute;
  bottom: 10;
  left: 50%;
  transform: translateX(-1%);
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: bold;
  color: #2f7a57;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: 1;
  margin-top: 10px;
}

.discount-badge .upto {
  font-size: 14px;
  font-weight: bold;
  display: block;
}

.discount-badge .percent {
  font-size: 30px;
  font-weight: 900;
  color: #2f7a57;
  display: block;
}

.discount-badge .condition {
  font-size: 13px;
  color: #333;
  display: block;
  margin-top: 5px;
}

.discount-code span {
  font-size: 16px;
  color: #007f4e;
}

/* ===========================
   Benefits Section
   =========================== */
.benefits-section {
  position: relative;
  background: url("./img/benifitBg.png") no-repeat center center;
  background-size: cover;
  padding: 150px 20px;
  text-align: center;
  color: white;
}

.benefits-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.benefits-section > * {
  position: relative;
  z-index: 2;
}

.benefits-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: bold;
}

.benefits-section p {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 50px;
}

.benefits-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.benefit-card {
  background: #fff9d6;
  color: #064e3b;
  padding: 20px 25px;
  width: 250px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.benefit-card img {
  width: 50px;
  margin-bottom: 10px;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

/* ===========================
   Responsive Styles
   =========================== */

   /* ===========================
   Small Laptops (1024px – 1366px)
   =========================== */
@media (max-width: 1366px) and (min-width: 993px) {
  .banner-container {
    padding: 30px 20px;
    gap: 20px;
  }

  .banner-text {
    max-width: 50%;
  }

  .banner-text h1 {
    font-size: 36px; /* slightly smaller than 42px */
  }

  .subtitle {
    font-size: 14px;
  }

  .shop-btn {
    padding: 10px 25px;
    font-size: 15px;
  }

  .offers {
    font-size: 13px;
  }

  .product-img {
    height: 320px; /* smaller than 400px */
  }

  .discount-badge {
    top: 5%;
    left: -30px;
    transform: rotate(-5deg);
    padding: 15px 20px;
    min-width: 160px;
  }

  .discount-top {
    padding: 8px 35px;
  }

  .discount-code {
    font-size: 14px;
    padding: 8px 15px;
  }

  .discount-badge .percent {
    font-size: 26px;
  }

  .benefits-section {
    padding: 120px 30px;
  }

  .benefit-card {
    width: 220px;
    padding: 18px;
  }
}


/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .banner-container {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .banner-text {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .banner-text h1 {
    font-size: 32px;
  }

  .banner-image {
    justify-content: center;
  }

  .product-img {
    height: 300px;
  }

  .discount-badge {
    left: 0;
    top: -10px;
    transform: rotate(0);
    margin-bottom: 20px;
  }
}

/* Phones (≤ 768px) */
@media (max-width: 768px) {
  .banner-text h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .subtitle {
    font-size: 14px;
  }

  .shop-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .offers {
    font-size: 13px;
  }

  .product-img {
    height: 250px;
  }

  .discount-badge {
    position: static;
    transform: none;
    margin: 0 auto 15px;
  }

  .discount-top {
    position: static;
    transform: none;
    margin-top: 10px;
    padding: 8px 20px;
  }

  .discount-code {
    position: static;
    transform: none;
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 13px;
  }

  .benefits-section {
    padding: 100px 15px;
  }

  .benefits-section h2 {
    font-size: 1.5rem;
  }

  .benefits-section p {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .benefit-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Extra-small Phones (≤ 480px) */
@media (max-width: 480px) {
  .banner-text h1 {
    font-size: 22px;
  }

  .subtitle {
    font-size: 13px;
  }

  .shop-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
  }

  .offers {
    font-size: 12px;
  }

  .product-img {
    height: 200px;
  }

  .discount-badge {
    text-align: center;
    padding: 15px;
    min-width: auto;
  }

  .discount-badge .percent {
    font-size: 22px;
  }

  .discount-badge .condition {
    font-size: 12px;
  }

  .discount-code span {
    font-size: 14px;
  }

  .benefits-section {
    padding: 80px 10px;
  }

  .benefits-section h2 {
    font-size: 1.3rem;
  }

  .benefits-section p {
    font-size: 0.85rem;
  }

  .benefit-card h3 {
    font-size: 1rem;
  }

  .benefit-card img {
    width: 40px;
  }
}


/* <!-- Mustard Oil Cake Powder Banner   --> */

.benefits-section {
  position: relative; /* needed for overlay */
  background: url("./img/benifitBg.png") no-repeat center center;
  background-size: cover;
  padding: 150px 20px;
  text-align: center;
  color: white; /* ensures text is visible over overlay */
}

.benefits-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* black overlay with 50% opacity */
  z-index: 1;
}

.benefits-section > * {
  position: relative;
  z-index: 2; 
}

.benefits-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: bold; /* makes the font bold */
}
.benefits-section p {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 50px;
}

.benefits-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.benefit-card {
  background: #fff9d6;
  color: #064e3b;
  padding: 20px 25px;
  width: 250px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

/* .benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
} */

.benefit-card img {
  width: 50px;
  margin-bottom: 10px;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 768px) {
  .benefits-cards {
    flex-direction: column;
    gap: 20px;
  }
}

/* <!-- Mustard Oil Cake Powder Banner   --> */


/* <!-- Organic Pest   --> */

.organic-pest {
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #4caf84;
  min-height: 80vh;
  background-image: url('./img/musterdbg.png'); 
  background-size: contain;
  background-repeat: repeat;
  color: #fff; 
  overflow: hidden; 
}

.organic-pest::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(47, 122, 87, 0.92); 
  z-index: 0; 
}

.o.organic-pest {
  display: flex;
  flex-wrap: wrap; /* allow stacking on smaller screens */
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  background: #2f6e4e; /* example background, adjust if needed */
}

.organic-pest-content,
.organic-pest-images {
  position: relative;
  z-index: 1;
  flex: 1 1 50%; /* two-column by default */
}

/* Left Content */
.organic-pest-content {
  max-width: 500px;
  padding-left: 8rem;
}

.organic-pest-content h1 {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.organic-pest-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #fff;
}

/* Button */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: #2f6e4e;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  /* background: #2f6e4e; */
  color: #fff;
}

/* Right Image */
.organic-pest-images {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.organic-pest-images img {
  max-width: 80%;
  height: auto;
}

/* =========================
   ✅ Responsive Styles
   ========================= */
@media (max-width: 1024px) {
  .organic-pest-content {
    padding-left: 4rem;
  }

  .organic-pest-content h1 {
    font-size: 38px;
  }

  .organic-pest-content p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .organic-pest {
    flex-direction: column; /* stack content + image */
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .organic-pest-content {
    padding-left: 0;
    max-width: 100%;
  }

  .organic-pest-content h1 {
    font-size: 32px;
  }

  .organic-pest-content p {
    font-size: 15px;
  }

  .organic-pest-images {
    justify-content: center;
    margin-top: 2rem;
  }

  .organic-pest-images img {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .organic-pest-content h1 {
    font-size: 26px;
  }

  .organic-pest-content p {
    font-size: 14px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* <!-- Organic Pest   --> */

/* <!-- Remomended Products   --> */
.recommended-section {
  padding: 20px;
  font-family: Arial, sans-serif;
}

.recommended-section h2 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  font-size: 28px; /* reduced */
  font-weight: 600;
  color: #222;
}

/* Slider */
.slider-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

/* Card */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 0 12px;
  flex: 0 0 260px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Image area */
.card-image {
  background: #f0f9f3;
  padding: 20px;
  position: relative;
  text-align: center;
}

.card-image img {
  width: 100%;
  max-height: 150px; /* slightly smaller */
  object-fit: contain;
}

.card-image .wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: #fff;
  border-radius: 50%;
  width: 30px;  /* smaller */
  height: 30px; /* smaller */
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Content area */
.card-body {
  padding: 12px;
  text-align: left;
}

.product-title-2 {
  font-size: 12px;  
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.4;
  min-height: 36px;
}

.price {
  font-size: 14px; /* smaller */
  font-weight: bold;
  color: #1c4220;
}

.old-price {
  text-decoration: line-through;
  color: gray;
  font-size: 12px; /* smaller */
  margin-left: 6px;
}

/* ✅ Discount + Rating Row */
.discount-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0;
  width: 100%;
}

.discount {
  display: inline-block;
  background: #eafbe6;
  color: #2d8a34;
  font-size: 11px; /* smaller */
  font-weight: bold;
  padding: 3px 20px;
  border-radius: 20px;
}

.rating {
  font-size: 12px; /* smaller */
  color: #f4b400;
}

.rating span {
  color: #333;
  font-size: 11px; /* smaller */
  margin-left: 5px;
}

.add-cart {
  width: 100%;
  padding: 10px; /* reduced */
  background: #0c4010;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 13px; /* smaller */
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Nav buttons */
.nav-wrapper {
  position: relative;
  width: 100%;
}

.nav {
  position: absolute;
  top: -200px; /* adjusted for smaller cards */
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px; /* smaller */
  transition: all 0.3s ease;
  z-index: 10;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.selling_products{
    /* background-color: #48896A; */
    background-repeat: no-repeat;
    background-size: cover;
    padding: 88px 0 106px;
}
.action-add-to-cart-form{
  background: linear-gradient(94.04deg, #313F31 17.27%, #1A251B 73.71%) !important;
}
.tp{
      padding-top: 5rem;
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #222;
}

.theme-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-filter .filter-btn {
  border: 1.5px solid #bbb;
  background: transparent;
  color: #444;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover effect */
.theme-filter .filter-btn:hover {
  border-color: #27ae60;
  color: #27ae60;
}

/* Active effect */
.theme-filter .filter-btn.active {
  border: 1.5px solid #27ae60;
  color: #27ae60;
  font-weight: bold;
}


/* ✅ Responsive: small laptops and tablets */
@media (max-width: 1024px) {
  .card {
    flex: 0 0 220px;
  }

  .price {
    font-size: 13px;
  }
}

/* ✅ Responsive: mobiles */
@media (max-width: 768px) {
  .slider {
    flex-wrap: nowrap;
  }

  .card {
    flex: 0 0 170px;
  }

  .recommended-section h2 {
    font-size: 22px;
  }
}

/* <!-- Recommended Products --> */
