body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.products .product-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.products .product {
  text-align: center;
  margin-bottom: 20px;
  flex: 1 0 21%; /* Arrange 4 products in one row */
  box-sizing: border-box;
  padding: 10px;
}

.products .product img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
}

.products .btn,
.hero .btn,
.cta .btn {
  display: inline-block;
  margin-top: 10px;
  background: #ff6600;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.products .btn:hover,
.hero .btn:hover,
.cta .btn:hover {
  background: #e55a00;
}

.hero {
  background: url('../images/hero.jpg') no-repeat center center;
  background-size: cover;
  height: 50vh; /* Make the hero element cover 50% of the screen height */
  display: flex;
  align-items: center;
  color: #fff;
}

#home .container {
  text-align: center; /* Align text to the center only for the section with id="home" */
  padding: 20px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0; /* Remove default margin */
}

.hero p {
  font-size: 1.25rem;
  margin: 10px 0; /* Add margin for spacing between paragraphs */
}

@media (max-width: 768px) {
  .hero {
    height: 50vh; /* Smaller height for mobile devices */
  }
  
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .products .product {
    flex: 1 0 48%; /* 2 products per row on mobile devices */
  }

  .feature, .product, .testimonial {
    width: 100%; /* Full width for features, products, and testimonials on mobile devices */
  }
}

@media (max-width: 480px) {
  .products .product {
    flex: 1 0 100%; /* 1 product per row on smaller devices */
  }
}

header {
  background: #333;
  color: #fff;
  padding: 10px 0;
}

header .logo img {
  width: 150px;
}

header nav ul {
  list-style: none;
  padding: 0;
}

header nav ul li {
  display: inline;
  margin-right: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
}

.features, .products, .testimonials, .cta {
  padding: 30px 0; /* Reduced padding for less space between sections */
}

.feature-list, .product-list, .testimonial-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.feature, .product, .testimonial {
  width: 30%;
  text-align: center;
  margin-bottom: 20px;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  display: inline;
  margin-right: 10px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .feature, .product, .testimonial {
    width: 100%;
  }
}
