html {
  scroll-behavior: smooth;
}
* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: "Arial", cursive;
  color: white;
}

.navbar {
  display: flex;
  align-items: center;
  position: sticky;
  top: 0px;
}

.navbar img {
  margin: 7px 9px;
  height: 1.3cm;
  width: 2cm;
}

.navbar::before {
  height: 65px;
  width: 100%;
  content: "";
  background-color: black;
  z-index: -1;
  opacity: 0.5;
  position: absolute;
  top: 0px;
  left: 0px;
}

/* LIST STYLING */
.navbar ul {
  display: flex;
}

.navbar ul li {
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  margin: 0px 15px;
  color: white;
  font-size: 22px;
}

.navbar ul li a:hover {
  background-color: white;
  border-radius: 25px;
  padding: 10px;
  color: black;
}

#home::before {
  content: "";
  background: url(assets/Background.png) no-repeat center center/cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 855px;
  z-index: -1;
}

.first {
  display: flex;
  height: 755px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 100%;
  margin-top: 20px;
}

.first h1 {
  margin-bottom: 14px;
  z-index: 1;
  font-size: 5rem;
  color: rgb(255, 255, 255);
}

.first p {
  text-align: center;
  z-index: 1;
  font-size: 22px;
  color: rgb(255, 255, 255);
  width: 70%;
}

.second {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: rgb(245, 245, 245);
  margin: auto;
  width: 100%;
  padding-top: 55px;
  padding-bottom: 55px;
}

.second-Text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 75%;
}

.second-Text h1 {
  margin-bottom: 14px;
  z-index: 1;
  font-size: 3rem;
  color: rgb(0, 0, 0);
  text-decoration: none;
  border-bottom: 4px solid rgb(253, 0, 0);
}

.second-Text p {
  z-index: 1;
  font-size: 18px;
  color: rgb(66, 66, 66);
  width: 70%;
}

.second-Text strong {
  z-index: 1;
  font-size: 18px;
  color: rgb(255, 2, 2);
  width: 70%;
}

.second-img {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.box {
  border: 3px dashed rgb(255, 1, 1);
  border-radius: 20px;
  color: black;
  height: 320px;
  width: 265px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 20px;
}

.doc-img {
  margin: 10px 20px;
  height: 300px;
  width: 250px;
  transition: transform 0.3s ease-out;
}

.img:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.third {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 100%;
  padding-top: 70px;
  padding-bottom: 70px;
}

.third-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 50%;
}

.ceo-img img {
  border-radius: 70px;
  height: 300px;
  width: 400px;
}

.ceo-name {
  margin-top: 15px;
}

.name {
  color: black;
}

.ceo {
  color: rgb(80 80 80);
}

.ceo-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 95%;
}

.ceo-msg h1 {
  margin-bottom: 14px;
  z-index: 1;
  font-size: 2rem;
  color: rgb(0, 0, 0);
  text-decoration: none;
  border-bottom: 4px solid rgb(253, 0, 0);
}

.ceo-msg p {
  z-index: 1;
  font-size: 18px;
  color: rgb(66, 66, 66);
  width: 70%;
}

.ceo-msg strong {
  z-index: 1;
  font-size: 18px;
  color: rgb(255, 2, 2);
  width: 70%;
}

.fourth {
  background-color: rgb(245, 245, 245);
  width: 100%;
}

.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.head h1 {
  color: black;
  text-align: center;
  font-size: 2.5rem;
  padding-top: 30px;
  letter-spacing: 2px;
  margin-bottom: 5px;
  border-bottom: 4px solid rgb(253, 0, 0);
}

.head p {
  z-index: 1;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 40px;
  color: Red;
  margin-top: 45px;
}

.projects {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.com-proj {
  color: black;
  width: 50%;
  text-align: center;
}

.com-proj h2 {
  margin-bottom: 20px;
}

.com-proj li {
  font-size: 20px;
}

.run-proj {
  color: black;
  width: 40%;
  text-align: center;
}

.run-proj h2 {
  margin-bottom: 20px;
}

.run-proj li {
  font-size: 20px;
}

.list {
  text-align: left;
  margin-left: 23%;
  margin-right: 5%;
  font-family: ui-monospace;
}

.ser-images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.ser-img img {
  height: 300px;
  width: 300px;
  margin: 20px;
}

.location {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 40px;
  padding-top: 40px;
}

.com-logo{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 200px;
}

.logo{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.logo img{
  height: 276px;
  width: 511px;
}

.social-link{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}


.link-img-fb {
  height: 30px;
  width: 35px;
}

.link-img-twit {
  height: 27px;
  width: 26px;
  padding-left: 11px;
}

.link-img-ig {
  height: 28px;
  width: 28px;
  padding-left: 15px;
}

.off-loc {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: left;
}

.off-loc h1 {
  color: black;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
  border-bottom: 4px solid rgb(253, 0, 0);
}

.off-loc h2 {
  color: black;
  margin-top: 30px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  border-bottom: 4px solid rgb(253, 0, 0);
}

.off-loc p {
  z-index: 1;
  font-size: 20px;
  color: rgb(66, 66, 66);
}

.last {
  color: white;
  background-color: black;
  text-align: center;
  height: 25px;
  justify-content: center;
  padding: 2px;
}
/* Mobile Screen Resolution */
@media screen and (max-width: 768px) {
  .navbar {
    justify-content: center;
  }

  .navbar ul {
    display: none; /* Hide the navigation buttons */
  }

  .navbar img {
    margin: 7px auto; /* Center the logo */
    display: block;
  }

  .first h1 {
    font-size: 3rem;
    text-align: center;
  }

  .first p {
    font-size: 18px;
    width: 90%;
    text-align: center;
  }

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

  .second-Text {
    width: 100%;
  }

  .second-Text h1 {
    font-size: 2rem;
  }

  .second-Text p,
  .second-Text strong {
    font-size: 16px;
    width: 90%;
    margin: 0 auto;
  }

  .second-img {
    flex-direction: column;
    align-items: center;
  }

  .box {
    height: 250px;
    width: 200px;
    margin: 20px; /* Increased margin for better spacing */
  }

  .ceo-img img {
    height: 250px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

  .third-image {
    width: 100%;
  }

  .ceo-msg h1 {
    font-size: 1.5rem;
  }

  .ceo-msg p,
  .ceo-msg strong {
    font-size: 16px;
    width: 90%;
  }

  .ser-images {
    flex-direction: column;
    align-items: center;
  }

  .ser-img img {
    height: 200px;
    width: 100%;
    max-width: 200px;
    margin: 20px auto; /* Increased margin for better spacing */
  }

  .location {
    flex-direction: column;
    padding-bottom: 20px;
    padding-top: 20px;
  }

  .com-logo {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .logo img {
    height: auto;
    width: 100%;
    max-width: 250px; /* Maintain original aspect ratio */
  }

  .off-loc {
    align-items: center;
    text-align: center;
  }

  .off-loc h1, .off-loc h2 {
    text-align: center;
    font-size: 1.2rem;
  }

  .off-loc p {
    font-size: 18px;
  }

  .social-link {
    margin-top: 20px;
  }

  .link-img-fb, .link-img-twit, .link-img-ig {
    width: auto;
    height: auto;
    max-height: 30px;
    max-width: 35px;
  }

  .link-img-twit {
    padding-left: 8px;
  }

  .link-img-ig {
    padding-left: 10px;
  }
}
