/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: sans-serif;
  background: none;
  color: inherit;
  line-height: 1;
}

body {
  display: block;
  overflow-x: hidden;
}

/* Reset for common elements */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
picture {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
}
/* Style Reset End */

/* Style Homepage*/

/* navebar */
.logo {
  /* width: 150px; */
  height:80px;
  margin-left:80px;
}
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  color: whitesmoke;
  width: 100%;
  justify-content: space-between;
  padding: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
}
.nav-links li {
  margin: 0 30px;
}
.nav-links li:hover {
  color: rgb(113, 139, 126); /* White text for active item */
  font-weight: bold;
}
.nav-links li.active {
  color: rgb(255, 0, 0); /* White text for active item */
  font-weight: bold;
}

/* header styles */
.homeHeader {
  width: 100vw;
  height: 100vh;
  background-image: url("../Images/main.jpg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.homeHeader-content {
  margin-bottom: 150px;
  color: rgb(255, 255, 255);
  text-align: center;
}
.homeHeader-content h2 {
  font-size: 3vmin;
}
.line {
  width: 200px;
  height: 4px;
  background-color: grey;
  margin: 20px auto;
  border-radius: 10px;
}
.homeHeader-content h1 {
  font-size: 4vmin;
  margin-top: 30px;
  margin-bottom: 30px;
}
.ctn {
  padding: 8px 15px;
  background-color: rgb(33, 48, 116);
  border-radius: 25px;
}
.ctn:hover {
  color: rgb(33, 48, 116); /* White text for active item */
  background-color: rgb(241, 235, 235);
  font-weight: bold;
}
.menu-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 30px;
  cursor: pointer;
  display: none;
}

/* Style Homepage end */

/* Style About page */
.space {
  height: 100px;
  background-color: rgb(8, 7, 7);
}
.about-container {
  background-color: rgb(8, 7, 7);
  display: flex;
  height: 100%;
  padding-bottom: 50px;
}

.about-box {
  display: flex;
  width: 80vw;
  margin: auto;
}
.about-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  text-align: center;
  height: 100%;
  line-height: 25px;
  color: white;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-size: 2vmin;
}
.aboutImg {
  width: 350px;
}
.aboutImg img {
  border-radius: 50%;
  opacity: 0.7;
  box-shadow: 0px 0px 30px 3px rgb(158, 162, 163);
}
/* Style About page end */
/* Style service page */
.services-container {
  background-color: rgb(214, 193, 193);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  height: 100%;
  font-size: large;
  font-family: "Times New Roman", Times, serif;
}
.services-container h1 {
  margin: 0 0 50px 0;
  color: rgb(46, 46, 48);
}
.service-items {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-evenly;
  padding: 5px;
  margin-bottom:5px;
}
.service-item {
  display: flex;
  flex-direction: column;
  background-color: rgb(199, 164, 164);
  margin: 20px;
  padding: 15px;
  border-radius: 30px;
}
.itemImg {
  width: 300px;
  margin: 10px auto;
  opacity: 0.7;
}
.service-item h3 {
  text-align: center;
  color: rgb(58, 58, 61);
  margin: 5px;
}
.service-item ul {
  list-style: square;
  color: brown;
  margin-left: 30px;
  margin-top: 50px;
}
/* Style service page end */

/* Style contact page */
.contact-container {
  height: 100vh;
  background-color: rgb(66, 65, 65);
  padding-top: 80px;
}

.contact-box {
  display: flex;
  /* justify-content: center; */
  /* background-color: blue; */
  width: 60vw;
  height: 70vh;
  margin: 0 auto;
}

.contact-imgContainer img {
  height: 100%;
  border-radius: 100px 0 0 5px;
}
.contact-infoContainer {
  width: 400px;
  background-color: rgb(165, 159, 150);
  border-radius: 0 5px 100px 0;
  text-align: center;
  align-content: center;
}
.contact-infoContainer h2 {
  color: rgb(206, 212, 205);
}
.contact-infoContainer p {
  line-height: 5vmin;
}
.contact-infoContainer a {
  color: blue;
  line-height: 5vmin;
}
.contact-infoContainer a:hover {
  color: rgb(81, 81, 236);
  font-weight: bold;
}
/* Style contact page end */
/* footer */
footer {
  position: fixed;
  bottom: 10px;
  left: 50px;
  color: rgb(121, 117, 117);
}
footer a{
    position: fixed;
    font-size:12px;
    right:10px;
    bottom:10px;
}

/*mobile device */
@media only screen and (max-width: 850px) {
  .menu-btn {
    display: block;
  }
  .navbar {
    padding: 0;
  }
  .logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 250px;
    margin:0;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    justify-content: center;
    background: rgb(56, 55, 55);
    margin-top: -1000px;
    z-index: 1;
    /* transition: all 0.5s ease; */
  }
  .mobile-menu {
    margin-top: 0px;
  }
  .nav-links li {
    margin: 30px auto;
    font-size: 30px;
  }
  .about-container {
    display: block;
    height: auto;
  }

  .about-box {
    flex-direction: column-reverse;
    align-items: flex-start;
    width: 100vw;
    /* height: 100vw; */
  }
  .about-col {
    margin: 20px auto;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    width: 95%;
  }
  .aboutImg {
    width: 95%;
  }
  .services-container {
    height: auto;
  }
  .service-items {
    grid-template-columns: auto;
  }
  .contact-container {
    display: flex;
    justify-content: center;
    padding: 30px 0 0 0;
    background-color: rgb(34, 33, 33);
  }
  .contact-box {
    width: 80%;
    flex-direction: column;
  }
  .contact-imgContainer img {
    height: 100%;
    border-radius: 50px 5px 0 0;
  }
  .contact-infoContainer {
    width: 100%;
    border-radius: 0 0 50px 5px;
    padding: 20px;
  }
  .contact-infoContainer p,
  a {
    line-height: 8vmin;
  }

  footer { 
    bottom:25px;
    left:25%;
    width: 100%;
    font-size: 10px;
    padding-top:10px;
  }
  
  footer a{
      bottom:1px;
      left:25%;
      font-size:10px;
     
  }
  
}
