/* ✅ GENERAL STYLES */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* ✅ HEADER MENU */
.header-menu-container {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  position: relative;
  z-index: 1000;
}

/* ✅ DESKTOP MENU */
.header-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2596be;
  border-radius: 8px;
  padding: 10px 20px;
  position: relative;
  z-index: 1001;
}

.header-menu ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  gap: 30px;
}

.header-menu ul li {
  position: relative;
}

.header-menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 10px 15px;
  display: block;
}

.header-menu ul li a:hover {
  background-color: #1f7aa8;
  border-radius: 5px;
}

/* ✅ DROPDOWNS */
.header-menu .submenu ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background-color: #1f7aa8;
  padding: 0;
  min-width: 150px;
  z-index: 9999;
}

.header-menu .submenu:hover ul {
  display: block;
}

.header-menu .submenu ul li a {
  padding: 10px;
  display: block;
  color: white;
}

/* ✅ MOBILE MENU */
.mobile-menu {
  text-align: center;
  padding: 10px;
}

#hamburger-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #2596be;
  cursor: pointer;
}

.mobile-dropdown {
  display: none;
  background-color: #2596be;
  padding: 10px;
  border-radius: 5px;
}

.mobile-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-dropdown ul li {
  padding: 10px;
}

.mobile-dropdown ul li a {
  color: white;
  text-decoration: none;
  display: block;
}

/* ✅ SHOW MOBILE MENU WHEN TOGGLED */
@media (max-width: 768px) {
  .header-menu {
    display: none;
  }

  .mobile-dropdown.show {
    display: block;
  }
}

/* ✅ FIX SEARCH & CART LINE */
.search-cart-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ✅ Search Box Styling */
.search-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.search-container input[type="text"] {
  padding: 5px;
  width: 180px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 5px;
}

.search-icon img {
  width: 20px;
}

/* ✅ Customer Service */
.customer-service-container {
  text-align: center;
  font-size: 14px;
  color: #2596be;
}

.customer-service-email {
  color: #2596be;
  text-decoration: none;
}

/* ✅ Cart Section */
.cart-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.cart-image {
  position: relative;
  display: inline-block;
}

.cart-image img {
  width: 30px;
}

/* ✅ FIX RED QUANTITY OVERLAY (CART) */
.quantity-overlay {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: red;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid white;
}

/* ✅ RESPONSIVE FIXES */
@media (max-width: 768px) {
  .search-cart-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .search-container {
    width: 100%;
    justify-content: center;
  }

  .search-container input[type="text"] {
    width: 90%;
    max-width: 250px;
  }

  .customer-service-container {
    width: 100%;
    margin-top: 5px;
  }

  .cart-container {
    width: 100%;
    justify-content: center;
    margin-top: 5px;
  }
}

/* ✅ FIX INDEX PAGE IMAGE CONTAINMENT */
.section-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

/* ✅ FIX IMAGE SECTIONS */
.section {
  width: 30%; /* Each section should take 30% of the container width */
  min-width: 280px;
  text-align: center;
  border: 3px solid #2596be;
  border-radius: 10px;
  overflow: hidden;
  height: auto;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

/* ✅ FIX IMAGE SIZING */
.section img {
  width: 100%;
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

/* ✅ STACK SECTIONS VERTICALLY ON MOBILE */
@media (max-width: 768px) {
  .section-container {
    flex-direction: column;
    align-items: center;
  }
  .section {
    width: 90%;
    height: auto;
  }
  .section img {
    height: auto;
  }
}






  