body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: lightblue;
  color: white;
  padding: 10px;
  font-size: 24px;
}

header h1 {
  color: white;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin: 0 10px;
}

nav ul li:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: gray;
}

nav ul li a {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav ul li a {
    font-size: 30px; /* Increase the font size */
    padding: 10px 20px; /* Increase the padding around the button */
}

nav ul li a:hover {
  text-decoration: none;
}

nav ul li a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: black;
}

nav ul li.current-page a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: black;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: lightblue;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border: 1px solid lightgray;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: bold;
  border-bottom: 1px solid white;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.category-container {
  margin-top: 20px;
}

.category-heading {
  text-align: center;
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 10px;
}

.category-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the images */
  gap: 20px;
}

.subcategory-heading {
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.category-gallery div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-image {
  width: 300px;
  height: auto;
}

.model {
  font-weight: bold;
}

.enquire-button {
  background-color: lightblue;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}

.enquiry-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  overflow: auto;
}

.enquiry-form {
  background-color: white;
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 5px;
  position: relative;
}

.enquiry-form label {
  display: block;
  margin-bottom: 10px;
}

.enquiry-form input[type="text"],
.enquiry-form input[type="email"],
.enquiry-form textarea {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
}

.enquiry-form button {
  background-color: blue;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: black;
  cursor: pointer;
}

/* CSS for Flex container */
.flex-container {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
}

footer {
  background-color: black;
  color: #fff;
  padding: 10px;
  text-align: center;
}

footer .contact-info,
footer .location-info {
  display: inline-block;
  text-align: center;
  width: 33.33%;
}

footer .follow-us {
  display: inline-block;
  text-align: center;
  width: 33.33%;
}

footer p {
  margin: 5px 0;
  font-weight: bold;
}

.clearfix {
  clear: both;
}
/* The existing CSS for desktop goes here... */

@media (max-width: 768px) {
  header {
    padding: 5px;
    font-size: 20px;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 5px 0;
  }

  nav ul li:not(:last-child)::after {
    margin-left: 0;
    margin-right: 10px;
  }

  nav ul li a {
    font-size: 24px;
    padding: 8px 16px;
  }

  .category-heading, .subcategory-heading {
    font-size: 28px;
  }

  .category-gallery {
    gap: 10px;
  }

  .category-image {
    width: 250px;
  }

  .enquiry-form {
    max-width: 90%;
  }

  .flex-container {
    flex-direction: column;
    align-items: center;
  }

  footer .contact-info,
  footer .location-info,
  footer .follow-us {
    width: 100%;
    margin: 10px 0;
  }
}
