body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.top-offer {
  background-color: #8ec51f;
  color: #000;
  font-weight: bold;
  padding: 5px 0;
  width: 100vw;
  overflow: hidden;
}

.top-offer marquee {
  text-indent: 0;   /* Safari ke center bug ko fix karega */
}

.top-offer marquee span {
  margin-right: 200px; /* spans ke bich gap aayega */
  display: inline-block;
}


/* .top-offer marquee{
  
} */

/* @keyframes scroll-left {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-100%);
      }
    } */

/* Navbar custom styling */
   .fas{
    color: #5b9915;
  }

/* ===== YOUR FULL CSS ===== */
.navbar-custom {
  background-color: #fef9ef;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  animation: fadeInDown 1s ease-in-out;
}

.navbar-brand img {
  height: 70px;
  animation: popIn 0.8s ease forwards;
}

/* Icons desktop */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 30px;
  animation: fadeInLeft 1s ease-in-out;
}

.nav-icons i {
  font-size: 20px;
  color: #5b9915;
  transition: transform 0.3s;
}

.nav-icons i:hover {
  transform: scale(1.3);
  cursor: pointer;
}

/* Search box */
.search-box {
  margin-left: 20px;
  font-size: 20px;
  color: #5b9915;
  animation: fadeInRight 1s ease-in-out;
  position: relative;
}

.search-box i {
  font-size: 20px;
  color: #5b9915;
  cursor: pointer;
  transition: transform 0.3s;
}

.search-box i:hover {
  transform: scale(1.2);
}

#searchInput {
  display: none;
  position: absolute;
  top: 0;
  left: 30px;
  width: 300px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-size: 14px;
  z-index: 1000;
}

#searchResults {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  width: 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  font-size: 14px;
}

/* Each search item */
.search-item {
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 14px;
}
.search-item:hover {
  background-color: #f1f5f9;
}

/* Desktop menu */
.navbar-menu {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  display: flex;
  justify-content: center;
  gap: 50px;
  font-weight: 500;
  padding: 10px 20px;
  animation: slideInUp 1.2s ease-in-out;
}
.navbar-menu a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}
.navbar-menu a:hover {
  color: #8ec51f;
}

/* Offcanvas (Mobile Sidebar) */
.offcanvas {
  background-color: #fef9ef;
}
.offcanvas .offcanvas-title {
  font-weight: 600;
  color: #5b9915;
}
.offcanvas a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}
.offcanvas a:hover {
  color: #8ec51f;
}
.offcanvas .fa-search {
  font-size: 20px;
  color: #5b9915;
}

/* Custom hamburger icon */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2850,50,50,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Product search dropdown */
.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.search-item:last-child { border-bottom: none; }
.search-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
}
.search-item .item-name {
  flex: 1;
  font-weight: 500;
  color: #2d3748;
}
.search-item .item-price {
  font-weight: 600;
  color: #5b9915;
}

/* ========= RESPONSIVE FIX ========= */

/* Tablet */
@media screen and (max-width: 992px) {
  .navbar-brand img { height: 55px; }
  .btn-order { padding: 6px 12px; font-size: 14px; }
  .navbar-custom { padding: 8px 15px; }
  .nav-icons i { font-size: 18px; }
  #searchInput { width: 200px; }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .navbar-custom { padding: 6px 10px; }
  .navbar-brand img { height: 45px; }
  /* hide buttons outside */
  .btn-order { display: none !important; }
  .nav-icons,
  .d-flex.align-items-center.ms-auto { gap: 15px; }
  .search-box { display: none; }
}

/* Extra small phones */
@media screen and (max-width: 480px) {
  .navbar-brand img { height: 40px; }
  .nav-icons i { font-size: 16px; }
}

/* Banner  */

.hero-img {
  height: 600px;
  object-fit: cover;
}

.carousel-caption {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.3); /* overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text {
  background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.5));
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  animation: fadeUp 1.5s ease-in-out forwards;
}

.hero-text h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #000;
}

.btn-hero {
  margin-top: 15px;
  background-color: #8ec51f;
  color: #000;
  font-weight: 700;
  border-radius: 20px;
  padding: 10px 25px;
  transition: background-color 0.3s;
}

.btn-hero:hover {
  background-color: #76a519;
}

/* Animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(50px);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-img {
    height: 500px;
  }
  .hero-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero-img {
    height: 400px;
  }
  .hero-text {
    padding: 20px;
  }
  .hero-text h2 {
    font-size: 1.5rem;
  }
  .btn-hero {
    padding: 8px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero-img {
    height: 300px;
  }
  .hero-text h2 {
    font-size: 1.2rem;
  }
}


/* Catageory */
/* Category Box Styling */
.category-box {
  padding: 20px;
  border-radius: 10px;
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
}

/* Active Class for Scroll Animation */
.category-box.reveal {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 1s ease-in-out forwards;
}

.category-box img {
  height: 150px;
  object-fit: contain;
}

/* Button Styling */
.action-btn {
  background-color: #8ec51f;
  color: black;
  font-weight: 500;
  border-radius: 20px;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.action-btn:hover {
  background-color: #76a519;
  transform: scale(1.05);
}

/* Hover Effect */
.animated-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}



/* Product */
/* Scroll Reveal Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base style for hidden cards */
.product-card {
  /* opacity: 0; */
  transform: translateY(40px);
}

.product-card.reveal-up {
  animation: fadeInUp 0.7s ease-out forwards;
}

.product-card.reveal-down {
  animation: fadeInDown 0.7s ease-out forwards;
}


/* One Product */

.animate-delay-1 {
  animation-delay: 0.5s;
}

.animate-delay-2 {
  animation-delay: 1s;
}

/* Best Product */

.product-card-best-product {
  background-color: #f0ffd9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.price {
  font-size: 2rem;
  font-weight: bold;
}
.old-price {
  text-decoration: line-through;
  color: #888;
}
.timer-circle {
  background-color: #47b749;
  color: white;
  font-weight: bold;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  flex-direction: column;
  font-size: 16px;
}
.btn-custom {
  background-color: #47b749;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  padding: 12px 30px;
  border-radius: 10px;
}

.product-card-best-product {
  background-color: #f0ffd9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.price {
  font-size: 2rem;
  font-weight: bold;
}
.old-price {
  text-decoration: line-through;
  color: #888;
}
.timer-circle {
  background-color: #47b749;
  color: white;
  font-weight: bold;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  flex-direction: column;
  font-size: 16px;
}
.btn-custom {
  background-color: #47b749;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  padding: 12px 30px;
  border-radius: 10px;
}


/* Best 2 Product */

.product-box {
  display: flex;
  flex-direction: row;
  background-color: #fefef2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.product-image {
  background-color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 425px) {
  .product-box {
    flex-direction: column;
  }
}

.product-image img {
  max-height: 300px;
  width: auto;
}

.product-details {
  background-color: #49b84f;
  color: white;
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .product-details {
    padding: 15px;
  }
}

.product-details h4 {
  font-weight: 600;
}

.rating i {
  color: gold;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
}

.old-price {
  text-decoration: line-through;
  color: #e5e5e5;
  font-size: 1.1rem;
  margin-left: 10px;
}

.icon-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.icon-circle {
  max-width: 45px;
  padding: 10px;
  max-height: 45px;
  background-color: #c8eacb;
  color: #2b722e;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.icon-circle:hover {
  background-color: #fff;
}


/* More Product */

.section-bg {
  background-color: #fce5e5;
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #f59031;
  text-align: center;
  margin-bottom: 40px;
}

.video-box video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
  background-color: #d9d9d9;
}

.product-card-more-product {
  background-color: #f8f6e7;
  padding: 15px 20px;
  margin-top: -30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.product-card-more-product img.img1 {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.product-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.product-price {
  color: #222;
  font-size: 16px;
  margin-bottom: 10px;
}

.btn-add {
  background-color: #2f5f2f;
  color: white;
  font-weight: 500;
  font-size: 14px;
}

.btn-cart-icon {
  background-color: #2f5f2f;
  color: white;
  padding: 6px 10px;
  font-size: 18px;
  width: 100px;
  border: 2px solid white;

}

.btn-cart-icon:hover {
  background-color: white;
  color: #2f5f2f;
  padding: 6px 10px;
  font-size: 18px;
  border: 2px solid #2f5f2f;
}

.btn-link-icon {
  background-color: #e4e4c8;
  color: #2f5f2f;
  padding: 6px 10px;
  font-size: 18px;
  border-radius: 50%;
  float: right;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

@media (max-width: 767px) {
  .video-box video {
    aspect-ratio: 9 / 16;
    height: auto;
  }

  .product-card-more-product {
    margin-top: -20px;
  }
}

/* Fix for 1024px screen */
@media (max-width: 1200px) {
  .product-card-more-product .d-flex.align-items-center.gap-5 {
    gap: 15px !important;  /* bada gap hata diya */
  }

  .btn-link-icon {
    float: none;              /* float remove kiya */
    margin-left: 10px;        /* thoda spacing diya */
    flex-shrink: 0;           /* shrink hone se bacha */
  }

  .product-card-more-product .d-flex.align-items-center.justify-content-between {
    flex-wrap: wrap;          /* agar jagah kam ho to neeche aajaye */
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .product-card-more-product .d-flex.align-items-center.gap-5 {
    gap: 10px !important;     /* mobile pe aur chhota gap */
  }

  .btn-link-icon {
    margin-left: auto;        /* mobile pe right side hi rahe */
  }
}

/* Client Rewier */

.section-title1 {
  color: #f7953d;
  font-weight: 600;
  text-align: center;
  margin: 40px 0 30px;
  font-size: 2.5rem;
}

.review-card {
  background-color: #fdfae8;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-radius: 10px;
}

.skew-left {
  transform: perspective(1000px) rotateY(-3deg);
}

.skew-right {
  transform: perspective(1000px) rotateY(3deg);
}

.review-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.review-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.review-role {
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
}

.review-text {
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 767px) {
  .skew-left,
  .skew-right {
    transform: none;
  }

  .review-card {
    margin: 0 15px;
  }
}


/* Benifits */

.benefits-image-box {
  background: url('https://i.ibb.co/x1JhG2M/spinach.jpg') no-repeat center center;
  background-size: cover;
  border-radius: 25px;
  min-height: 400px;
  position: relative;
}

.benefits-list-box {
  background-color: #eef9d2;
  border-radius: 25px;
  padding: 30px 25px;
  color: #2c3e50;
}

.benefits-list-box h3 {
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

.benefits-list-box ul {
  list-style: none;
  padding-left: 0;
}

.benefits-list-box li {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .benefits-image-box {
    min-height: 300px;
  }
}


/* About Us */

.about-title {
  color: #ff914d;
  font-weight: bold;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.about-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name {
  font-weight: 700;
  font-size: 3rem;
}

.brand-subtitle {
  font-size: 1.1rem;
  margin-top: -10px;
  margin-bottom: 25px;
  color: #444;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  color: #2c2c2c;
}

@media (max-width: 768px) {
  .about-image {
    margin-bottom: 20px;
    aspect-ratio: auto;
  }

  .brand-name {
    font-size: 2.2rem;
  }

  .tagline {
    font-size: 1.2rem;
    text-align: center;
  }
}

/* Blog */

.blog-title {
  color: #ff914d;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

.main-blog img {
  max-width: 100%;
  border-radius: 6px;
}

.blog-button {
  background-color: #ff914d;
  color: #fff;
  font-weight: 600;
  padding: 8px 18px;
  border: none;
  border-radius: 30px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.blog-button:hover {
  background-color: #e2782e;
}

.blog-button i {
  margin-left: 8px;
}

.side-blog img {
  width: 120px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
}

.side-blog .blog-content {
  padding-left: 15px;
}

.side-blog h6 {
  font-weight: bold;
  margin-bottom: 5px;
}

.side-blog p {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .side-blog {
    flex-direction: column;
    align-items: start;
  }

  .side-blog .blog-content {
    padding-left: 0;
    padding-top: 10px;
  }

  .side-blog img {
    width: 100%;
    height: auto;
  }
}

/* Footer */

.footer {
  background-color: #96d219;
  color: #fff;
  padding: 60px 0 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer h5 {
  color: #fff;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer p,
.footer a {
  color: #fff;
  font-size: 16px;
  margin: 0;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  color: #086007;
}

.footer .icon-text i {
  margin-right: 10px;
}

.footer .social-icons i {
  font-size: 20px;
  margin-right: 15px;
  color: #fff;
}

.newsletter-input {
  background: #f9f6e8;
  color: #5a8248;
  border-radius: 20px;
  padding: 10px 20px;
  border: none;
  width: 100%;
}

.newsletter-box {
  background: #f9f6e8;
  padding: 10px 15px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.newsletter-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
}

.newsletter-box i {
  color: #5a8248;
  font-size: 18px;
  cursor: pointer;
}

.payment-icons {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.payment-icons i {
  font-size: 26px;
  margin: 8px 10px;
  color: #4d8530;
}

.payment-icons i:hover {
  color: #043704;
}

.footer-bottom {
  background: #fff;
  color: #000;
  padding: 10px 0;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer .col-md-6 {
    margin-bottom: 30px;
    text-align: center;
  }
  .footer .social-icons {
    justify-content: center;
  }
  .newsletter-box {
    flex-direction: row;
    padding: 8px 12px;
  }
}
