html, body {
  /* overflow-x: hidden; */
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  background-color: #333;
}


/* navbar  */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo img {
  height: 60px;
  width: auto;
  scale: 3;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 7px 15px;
  display: block;
  border-bottom: 3px solid #333;
  transition: border-bottom 0.3s ease-in-out;
}

.navbar a:hover {
  border-bottom: 3px solid white;
}

.nav-links {
  display: flex;
}

.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background-color: #333;
}

.hamburger:hover {
  background-color: #ccc;
  border-radius: 5px;
}



.hamburger span {
  display: block;
  width: 25px;
  height: 4px;
  background-color: #777;
  margin:5px 0;
  border-radius: 2px;
}
/* navbar ends  */


/* Home section */
#home{
  background-color: white;
  overflow: hidden;
  /* color: #333; */
  color: black;
}



#featured-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 100vh;
}

/* Home section ends */

#about-us{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  min-height: 100vh;
  margin: 80px 80px;
  color: white;
}


/* services  */
#services{
  background-color:white;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  /* padding: 130px 0px; */
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 120px 30px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333; /* Dark grey text */
  margin: 10px;
  width: calc(100% / 5 - 20px);
}

.service-icon {
  border-radius: 50%;
  width: 80px; /* Adjust based on your preference */
  height: 80px; /* Adjust to keep the aspect ratio */
  object-fit: cover;
  margin-bottom: 10px;
}

.service h3 {
  text-align: center;
  margin: 0;
}
/* service Detail */

.services-detail {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #333;
  padding: 50px 0px;
}

.service-detail {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 97%;
  background-color: #444;
  height: 250px;
  margin: 20px;
  border-radius: 20px;
  overflow: hidden;
}

.service-image {
  width: 15%;
  display: inline;
}

.service-image img {
  height: 255px;
  width: auto;
  object-fit: fill;
  color: #333;
}


.service-content {
  width: 80%;
  margin-left: 100px;
  height: 250px; 
  overflow-y: auto; /* Enable vertical scrolling if content overflows */
  padding: 15px; /* Add some padding for visual balance */
}

.service-content h3 {
  margin-bottom: 10px; /* Add spacing below the heading */
}

.service-content ul {
  list-style: circle;
  padding-left: 0; /* Remove default indentation */
  margin: 0;
  columns: 2 auto;
  column-gap: 20px; /* Add spacing between columns */
}

.service-content li {
  display: block; /* Display each list item on a new line */
  padding: 5px 10px; /* Add padding for readability */
  margin-bottom: 5px; /* Add spacing between list items */
}

.service-content li p {
  margin: 0; /* Remove default margins from paragraphs within list items */
}


.service-content h3 {
  color: #eee;
}

.service-content ul {
  color: #eee;
}



/* service Detail */

/* Contact US */
.contact-form {
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white for form background */
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  margin: 20px;
}

.contact-form .input-group {
  margin-bottom: 15px;
}

.contact-form .input-group label {
  display: block;
  color: #333;
  margin-bottom: 5px;
}

.contact-form .input-group input,
.contact-form .input-group textarea {
  width: 95%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form .input-group textarea {
  resize: vertical; /* Allows the textarea to be resized vertically */
}

.button-container{
  text-align: center;
}

.contact-form .input-group button {
  padding: 15px 20px;
  background-color: #333; /* Dark background for the button */
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  width: 95%;
  margin-top: 10px;
  display: inline-block;
}

/* submit confirmation  */
#successMessage{
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 8px;
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  align-content: center;
  text-align: center;
}

#successMessage button {
  padding: 15px 20px;
  background-color: #333; /* Dark background for the button */
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  width: 95%;
  margin-top: 10px;
  display: inline-block;
}
/* contact us ends  */

/* footer  */
footer {
  background-color: #333;
  color: white;
  padding: 20px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: auto;
  text-align: center; /* Ensures text is centered in each footer section */
}

.footer-container section {
  margin: 10px;
}

.footer-container h4 {
  margin-bottom: 15px;
}

.footer-container ul {
  list-style: none;
  padding: 0;
  margin: 0; /* Centers the list items */
}

.footer-container ul:hover {
  color: #555;
}

.footer-container a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-container a:hover {
  color: #fff;
}
/* footer ends  */

/* social icons  */
.social-icons {
  text-align: center;
  margin-top: 20px;
}

.social-icons a {
  margin: 0 10px;
  color: #ccc; /* Color of the icons */
  font-size: 26px; /* Size of the icons */
}

.social-icons a:hover {
  color: #555; /* Color of the icons on hover */
}
/* social icons ends  */

/* cookies */
.cookie-consent-container {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #ccc;
  color: #333;
  padding: 10px;
  text-align: center;
  z-index: 1000;
}

.cookie-consent-container .content p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.cookie-consent-container .content p a {
  color: #333;
  text-decoration: underline;
}

.cookie-consent-container button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-left: 20px;
  cursor: pointer;
}

.cookie-consent-container button:hover {
  background-color: #444;
}
/* cookies ends  */

.cons-ribbon {
  margin: -4px;
  width: 100%;
}

/* for mobile device with max width 786  */

@media (max-width: 768px) {
  /* nav bar  */
  .nav-links {
    position: absolute;
    right: 0;
    top: 90px;
    background-color: #333;
    flex-direction: column;
    width: 100%;
    display: none;
  }

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hamburger {
    display: block;
  }
  /* nav bar ends  */

  /* about us  */
  #about-us {
    margin: 30px 10px;
    font-size: 14px;
  }
  /* about us ends  */

  /* serivce  */
  .service {
    width: calc(100% / 2 - 20px); /* Two items per row on smaller devices */
  }
  /* service ends  */

  .service-detail {
    display: none;
    flex-direction: column;
    height: 100vh;
    width: 93%;
  }
  .service-image img{
    background-color: antiquewhite;
    width: 100%;
  }



  /* contact form  */
  #contact-form {
    width: 100%;
    margin: 10px;
    border-radius: 0;
    height: 100vh;
    max-width: none;
  }
  /* contact form ends  */

  /* footer  */
  .footer-container {
    overflow-x: hidden;
    flex-direction: column;
    align-items: center;
  }
  /* footer ends  */
}

/* For mobile device with max width 480  */
@media (max-width: 480px) {
  /* navbar  */
  .nav-links {
    position: absolute;
		left: 0;
    right: 0;
    top: 90px;
    background-color: #333;
    flex-direction: column;
    width: 100%;
    display: none;
  }

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hamburger {
    display: block;
  }
  /* navbar ends  */

  /* about us  */
  #about-us {
    margin: 30px 10px;
    font-size: 14px;
  }
  /* about us ends  */

  /* .service */
  .service {
    width: calc(100% / 2 - 20px); /* Two items per row on smaller devices */
  }
  /* service ends  */

  /* service Detail */  
  .services-detail {
    display: none

  }
  
  /* service detail ends */
  /* contact form  */
  #contact-form {
    width: 100%;
    margin: 10px;

    border-radius: 0;
    height: 100vh;
    max-width: none;
  }
  /* contct form ends  */

  /* footer  */
  /* footer ends  */
}
