/* ===== General ===== */
body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden; /* prevent horizontal scroll */
  background-color: #fff;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== Top Bar ===== */
.top-bar span {
  font-size: 0.9rem;
}

.top-bar .container {
  flex-wrap: wrap;
  text-align: center;
  gap: 0.5rem;
}

.top-bar a {
  font-size: 0.9rem;
}

/* ===== Navbar ===== */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #333;
  margin-right: 1rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #007b3e; /* Success green */
}

/* ===== Footer ===== */
.footer {
  position: relative;
}

.footer h5,
.footer h6 {
  font-weight: 600;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  transition: 0.3s;
}

.footer-link:hover {
  color: green;
}

/* ===== Floating Buttons ===== */
#scrollTop,
#scrollDown,
#chatBtn {
  width: 45px;
  height: 45px;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 999;
  position: fixed;
  right: 20px;
}

#scrollTop {
  bottom: 80px;
}

#scrollDown {
  bottom: 50px;
  display: block; /* Optional: adjust visibility */
}

#chatBtn {
  bottom: 140px;
  display: block;
}

#chatBtn i,
.btn-success i {
  color: #fff;
}

/* Hover effects */
.btn-success:hover {
  background-color: #006b34;
}

/* ===== Hero Slider ===== */
.hero-slide {
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* dark overlay */
}

.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.carousel-caption h1 {
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.carousel-caption p {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* ===== Products Hero Section ===== */
.products-hero {
  position: relative;
  background: url('images/products-hero.jpg') center/cover no-repeat;
  padding: 5rem 0;
}
.products-hero .overlay {
  position: absolute;
  inset: 0;
}
.hero-text {
  position: relative;
  z-index: 2;
}

/* ===== Product Card ===== */
.product-card {
  transition: transform 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.product-image {
  height: 200px;
  object-fit: cover;
}

/* ===== Cart Badge ===== */
#cartCount {
  font-size: 0.75rem;
}

/* ===== Modal Image ===== */
#productModalImg {
  object-fit: cover;
  max-height: 300px;
  width: 100%;
}

/* ===== Toast ===== */
#cartToast {
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  border-radius: 10px;
  font-size: 0.95rem;
}

/* ===== Search and Filter Section ===== */
@media (max-width: 768px) {
  .row.g-3.align-items-center {
    flex-direction: column;
  }

  .col-md-6.d-flex {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 10px;
  }

  #searchInput {
    width: 100%;
  }
}

#scrollBtn {
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

/* ===== General Responsive Adjustments ===== */
@media (max-width: 768px) {
  .top-bar span {
    font-size: 0.8rem;
  }
  .hero-slide {
    height: 70vh;
  }
  .carousel-caption h1 {
    font-size: 1.75rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }

  #productModal .modal-body {
    flex-direction: column;
  }
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 110px; /* above scroll buttons */
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-float .pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(37, 211, 102, 0.5);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  z-index: 0;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}

.whatsapp-float i {
  position: relative;
  z-index: 1;
}

.review-box {
  background: #fff;
  border-left: 4px solid green;
}

/* ===== About Us Page Specific Styling ===== */
.hero-about {
  background: url('assets/images/hero10.jpg') center/cover no-repeat;
  height: 40vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-about .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.55);
}

.hero-about h1 {
  z-index: 2;
  font-size: 3rem;
}

.hero-about p {
  z-index: 2;
  font-size: 1.2rem;
}

.section-title {
  color: #28a745; /* main section headings green */
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.section-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
  text-align: center;
}

/* Card styling for About Us, Mission, Values, Products */
.card-hover {
  border: 2px solid #ff9500; /* fruit orange border */
  border-radius: 0.5rem;
  transition: 0.3s;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-hover .card-body i {
  color: #ff9500; /* fruit orange icons */
}

.card-hover .card-title {
  color: #ff9500; /* fruit orange card titles */
}
 body { background-color: #f8f9fa; }
    h2 { color: #28a745; font-weight: bold; margin-bottom: 30px; }

    .card { 
      border-radius: 12px; 
      overflow: hidden; 
      cursor: pointer;
      transition: transform 0.3s; 
    }
    .card:hover { 
      transform: translateY(-5px); 
      box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
    }
    .card-img-top { 
      height: 250px; 
      object-fit: cover; 
    }
    .video-thumbnail {
      height: 250px;
      object-fit: cover;
      width: 100%;
      background-color: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.5rem;
    }

    /* Modal custom */
    .modal-body { background-color: #000; }
    .modal-body img, .modal-body video { max-height: 80vh; }
    .gallery-nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      color: #fff;
      font-size: 2rem;
      background: rgba(0,0,0,0.4);
      border: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .gallery-nav-btn:hover { background: rgba(0,0,0,0.7); }
    #prevBtn { left: 10px; }
    #nextBtn { right: 10px; }