@font-face {
  font-family: "bahnschrift";
  src: url("/assets/fonts/bahnschrift.ttf");
}

:root {
  --tg-body-font-family: "Saira Semi Condensed", sans-serif;
  --tg-heading-font-family: "Saira Semi Condensed", sans-serif;
  --tg-icon-font-family: "Font Awesome 5 Free";
  --tg-body-font-size: 16px;
  --tg-body-line-height: 1.62;
  --tg-heading-line-height: 1.2;
  --tg-body-color: #74787c;
  --tg-heading-color: #121212;
  --tg-theme-secondary: #171717;
  --tg-theme-primary: #f66300;
  --tg-theme-primary2: #39ff14;
  --tg-color-dark-blue: #0e104b;
  --tg-color-yellow-light: #ffbe17;
  --tg-color-yellow-light-2: #fffbf3;
  --tg-color-white-default: #ffffff;
  --tg-color-gray-1: #f0f0f0;
  --tg-color-gray-2: #f6f6f6;
  --tg-color-gray-3: #f8f8f8;
  --tg-color-gray-4: #f0efeb;
  --tg-color-gray-5: #f5f5f5;
  --tg-color-dark: #121212;
  --tg-color-dark-2: #1d1d1d;
  --tg-color-dark-3: #282828;
  --tg-color-dark-4: #2d2d2d;
  --tg-border-1: #d9d9d9;
  --tg-border-2: #ededed;
  --tg-border-3: #ececec;
  --tg-border-4: #e8e8e8;
  --tg-border-5: #f2f2f2;
  --tg-fw-extra-bold: 800;
  --tg-fw-bold: 700;
  --tg-fw-semi-bold: 600;
  --tg-fw-medium: 500;
  --tg-fw-regular: 400;
  --tg-fw-light: 300;

  /* --main-green: #52c306; */
  --main-color: white;
  --hover-green: #418a10;
  --secondary: rgba(0, 0, 255, 1);
}

* {
  /* color: white; */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6)),
    url("assets/images/hero-bg.jpg");
  background-position: 76% top;
  background-size: cover;
  background-attachment: scroll;
}

.logo-sec-perent {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  height: 6em;
  max-width: 27em;
  min-width: 0;
  position: absolute;
  bottom: 9px;
  left: 0px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 0, 0, 0.555);
}

.logo-sec {
  height: 100%;
  width: 100%;
}

.services-container .services-box1 {
  margin-bottom: 2rem;
  background: url("assets/images/services-img-1.jpg");
  background-size: cover;
}

.services-container .services-box1:hover {
  transform: scale(1.02);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  border-top-left-radius: 2%;
  border-top-right-radius: 2%;
  border-bottom-right-radius: 2%;
}

.services-container .services-box2 {
  margin-bottom: 2rem;
  background: url("assets/images/services-img-2.jpg");
  background-size: cover;
}

.services-container .services-box2:hover {
  transform: scale(1.02);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  border-top-left-radius: 2%;
  border-top-right-radius: 2%;
  border-bottom-right-radius: 2%;
}

.services-container .services-box3 {
  margin-bottom: 2rem;

  background: url("assets/images/services-img-3.jpg");
  background-size: cover;
  background-position: center;
}

.services-container .services-box3:hover {
  transform: scale(1.02);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  border-top-left-radius: 2%;
  border-top-right-radius: 2%;
  border-bottom-right-radius: 2%;
}

.services-container .services-box4 {
  margin-bottom: 2rem;
  background: url("assets/images/services-img-4.jpg");
  background-size: cover;
  background-position: center;
}

.services-container .services-box4:hover {
  transform: scale(1.02);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  border-top-left-radius: 2%;
  border-top-right-radius: 2%;
  border-bottom-right-radius: 2%;
}

.services-container .services-box5 {
  margin-bottom: 2rem;

  background: url("assets/images/services-img-5.jpg");
  background-size: cover;
}

.services-container .services-box5:hover {
  transform: scale(1.02);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  border-top-left-radius: 2%;
  border-top-right-radius: 2%;
  border-bottom-right-radius: 2%;
}

.services-container .services-box6 {
  background: url("assets/images/services-img-6.jpg");
  background-size: cover;
}

.services-container .services-box6:hover {
  transform: scale(1.02);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  border-top-left-radius: 2%;
  border-top-right-radius: 2%;
  border-bottom-right-radius: 2%;
}

.services-container .services-box {
  position: relative;
  height: 15rem;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px,
    rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px,
    rgba(0, 0, 0, 0.07) 0px 16px 16px;
  transition: all 0.2s linear;
  overflow: hidden;
}

main {
  padding: 0 3rem;
  margin-bottom: 40px;
  max-width: 1410px;
  margin: auto auto;
}

.hero-container {
  font-family: "bahnschrift";
  color: white;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}


#hero-txt h1 {
  position: relative;
  margin-top: 10vh;
  margin-bottom: 0;
  font-size: 4rem;
  font-weight: 600;
  color: rgb(155, 158, 0);
  text-shadow: 2px 2px 0 rgb(255, 255, 255),
    -1px -1px 0 var(--tg-theme-primary), 1px -1px 0 var(--tg-theme-primary),
    -1px 1px 0 var(--tg-theme-primary), 0 0 10px #ffffff51, 0 0 30px #ffffff3e;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#hero-bio {
  margin-bottom: 10px;
  font-weight: 400;
  text-shadow: 3px 3px 20px #000000, -2px 1px 30px #000000;
}

#hero-txt h6 {
  font-size: 1.1rem;
  /* text-transform: capitalize; */
  font-weight: 200;
  text-shadow: 3px 3px 20px #000000, -2px 1px 30px #000000;
}

.animation {
  margin-top: 25px;
  height: 50px;
  overflow: hidden;
}

.animation > div > div {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem 0.75rem;
  height: 2.81rem;
  width: 16rem;
  margin-bottom: 2.81rem;
}

.animation div:first-child {
  animation: text-animation 8s infinite;
}

.first div {
  position: relative;
  background-color: #aa4203;
}

.second div {
  position: relative;
  color: black;
  font-weight: 600;
  background-color: #d4f1f9a8;
}

.third div {
  position: relative;
  background-color: #3b3131;
}

@keyframes text-animation {
  0% {
    margin-top: 0;
  }

  10% {
    margin-top: 0;
  }

  20% {
    margin-top: -2.73rem;
  }

  30% {
    margin-top: -2.73rem;
  }

  40% {
    margin-top: -3.75rem;
  }

  60% {
    margin-top: -3.75rem;
  }

  70% {
    margin-top: -2.73rem;
  }

  80% {
    margin-top: -2.73rem;
  }

  90% {
    margin-top: 0;
  }

  100% {
    margin-top: 0;
  }
}

/* ============ desktop view .end// ============ */

.img-sec img {
  height: 24rem;
  width: auto;
  border-radius: 8px;
}

.experience-sec {
  display: flex;
  justify-content: center;
  width: 100%;
}

.experience {
  border-bottom: 2px solid rgb(0, 0, 0);
  position: relative;
  /* border: 5px solid rgba(0, 0, 0, 0.591); */
  padding: 10px 10px;
  background: white;
  background-size: cover;
  background-position: center;
  font-family: "bahnschrift";
  font-stretch: semi-condensed;
  margin-top: 2rem;
  max-width: 1155px;
  display: flex;
  border-radius: 8px;
}

.experience .text-part {
  margin: 0 2rem;
  position: relative;
}

.experience h2 {
  font-size: 3rem;
  text-shadow: 3px 4px 5px rgba(0, 0, 0, 0.2);
}

.experience .text-part h5 {
  margin-bottom: 20px;
}

.experience .text-part p {
  font-size: 1.15rem;
  font-weight: 200;
  margin-bottom: 100px;
}

.experience #td-s {
  color: var(--tg-theme-primary);
}

hr {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.what-we-do {
  font-weight: 600;
  font-size: 1.1rem;
  max-width: 1155px;
  height: auto;
  padding: 10px;
  margin: auto;
  background: #ffffff;
  border-radius: 8px;
}

.what-we-do h1 {
  background-color: var(--tg-theme-primary);
  color: var(--tg-color-gray-1);
  font-family: "bahnschrift";
  font-stretch: semi-condensed;
  text-align: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.what-we-do .u_div {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 20px;
}

.what-we-do .u_line {
  display: inline-block;
  height: 4px;
  width: 7em;
  background-color: var(--tg-theme-primary);
  border-radius: 2px;
  margin-bottom: 5rem;
}

.services-container {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  flex-grow: 1;
  max-width: 100%;
  min-width: 100px;
    border-radius: 8px;
}

.services-container a {
  color: black;
  width: 23rem;
}

.services-container .services-box6:hover {
  transform: scale(1.02);
}

.services-box .box-heading {
  display: flex;
  align-items: center;
  margin: auto auto;
  padding-left: 0.5em;
  text-align: left;
  text-transform: capitalize;
  font-family: "bahnschrift";
  font-stretch: semi-condensed;
  position: absolute;
  bottom: 0px;
  left: 0px;
  border-left: 5px solid var(--tg-theme-primary);
  background-color: var(--tg-color-gray-1);
  height: 3em;
  width: 15em;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.box-heading-2 {
  width: 100% !important;
}

#box-heading-3 {
  width: auto;
  padding-right: 1em;
}

#box-heading-5 {
  width: auto;
  padding-right: 1em;
}

#box-heading-6 {
  width: auto;
  padding-right: 1em;
}

#hero-h6 {
  width: 30vw;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "bahnschrift";
  font-stretch: semi-condensed;
  height: 10vh;
  width: 100%;
  font-weight: 100;
  font-size: 1rem;
  margin-top: 40px;
  bottom: 0px;
}

footer strong:nth-child(1) {
  text-align: right;
}

footer strong {
  margin: 0px 4vw;
}

footer a {
  text-decoration: none;
}

footer button:nth-child(1) {
  margin-right: 7px;
}

footer .hasnat_link {
  margin-left: 7px;
}

footer span {
  color: rgb(136, 136, 255);
}

/* loader start */

#preloader {
  position: absolute;
  top: 0px;
  background: #000000 url("assets/images/loader.gif") no-repeat center;
  background-attachment: fixed;
  background-size: 20%;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* loader END */

@media (max-width: 580px) {
  body {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.8)),
      url("assets/images/hero-bg2.jpg");
    background-position: 87% top;
    background-size: cover;
    background-attachment: fixed;
  }

  main {
    padding: 0 1rem;
  }

  #hero-txt h1 {
    text-align: center;
    width: 325px;
    margin-top: -30px;
    line-height: 55px;
    /* text-shadow: none; */
  }
  #h1-haroon {
    letter-spacing: 15px;
    /* color: var(--tg-theme-primary); */
  }
  #hero-txt {
    margin:0 auto;
  }
  #hero-txt h4 {
    text-align: center;
    font-size: 1.7rem;
    width: 300px;
    margin: auto;
    margin-top: 3vh ;
    margin-bottom: 2vh ;
  }

  #hero-txt h6 {
    display: none;
  }

  #hero-h6 {
    width: auto;
  }



  .animation-div {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .animation {
    text-align: center;
    justify-content: center;
    /* margin-left: 10vw; */
  }

  .experience {
    height: auto;
    flex-wrap: wrap;
  }

  .img-sec {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  .img-sec img {
    height: 152vw;
    width: auto;
  }

  .text-part {
    margin: 0px 0px;
    padding-top: 2rem;
  }

  .text-part h5 {
    font-size: 1.4rem;
    text-align: center;
  }

  .text-part h2 {
    text-align: center;
    font-size: 3rem;
  }

  .text-part p {
    margin: 0 0;
    text-align: justify;
  }

  .logo-sec {
    position: static;
    height: 4rem;
    margin-top: 2rem;
  }

  footer strong {
    font-size: 0.7rem;
  }


  #preloader {
    background-size: 50%;
  }
}
