/* Basic styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #004080;
  color: #fff;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  margin: 0;
  color: #F0F0F0; /* Remove default margin to move the title more to the left */
}

@media screen and (min-width: 768px) {
  /* Mobile Menu CSS */
  .mobile-nav {
    display: none;
  }

  .mobile-toggle {
    display: none;
  }
}

/* Styling for the three lines icon */
.bar {
  width: 25px;
  height: 3px;
  background-color: #FFF;
  margin: 4px 0;
}

/* Styling for mobile menu */
.mobile-menu {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -100%;
  background-color: #004080;
  padding-top: 80px;
  transition: left 0.3s ease;
}

/* Change the display of the mobile menu links to display vertically */
.mobile-menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column; /* Change direction to column */
}

.mobile-menu ul li {
  margin-bottom: 20px;
}

/* Styling for close button */
.close-menu {
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
}

/* Media query for mobile */
@media screen and (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }

  /* Styling for mobile toggle button */
  .mobile-toggle {
    display: block;
    cursor: pointer;
  }
}

.navbar.active {
  display: block;
}

.navbar ul {
  list-style: none;
  padding: 0;
}

.navbar ul li {
  margin-bottom: 10px;
}

/* Adjust other styles for the navbar links */
.navbar ul li a {
  text-decoration: none;
  color: #fff;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
}

nav ul li a {
  text-decoration: none;
  color: #F0F0F0;
  padding: 10px 30px;
  transition: background-color 0.3s; /* Adding transition for smooth color change */
}

nav ul li a:hover {
  background-color: #0055FF; /* Change the background color on hover */
  color: #FFF; /* Change the text color on hover for better visibility */
  text-decoration: none;
}

img {
  max-width: 100px; /* Adjust the width of the image */
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer p {
  margin: 0;
}

footer img {
  margin-left: 10px; /* Add space between text and image */
  vertical-align: middle; /* Align the image vertically */
  max-width: 100px; /* Adjust the width of the image */
}

html {
  scroll-behavior: smooth;
}

.maptitle {
  text-align: center;
}

#map {
  width: 90%;
  margin: 0 auto; /* Center the map */
  height: 400px;
  margin-bottom: 10px;
}

#reviewtitle {
  margin-left: 20px;
  text-decoration: underline;
}

#toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rowitem {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center items vertically within .rowitem */
  align-items: center; /* Center items horizontally within .rowitem */
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 200px; /* Set your desired width */
  height: 200px;
  border: 5px solid #fff;
  text-align: center;
}

.rowitem:hover {
  background-color: lightblue;
}

.rowitem img {
  margin-bottom: 5px;
  align-self: center;
}

.hidden {
  display: none;
  margin-left: 20px;
}

.rowitem.clicked {
  border: 5px solid #000;
}

#suppliers {
  text-align: center;
}

.supply {
  display: flex;
    justify-content: center; 
    align-items: center; 
  @media (max-width: 768px) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.supply img {
  margin: 50px;
  width: 500px;
  height: auto;
}

.toppage {
  position: relative;
  width: 100%;
  height: 1100px; /* Adjust height as needed */
  overflow: hidden;
  background-color: #FFF;
  margin-bottom: 50px;
  @media screen and (max-width: 768px){
    height: 300px;
  }
}

.banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Cover 75% of the width */
  height: 100%;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end; /* Adjusted to align content to the right */
  padding-left: 20px;
  overflow: hidden; /* Hide overflow from skewed element */
  z-index: 1;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Cover the entire width of the pseudo-element */
  height: 100%;
  background-image: url('bannerpc.jpeg');
  background-size: 100%;
  background-position: center;
  z-index: -1; /* Place the pseudo-element behind the content */
  @media screen and (max-width: 768px){
    background-image: url('bannerphones.jpeg');
    
  }
}

#services h2 {
  margin-bottom: 50px;
  text-align: center;
  margin-top: 50px;
}

.descriptions p {
  text-align: center;
  margin: 0;
  width: 50%;
  font-weight: bold;
  color: #FFF;
}

.descriptions {
  display: flex;
  justify-content: center; /* centers along the main axis (horizontally) */
  align-items: center; /* centers along the cross axis (vertically) */
  background-color: #004080;
  margin-bottom: 10px;
}

#locations {
  text-align: center;
  margin-bottom: 100px;
}

#revform {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  margin-bottom: 20px;
}

.inputgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5%;
  margin-bottom: 5%;
}

.rating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stars {
  display: flex;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#reviewerName {
  width: 200px; /* Adjust the width as desired */
  margin-top: 10px; /* Add margin above the input */
  margin-bottom: 10px; /* Add margin below the input */
}

.file-input-label {
  margin-bottom: 20px; /* Add margin below the "Upload Image" button */
}

#submit-button {
  margin-top: 20px; /* Add margin above the "Submit" button */
  margin-bottom: 20px; /* Add margin below the "Submit" button */
}

#revtag {
  margin-bottom: 5%;
}

#contform{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75vh; /* Adjust this value to suit your layout */
  margin-bottom: 50px;
}

.input-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  align-items: center;
  text-align: center;
}

input,
textarea {
  width: 100%;
  height: auto;
  padding: 8px;
  margin-bottom: 10px;
  align-items: center;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  align-items: center;
}

button:hover {
  background-color: #555;
}

form {
  width: 50%;
  margin-left: 25%;
  margin-right: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#conttext {
  text-align: center;
  margin-top: 50px;
  color: #2F3717;
}

main {
  background-color: #FFF;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.facebook {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
}

.facebook img {
  margin-left: 20px;
  margin-bottom: 20px;
}

#phonenum {
  margin-right: 50px;
}

.stars {
  cursor: pointer;
  font-size: 30px;
}

.star {
  display: inline-block;
}

.star.selected {
  color: gold; /* Change color or add styling for selected stars */
}

/* Center the 'Reviews' and 'Leave a Review' headers */
#mywork h2 {
  text-align: center;
  margin: 20px 0; /* Adjust margin as needed */
}

.quote-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4CAF50; /* Green color, you can change this */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px; /* Adjust margin as needed */
  transition: transform 0.2s, box-shadow 0.2s; /* Add smooth transitions */
}

.button-holder {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hover effect for the button */
.quote-button:hover {
  transform: scale(1.05); /* Slightly increase size on hover */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
  text-decoration: none; /* Remove text underline on hover */
  color: white;
}

.file-input-label {
  display: inline-block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 8px 20px;
  background-color: #3498db;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
}

.file-input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 0;
  cursor: pointer;
  opacity: 0;
}

/* Media query for mobile */
@media screen and (max-width: 768px) {
  form {
    width: 90%; /* Adjusted width for mobile */
    margin: 0 auto; /* Center the form */
  }

  input,
  textarea {
    width: 100%;
    height: auto;
    padding: 10px; /* Adjusted padding */
    margin-bottom: 15px; /* Increased margin for better spacing */
  }

  .file-input-label {
    width: 100%; /* Make file input label full width */
    padding: 8px 10px; /* Adjusted padding for mobile */
  }

  button {
    width: 100%;
    padding: 12px; /* Adjusted padding for better touch interaction */
    margin-top: 20px; /* Increased margin for better spacing */
  }
}

.additional-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
  background-color: #FFF; /* Adjust background color as needed */
  margin-bottom: 50px;
}

.content img {
  border: 3px solid #000;
}

#facebook :hover {
  background: none;
}

#facebookpic {
  width: 5%;
  height: auto;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: 0 auto;
}

.content img {
  max-width: 40%; /* Adjust image size */
  margin-right: 20px; /* Spacing between image and text */
}

.content .text {
  max-width: 50%; /* Adjust text width */
}

/* Media query for responsive design */
@media screen and (max-width: 768px) {
  .content {
    flex-direction: column;
    text-align: center;
  }

  .content img {
    max-width: 80%;
    margin: 0 auto 20px;
  }

  .content .text {
    max-width: 100%;
  }
}

/* Add styling for service items */
.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2%;
  margin-left: 10%; /* Add left margin */
  margin-right: 10%; /* Add right margin */
}


.service-item .text {
  width: 50%;
  padding: 20px;
}

.service-item .image {
  width: 50%;
}

.service-item .image img {
  width: 100%;
  height: auto;
}


.review {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: #f9f9f9;
  text-align: center;
}

.review h3 {
  margin-top: 0;
  margin-bottom: 5px;
  color: #333;
}

.review p {
  margin: 0;
  color: #666;
}

/* Add margin between reviews */
.review + .review {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  #reviewsContainer {
    margin-bottom: 20px;
  }
}

