/* Imported Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* External CSS for Navbar */
body {
  font-family: Poppins;
  background-color: #f8f9fa; /* Light gray background */
  margin: 0;
}

*{
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  margin: auto;
  position: relative;
  z-index: 100;
}

.navbar .navbar-brand {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.navbar .navbar-brand img {
  width: 40px;
  margin-right: 10px;
}

.navbar .nav-link {
  font-size: 16px;
  color: #555;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #0d6efd !important; /* Ensures active link is highlighted */
}

.navbar .nav-link:hover {
  color: #007bff; /* Bootstrap's primary blue */
}

/* Dropdown Menu */
.dropdown-menu.custom-dropdown {
  width: 250px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
  padding: 10px 15px;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
  background-color: #f0f8ff;
  color: blue;
}

.dropdown-item.active {
  background-color: #e6f7ff;
  color: blue;
}

/* Breadcrumb */
.breadcrumb-container {
  padding: 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.breadcrumb li a {
  text-decoration: none;
  color: #007bff;
  transition: color 0.3s ease;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.breadcrumb li {
  color: #6c757d;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 5px;
  color: #6c757d;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.8rem;
    gap: 5px;
  }
}

@media (max-width: 576px) {
  .breadcrumb {
    font-size: 0.7rem;
  }
}

/* WhatsApp Icon */
.whatsapp-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #25D366;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-icon img {
  width: 30px;
  height: 30px;
}

/* Primary Button */
.btn-primary {
  margin-top: 10px;
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Shop By Category Section */
.shop-by-category {
  padding: 30px 15px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #0074c8;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 4px solid #0074c8;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.category-item {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 15px 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.category-item a {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.category-item:hover {
  background-color: #0074c8;
  transform: translateY(-5px);
}

.category-item:hover a {
  color: #fff;
}

/* Product Section */
.products-section {
  padding: 30px 15px;
  background-color: #ffffff;
}

.products-section .section-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #0074c8;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 4px solid #0074c8;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Product Card Styling */
.product-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 15px;
}

.product-category {
  font-size: 1rem;
  font-weight: bold;
  color: #0074c8;
  margin-bottom: 5px;
}

.product-name {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 15px;
}

.card {
  display: flex;
  flex-direction: column;
}

.card-body {
  flex: 1; /* Make the body take up the remaining height */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Align the title, text, and button */
}

.card .btn {
  margin-top: auto; /* Push the button to the bottom */
}

