body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f0f8ff;
}

header {
  background: #22aeff;
  color: white;
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 3rem;
  padding-right: 1rem;
}

header {
  background: #22c4ff;
  color: white;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 10px;
  padding: 0;
}

.navbar li {
  display: inline;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

.navbar a:hover {
  color: #ffe082;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

#cart-toggle {
  background: white;
  color: #010407;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 30px;
  transition: background 0.3s ease-in-out;
}

#cart-toggle:hover {
  background: #ececec;
}

#search-bar {
  padding: 0.5rem;
  height: 20px;
  border: none;
  border-radius: 6px;
  width: 220px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 1rem;
  gap: 1rem;
}

.product-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
  width: 180px;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
}

.product-card .description {
  font-size: 0.9rem;
  color: #555;
  margin: 5px 0;
}

.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.product-card button {
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  background-color: #22deff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 2rem;
}
.product-card:hover{
  box-shadow: 0 0px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  transition: all 0.3s ease-in-out;
}

button {
  background-color: #22deff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  border-radius: 5px;
}

#cart {
  position: fixed;
  top: 70px;
  right: 0;
  background: white;
  width: 300px;
  height: 100%;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  padding: 1rem;
  overflow-y: auto;
  z-index: 100;
}

#cart.hidden {
  display: none;
}

#cart-items {
  list-style: none;
  padding: 0;
}

#cart-items li {
  margin-bottom: 0.5rem;
}

#cart-total {
  text-align: right;
  font-size: 1rem;
  color: #333;
}

#search-bar {
  padding: 0.5rem;
  width: 200px;
  border: none;
  border-radius: 5px;
}

html {
  scroll-behavior: smooth;
}

.page-section {
  padding: 4rem 2rem;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  font-size: 3rem;
  padding-left: 60px;
  width: 191.3vh;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.5) 50%), url('comp.png');
  background-position: center;
  background-size: cover;
  height: 100vh;
}

.page-section h2 {
  color: #22c4ff;
  font-size: larger;
  padding-top: 75px;
}

.page-section p {
  color: #fefefe;
  font-size: 1.2rem;
}

.about-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f0f8ff;
}

.about-box {
  max-width: 700px;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.about-box h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
}

.about-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.contact-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f0f8ff;
}

.contact-box {
  max-width: 700px;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-box h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #22c4ff;
}

.contact-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.contact-info {
  list-style: none;
  padding: 0;
  font-size: 16px;
  color: #555;
  line-height: 2;
}

.contact-info a {
  color: #22c4ff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 10px;
}

#cart-total {
  font-weight: bold;
  font-size: 1rem;
  color: #333;
}

#checkout-btn {
  padding: 0.4rem 0.8rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  background-color: #28a745;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

#checkout-btn:hover {
  background-color: #218838;
}
