body {
  margin: 0;
}
body * {
  font-family: "IBM Plex Sans", serif;
  font-weight: 500;
}
a {
  color: black;
  text-decoration: none;
}
h3,
h4,
h5 {
  color: black;
}

#main-header {
  height: 100vh;
  background-image: url(images/dark\ gradient.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
}
.logo {
  padding: 0px;
  color: rgb(53, 174, 255);
  margin-left: 170px;
  font-size: 32px;
}
.nav-links .home {
  color: rgb(53, 174, 255);
}
.nav-links {
  margin-right: 170px;
}

.nav-links a {
  color: white;
  font-size: 18px;
  margin-left: 10px;
  margin-right: 10px;
  transition: color 0.5s;
}
.nav-links a:hover {
  color: rgb(53, 174, 255);
}
.header-caption {
  background-color: transparent;
  margin: 0px;
  text-align: center;
  position: relative;
  top: 190px;
}
.header-caption h2 {
  font-style: italic;
  margin: 0px;
  font-size: 50px;
  color: rgb(53, 174, 255);
}
.header-caption p {
  font-size: 24px;
  color: white;
}
.normal-font {
  font-weight: 400;
}
.semi-bold-font {
  font-weight: 600;
}
#sec-2 {
  padding: 50px 0;
  display: flex;
  width: 100%;
}
#sec-2 .caption {
  box-sizing: border-box;
  width: 50%;
  color: rgb(103, 102, 102);
  padding-left: 50px;
  padding-right: 100px;

  font-size: 16px;
 
}
#sec-2 .left-part {
  padding-top: 50px;
  display: flex;
  justify-content: end;
  align-items: center;
  width: 50%;
  position: relative;

}
#sec-2 .img-container {
  margin-right: 60px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;

}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  transform: translateY(100%);
  transition: transform 0.7s;
  color: white;
}
#sec-2 .img-container .overlay i {
  margin-left: 15px;
}

#worker-img {
  width: 100%;
}
#sec-2 .img-container:hover .overlay {
  transform: translateY(0);
}

#sec2 .caption .line {
  width: 90%;
  height: 1px;
  background-color: rgb(118, 117, 121);
}

.info-list {
  list-style: none;
  line-height: 2;
  display: flex;
  flex-wrap: wrap;
}
.info-list .first-half {
  width: 40%;
}
.info-list .second-half {
  width: 60%;
}

#hello {
  color: black;
  font-size: 32px;
  position: relative;
}

#hello::before {
  content: "";
  position: absolute;
  top: 8.5px;
  left: -10px;
  width: 4px;
  height: 25px;
  background-color: red;
}
.bottons {
  display: flex;
}
button {
  font-size: 16px;
  margin-top: 20px;
  background-color: rgb(53, 174, 255);
  border: transparent;
  border-radius: 5px;
  color: white;
  height: 45px;
  width: 150px;
}
.buttons button {
  margin-left: 10px;
}

.info-list span {
  color: black;
}

.sec-3-heading {
  color: black;
  font-size: 35px;
  font-weight: 700;
  position: relative;
  top: 45px;
}

.first-line,
.third-line {
  width: 70px;
}
.first-line {
  top: 30px;
}
.third-line {
  top: 40px;
}
.middle-line {
  width: 150px;
  top: 35px;
}
.first-line,
.middle-line,
.third-line {
  background-color: red;
  height: 0.5px;
  position: relative;
}

#sec3 {
  padding: 30px 0;
  background-color: #f1f1f1;
  width: 100%;
}
#our-services-header,
#portfolio-header,
#our-blog header,
#contact header {
  height: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#our-services-header {
  margin-bottom: 70px;
}
#services {
  padding: 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

}
#services div {
  padding: 40px 10px;
  text-align: center;
  width: 18%;
  height: 100%;
  transition: box-shadow 0.5s;
}
#services div:hover {
  background-color: white;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
#services div i {
  transition: transform 0.7s;
}
#services div:hover i {
  transform: scale(1.3);
}

#services h4 {
  font-size: 22px;
}
#sec3 i {
  font-size: 24px;
  color: rgb(53, 174, 255);
}

@media screen and (max-width: 768px) {
  nav {
    padding: 20px 20px 20px 40px;
    margin: 0;
    align-items: center;
  }
  nav .logo {
    margin-left: 0;
  }
  .nav-links {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  .header-caption {
    top: 70px;
    padding: 0 10px;
  }
  #main-header p {
    font-size: 20px;
  }
  #main-header h2 {
    font-size: 32px;
  }

  #services div {
    width: 100%;
  }

  #sec-2 {
    padding: 10px;
    flex-direction: column;
  }
  #sec-2 .left-part .frame {
    opacity: 0;
  }
  #sec-2 .left-part .img-container {
    margin: 0;
  }
  #sec-2 .caption {
    width: 100%;
    padding: 0 10px;
  }
  #sec-2 .left-part {
    width: 100%;
    justify-content: center;
  }
  #sec-2 .first-half,
  .second-half {
    width: 100%;
  }

  .buttons {
    width: 100%;
    justify-content: start;
  }
  .buttons button {
    margin-left: 3px;
    width: fit-content;
    transform: scale(0.9);
  }
  .info-list {
    padding: 0;
  }
  #sec3 {

    padding: 5px;
  }
  #our-services-header,
  #portfolio-header {
    height: 20%;
  }
  #services {
    margin-top: 80px;
    padding: 0;
    flex-direction: column;
    align-items: center;
  }
  #hello {
    margin-left: 15px;
  }
}
@media screen and (max-width: 992px) {
  #sec-2{
    flex-direction: column;
  }  
  #sec-2 .left-part{
    
    justify-content: center;
  }
  #sec-2 .img-container{
    margin: 0;
  }
  #sec-2 .left-part,#sec-2 .caption{
    width: 100%;
  }
  
  #services div{
    width:50%;
  }
}
@media screen and (max-width: 1200px) {
  
}
@media screen and (min-width: 1201px) {
  #sec-2 .left-part .frame {
    position: absolute;
    right: 90px;
    bottom: 35px;
    width: 360px;
    height: 440px;
    border: rgb(80, 80, 80) 7px solid;
    border-radius: 3px;
  }
}
#our-portfolio {
  width: 100%;
  padding: 30px 0;
}
#our-portfolio .nav-links {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  width: 100%;
}
#our-portfolio .nav-links a {
  margin: 10px;
  color: black;
}
#our-portfolio .nav-links a:first-child {
  margin: 10px;
  color: rgb(53, 174, 255);
}
#our-portfolio .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  margin-top: 50px;
  justify-content: center;
}
#our-portfolio .row div {
  margin: 10px;
}

#our-portfolio .column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

#our-portfolio .column a img {
  margin-top: 20px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  #our-portfolio .row {
    margin: 0;
    padding-bottom: 30px;
  }
  #our-portfolio .row div {
    margin: 0;
  }

  #our-portfolio .column {
    flex: 90%;
    max-width: 90%;
    padding: 0;
  }
}
#fun_facts {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #f1f1f1;
  height: 50vh;
}
#fun_facts .container {

  display: flex;
  padding: 0 15%;
  justify-content: center;
  align-items: center;
  width: 100%;
}
#fun_facts .container i {
  font-size: 28px;
  color: rgb(53, 174, 255);
}

#fun_facts .container div {
  text-align: center;
  flex: 25%;
  max-width: 25%;
}
h3 {
  font-size: 22px;
  font-weight: 600;
}
h5 {
  font-size: 14px;
  color: rgb(103, 102, 102);
}

@media screen and (max-width: 768px) {
  #fun_facts .container {
    padding-top: 50px;
    flex-direction: column;
  }
  #fun_facts .container div {
  
    flex: 90%;
    max-width: 90%;
  }
  #fun_facts {
    height: fit-content;
  }
}
#feedback {
  background-color: white;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;

}
#feedback .feedback-div {
  
  width: 50%;
  margin-top: 80px;
  background-color: #f1f1f1;
  padding: 15px 30px;
  border-radius: 5px;
}
@media screen and (max-width: 768px) {
  #feedback {
    height: auto;
    padding: 50px 0;
  }
  #feedback .feedback-div {
    height: auto;
    width: 80%;
  }
}

#our-blog {
  width: 100%;
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}
#our-blog .container {
  margin-top: 30px;
  padding: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
}
#our-blog .container > div {
  margin: 15px;
  width: 25%;
  background-color: white;
}
#our-blog .container > div div {
  padding: 15px;
}
#our-blog div img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  #our-blog .container {
    flex-direction: column;
    padding: 50px 0;
  }
  #our-blog .container > div {
    width: 90%;
  }

}

#contact {
  width: 100%;
  padding-bottom: 50px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#contact .contact-form {
  width: 50%;
  margin-top: 70px;
}
td {
  width: auto; 
  padding: 10px;
}
#contact .contact-form button {
  height: 40px;
  position: relative;
  left: 10px;
}
@media screen and (max-width: 768px){
  #contact .contact-form {
    width: 100%;
  }
  #contact .contact-form tr{
    display: block;
  }
  .contact-form td{
    display: block; 
    width: 100%; 
    box-sizing: border-box;
  }

}
footer {
  background-color: #333333;
  height: 25vh;
  text-align: center;
}

footer div {
  padding-top: 60px;
}
footer div i {
  color: white;
  margin: 10px;
  transition: all 0.3s;
}
footer a:hover i,
#fair {
  color: rgb(53, 174, 255);
}
#fair:hover{
  text-decoration: underline;
}
p {
  font-size: 17px;
  color: rgb(103, 102, 102);
}
.stars i {
  color: sandybrown;
}

#sec-2 *,
#our-blog *,
#feedback * {
  text-align: left;
}
#sec-2 .buttons button {
  text-align: center;
}
*{
  box-sizing: border-box;
}