* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #f9fafb;
  color: #333;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  margin: 0;
  background-color: #f8f9fa;
  padding-top: 10vh;
}

a {
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
}

.banner {
  background: #e9f9ef;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  text-align: center;
}

.banner-content h2 {
  font-size: 1.8rem;
  color: #0b3d2e;
  margin-bottom: 1rem;
}

.banner-content button {
  background-color: #0b3d2e;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
}

.banner-content button:hover {
  background-color: #145a40;
}

li {
  list-style: none;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo_pic {
  width: 40px;
  height: 40px;
  background: url("../Assets/mainlogo.png") center/cover;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #2d3748;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links .here a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #667eea;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #667eea;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #667eea;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

/* User Dropdown */
.user-dropdown {
  position: relative;
}

.user-profile-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 25px;
  background: rgba(102, 126, 234, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-profile-nav:hover {
  background: rgba(102, 126, 234, 0.2);
}

.user-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.user-profile-nav span {
  font-weight: 600;
  color: #2d3748;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-profile-nav i {
  color: #667eea;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.user-dropdown:hover .user-profile-nav i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.user-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #2d3748;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-item:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.dropdown-item i {
  width: 18px;
  font-size: 1rem;
  color: #667eea;
}

.dropdown-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
}

.mobile-menu:hover {
  transform: scale(1.1);
}

/* Header */
.top-bar {
  background-color: #0b3d2e;
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-around;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 1rem 3%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 45px;
  height: 45px;
}

.logo h1 {
  font-size: 1.3rem;
  color: #0b3d2e;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #0b3d2e;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-right input {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid #ccc;
  width: 200px;
}

.nav-right i {
  font-size: 1.2rem;
  color: #0b3d2e;
  cursor: pointer;
}

/* Banner */
.banner {
  background: #e9f9ef;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  text-align: center;
}

.banner-content h2 {
  font-size: 1.8rem;
  color: #0b3d2e;
  margin-bottom: 1rem;
}

.banner-content button {
  background-color: #0b3d2e;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
}

.banner-content button:hover {
  background-color: #145a40;
}

/* Filters */
.filters {
  background-color: white;
  margin: 2rem auto;
  padding: 1rem 5%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.filter-group select,
.sort-btn {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
  font-size: 0.9rem;
}

/* Product Section */
.product-section {
  width: 90%;
  margin: 0 auto 3rem auto;
}

.product-section h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #0b3d2e;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

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

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1rem;
  color: #0b3d2e;
  margin-bottom: 0.25rem;
}

.product-card p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.product-card .rating {
  display: block;
  color: #ffb703;
  font-size: 0.85rem;
}

.price {
  color: #0b3d2e;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-card button {
  background-color: #0b3d2e;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
}

.product-card button:hover {
  background-color: #145a40;
}

/* Footer */
.footer {
  background-color: #0b3d2e;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
