body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 20px 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-header .logo {
  font-size: 24px;
  font-weight: bold;
}

.main-header nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.main-header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 40px;
  background: linear-gradient(to right, #f1f1f1, #e2e2e2);
}

.hero-content {
  max-width: 50%;
}

.hero-content h1 {
  font-size: 42px;
  margin: 0;
  line-height: 1.2;
}

.hero-content h1 span {
  color: red;
  font-weight: bold;
}

.hero-content p {
  margin-top: 20px;
  font-size: 18px;
}

.hero-content .btn {
  margin-top: 30px;
  padding: 10px 20px;
  background-color: red;
  color: #fff;
  border: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.hero img {
  max-width: 400px;
}

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 40px;
}

.category {
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  text-align: center;
}

.category button {
  margin-top: 10px;
  background: #fff;
  color: inherit;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.red { background-color: #e53935; }
.yellow { background-color: #fbc02d; color: #000; }
.blue { background-color: #1e88e5; }
.green { background-color: #43a047; }
.orange { background-color: #fb8c00; }
.purple { background-color: #8e24aa; }

footer {
  text-align: center;
  padding: 20px;
  background-color: #fff;
  margin-top: 40px;
  font-size: 14px;
}
.section-title {
  text-align: center;
  font-size: 32px;
  margin: 40px 0 20px;
}

.products-section {
  padding: 0 40px 40px;
}

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

.product-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  max-width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 18px;
  margin: 10px 0;
}

.product-card p {
  color: #777;
  font-size: 16px;
  margin-bottom: 10px;
}

.product-card button {
  background-color: red;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}
