:root {
  --main-color: #343434;
  --second-color: #999999;
}

* {
  box-sizing: border-box;
}
.first-text {
  color: var(--main-color);
}

.second-text {
  color: var(--second-color);
}
body {
  font-family: "Poppins", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
.specific {
  font-family: "Montserrat", sans-serif;
}
section {
  margin-top: 50px;
  margin-bottom: 50px;
}
.about {
  margin-top: 100px;
}

/*       home                               */
#home {
  background-image: url(../imgs/bg.jpg);
  background-position: center;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.64);
  background-blend-mode: multiply;
  p {
    font-weight: 800;
    font-size: 50px;
  }
  h1 {
    font-size: 70px;
    color: white;
    font-weight: 100;
    span {
      font-weight: 400;
    }
  }
  .head-icon {
    gap: 6px;
    .icon1 {
      width: 40px;
      height: 40px;
      background-color: rgba(0, 0, 0, 0.663);

      i {
        font-size: 13px;
      }
    }
  }
}

/*   About                                 */

.about .about-img {
  padding-left: 15px;
  padding-bottom: 15px;
  border-left: #f2f2f2 4px dotted;
  border-bottom: #f2f2f2 4px dotted;
  position: relative;
}
.about .about-img::after {
  position: absolute;
  content: "";
  content: "";
  position: absolute;
  top: -10px; /* Adjust to control spacing */
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-left: #f2f2f2 4px dotted;
  border-bottom: #f2f2f2 4px dotted;
  z-index: -1;
}
.about .about-img::before {
  position: absolute;
  content: "";
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  right: -18px;
  bottom: -18px;
  border-left: #f2f2f2 4px dotted;
  border-bottom: #f2f2f2 4px dotted;
  z-index: -1;
}
.progress {
  margin-bottom: 50px;
  height: 25px;
}
.btn1 {
  width: 160px;
  height: 44px;
  border-radius: 7px;
  background-color: black;
  border: 1px black solid;
  color: white;
  transition: all 0.5s;
}

.btn1:hover {
  background-color: white;
  border: black 1px solid;
  color: black;
}
.btn2 {
  width: 160px;
  height: 44px;
  border-radius: 7px;
  background-color: white;
  border: 1px black solid;
  color: black;
  transition: all 0.5s;
}
.btn2:hover {
  background-color: black;
  border: black 1px solid;
  color: white;
}

/*            services                                      */

#Services {
  background-color: #f7f7f7;
  padding-top: 100px;
  padding-bottom: 100px;
}
.services-title {
  h2 {
    font-weight: 900;
    font-size: 44px;
    border-bottom: #a39999 5px dotted;
    position: relative;
    z-index: 2;
  }
  position: relative;
}

.services-title::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 35px;
  border-bottom: #a39999 4px dotted;
}
.services-title::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 46px;
  border-bottom: #a39999 4px dotted;
}

.itt {
  width: 80px;
  text-align: center;
  height: 80px;
  position: absolute;
  border-radius: 50%;
  background-color: #f4f4f4;
  top: 10%;
  right: 50%;
  transform: translate(50%);
  transition: all 0.5s;
}
.itt i {
  font-size: 40px;
  position: absolute;
  top: 30%;
  right: 50%;
  transform: translate(50%);
  margin-top: -10px;
}
.bigicon {
  height: 120px;
  position: relative;
  width: 100%;
}
.bigicon:hover .itt {
  color: white;
  background-color: black;
}

.icontext h6 {
  font-weight: 800;
  font-size: 18px;
}
/*              Portfolio                         */


#Portfolio ul li button {
  color: var(--main-color);
}
#Portfolio figcaption {
  background-color: rgba(255, 255, 255, 0.95);
  inset: 5px;
  opacity: 0;
  transition: all 0.5s;
  text-align: center;
}
#Portfolio figure:hover figcaption {
  cursor: pointer;
  opacity: 1;
}
#Portfolio .Portfolioicon a {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 28px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #111;
  color: #eee;
}
#Portfolio .Portfolioicon a:hover {
  background-color: #eee;
}
#Portfolio .Portfolioicon a:hover i {
  color: rgb(52, 52, 52);
}


/*             clients                                     */
.client-title {
  h2 {
    font-weight: 900;
    font-size: 44px;
    border-bottom: #a39999 4px dotted;
    position: relative;
    z-index: 2;
  }
  position: relative;
}

.client-title::after {
  content: "";
  position: absolute;
  width: 318px;
  height: 35px;
  border-bottom: #a39999 4px dotted;
}
.client-title::before {
  content: "";
  position: absolute;
  width: 318px;
  height: 46px;
  border-bottom: #a39999 4px dotted;
}

#Clients {
  background-color: #f7f7f7;
  .carousel-indicators > button {
    background-color: #343434;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
  }
  h6 {
    font-weight: 600;
    font-size: 16px;
  }
  .text1 {
    font-size: 15px;
    font-weight: 400;
  }
  .text2 {
    font-weight: 400;
    font-size: 14px;
  }
}
/*                numbers                    */

.bigicon2 {
  width: fit-content;
  h3 {
    font-weight: 900;
    font-size: 30px;
  }
  p {
    font-weight: 500;
    font-size: 15px;
  }
}
/*        team                                     */
.team {
  background-color: #f7f7f7;
  padding-top: 100px;
  padding-bottom: 100px;
}
.team-title {
  h2 {
    font-weight: 900;
    font-size: 44px;
    border-bottom: #a39999 4px dotted;
    position: relative;
    z-index: 2;
  }
  position: relative;
}

.team-title::after {
  content: "";
  position: absolute;
  width: 247px;
  height: 35px;
  border-bottom: #a39999 4px dotted;
}
.team-title::before {
  content: "";
  position: absolute;
  width: 247px;
  height: 46px;
  border-bottom: #a39999 4px dotted;
}

.team .team-icon:hover {
  background-color: white !important;
  border: 1px solid black !important;
  i {
    color: black !important;
  }
}
.team .team-overlay {
  background-color: rgba(255, 255, 255, 0.881);
  width: 97%;
  height: 97%;
  transition: all 0.5s;
}
.team figure:hover .team-overlay {
  z-index: 3;
  transform: rotatey(180deg);
}

.team .team-overlay .team-icon {
  width: 40px;
  height: 40px;
  i {
    font-size: 20px;
    transform: rotateY(180deg);
  }
}

#Team figure img {
  z-index: 1;
  transition: all 0.5s;
}
#Team figure:hover img {
  transform: scale(1.2);
}
.card-info {
  padding-top: 20px;
  padding-bottom: 10px;
  background-color: #5b5b5b;
  color: white;
  h4 {
    font-weight: 500;
    font-size: 25px;
  }
  h5 {
    font-weight: 700;
    font-size: 20px;
  }
}
/*                contact               */

.contact-title {
  h2 {
    font-weight: 900;
    font-size: 44px;
    border-bottom: #a39999 4px dotted;
    position: relative;
    z-index: 2;
  }
  position: relative;
}

.contact-title::after {
  content: "";
  position: absolute;
  width: 275px;
  height: 35px;
  border-bottom: #a39999 4px dotted;
}
.contact-title::before {
  content: "";
  position: absolute;
  width: 275px;
  height: 46px;
  border-bottom: #a39999 4px dotted;
}

.contact {
  padding-top: 50px;
}
.contact .bigicon3 .icon {
  transition: all 0.7s;
}
.contact .bigicon3:hover .icon {
  background-color: black;
  i {
    color: white;
  }
}

.bigicon3 {
  .icon {
    width: 70px;
    height: 70px;
    background-color: #f4f4f4;
  }
  i {
    font-size: 25px;
    color: var(--main-color);
  }
  h6 {
    font-weight: 700;
    font-size: 16px;
  }
  p {
    font-weight: 400;
    font-size: 15px;
  }
}
.firstinput input {
  background-color: #f4f4f4;
  border: none;
  height: 40px;
  border-radius: 6px;
}
.secondinput textarea {
  height: 200px;
  background-color: #f4f4f4;
  border-radius: 6px;
  border: none;
}
.footer {
  background-color: #1c1c1c;
  height: 100px;
  color: rgb(116, 129, 130);
  display: flex;
  justify-content: center;
  align-items: center;
}
.Portfolio-overlay h6 {
  font-weight: 900;
  font-size: 12px;
}

/*             media query               */
@media screen and (max-width: 991px) {
  .about .about-img img {
    width: 100% !important;
  }
  .row {
    row-gap: 50px;
  }
}
