body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #fff; /* Updated background color */
}

.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
  padding: 0 20px; /* Add padding to the container */
}

header {
  background-color: #333;
  color: white;
  padding: 1em 0;
  border-bottom: 3px solid #007bff; /* Add a border to the header */
  position: relative; /* Add position relative */
}

header a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease; /* Add transition for hover effect */
}

header a:hover {
  color: #007bff; /* Change color on hover */
}

header h1 {
  float: left;
  margin: 0;
}

header nav {
  float: right;
  margin-top: 10px;
}

header nav ul {
  list-style: none;
  padding: 0;
}

header nav ul li {
  display: inline;
  margin: 0 1em;
}

/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 400px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

.popup h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #333;
}

.popup label {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.popup input[type="text"],
.popup input[type="email"],
.popup input[type="password"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.popup button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.popup button:hover {
  background-color: #0056b3;
}

main {
  padding: 20px 0;
}

#hero {
  background-color: #f8f9fa; /* Light gray background */
  padding: 80px 0;
  margin-bottom: 30px;
  text-align: center; /* Center the content */
}

#hero .container {
  display: flex;
  flex-direction: column; /* Stack the content vertically */
  align-items: center;
}

.hero-content {
  flex: 1;
  padding: 0;
  text-align: center;
}

.hero-image {
  flex: 1;
  margin-top: 30px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

#hero h2 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #333;
}

#hero p {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #007bff;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  transition: background-color 0.3s ease; /* Add transition for hover effect */
}

.cta-button:hover {
  background-color: #0056b3; /* Darker shade on hover */
}

#company-overview {
  margin-bottom: 50px;
  padding: 30px 0;
  background-color: #f8f9fa; /* Light gray background */
}

#company-overview .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.overview-image {
  flex: 1;
  margin-right: 30px;
}

.overview-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.overview-content {
  flex: 1;
  padding: 20px;
}

.overview-content h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333;
}

.overview-content p {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 15px;
}

.overview-content h3 {
  margin-top: 20px;
  color: #333;
}

.overview-content ul {
  list-style: disc;
  margin-left: 20px;
  color: #666;
}

#main-products {
  margin-bottom: 50px;
}

#main-products .container {
  text-align: center;
}

#main-products h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #333;
}

.product-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.product {
  width: 30%;
  margin-bottom: 30px;
  text-align: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  transition: transform 0.3s ease; /* Add transition for hover effect */
}

.product:hover {
  transform: translateY(-5px); /* Slight lift on hover */
}

.product img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
}

.product p {
  font-size: 1em;
  color: #666;
}

.view-all-button {
  display: inline-block;
  text-align: center;
  margin-top: 30px;
  color: #007bff;
  text-decoration: none;
  font-size: 1.2em;
  padding: 10px 20px;
  border: 2px solid #007bff;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease; /* Add transition for hover effect */
}

.view-all-button:hover {
  background-color: #007bff;
  color: white;
}

#services {
  margin-bottom: 50px;
  background-color: #f8f9fa; /* Light gray background */
  padding: 50px 0;
}

#services .container {
  text-align: center;
}

#services h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #333;
}

.service-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service {
  width: 45%;
  background-color: #fff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  text-align: center;
  transition: transform 0.3s ease; /* Add transition for hover effect */
}

.service:hover {
  transform: translateY(-5px); /* Slight lift on hover */
}

.service img {
  max-width: 100px;
  height: auto;
  margin-bottom: 15px;
}

.service h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #333;
}

.service p {
  font-size: 1em;
  color: #666;
}

#testimonials {
  margin-bottom: 50px;
  padding: 50px 0;
}

#testimonials .container {
  text-align: center;
}

#testimonials h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #333;
}

.testimonial {
  background-color: #f8f9fa; /* Light gray background */
  padding: 30px;
  margin-bottom: 20px;
  border-left: 5px solid #007bff;
  /*display: flex;*/
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.testimonial img {
  max-width: 600px;
  height: auto;
  margin-right: 20px;
}

.testimonial p {
  font-size: 1.1em;
  color: #666;
}

#contact {
  text-align: center;
  padding: 50px 0;
  background-color: #f8f9fa; /* Light gray background */
}

#contact h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #333;
}

#contact p {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 30px;
}

.contact-button {
  background-color: #28a745;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  transition: background-color 0.3s ease; /* Add transition for hover effect */
}

.contact-button:hover {
  background-color: #218838; /* Darker shade on hover */
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  border-top: 3px solid #007bff; /* Add a border to the footer */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }

  #hero .container {
    flex-direction: column;
  }

  .hero-content {
    padding: 0;
  }

  .hero-image {
    margin-top: 20px;
  }

  #company-overview .container {
    flex-direction: column;
  }

  .overview-image {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .product {
    width: 45%;
  }

  .service {
    width: 100%;
  }

  .testimonial {
    flex-direction: column;
    text-align: center;
  }

  .testimonial img {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .product {
    width: 100%;
  }
}
