/* fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");

/* common styles and must uses styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
.special {
  color: #6164ff;
}

body {
  background-color: #17161c;
}
ul,
li {
  list-style: none;
}
.btn-primary {
  background-color: #6164ff;
}
.container {
  max-width: 1200px;
  padding: 45px;
  margin: 0 auto;
}
a {
  text-decoration: none;
  color: #fff;
}
.half_width {
  width: 45%;
  margin-right: 5%;
}
.half_width:nth-child(2) {
  margin-right: 0;
}

img {
  width: 100%;
  position: relative;
  z-index: -9999;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #fff;
}
p {
  color: #b0b0b0;
  margin: 30px 0;
  line-height: 30px;
}
.btn_group {
  display: flex;
  align-items: center;
  margin: 20px 0;
}
.btn {
  transition: all 400ms ease;
  box-shadow: 0 0 10px #000;
  height: 50px;
  padding: 0 30px;
  line-height: 50px;
  min-width: 100px;
  border-radius: 12px;
  margin-right: 30px;
  display: inline-block;
}
.btn:hover {
  background-color: transparent;
}
.btn_group .btn:nth-child(2):hover {
  background-color: #5a5ceb;
}

/* header styles start */
header {
  background-image: url(../images/section-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  /* box-shadow: 0 0px 0px 0px #fff, 0 7px 10px -3px black; */
  box-shadow: 0 10px 6px -6px #000000;
}
.header_content {
  padding: 20px 0;
}
.header_section {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.header_content .header_title {
  font-size: 40px;
  color: #fff;
}
.header_content .header_title span {
  display: block;
  font-size: 50px;
}
.header_banner img {
  transition: 0.6s ease;
  position: relative;
  animation: updown 3.6s ease-in infinite 0.6s;
  animation-fill-mode: backwards;
  box-sizing: border-box;
  transform-origin: center;
  -webkit-animation: updown 3.6s ease-in infinite 0.6s;
}

@keyframes updown {
  0% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -ms-transform: translateY(20px);
    -o-transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }
}

/* header styles end */

/* About styles start*/
#about {
  /* box-shadow: 0 0px 0px 0px #fff, 0 7px 10px -3px black; */
  box-shadow: 0 10px 6px -6px #000000;
}
.about_container {
  display: flex;
  align-items: center;
  margin: 90px auto;
}

.about_banner {
  width: 50%;
  display: flex;
  align-items: center;
}
.about_first_banner {
  align-self: flex-start;
}
.about_second_banner {
  margin-top: 50px;
}
h2.about_exprience_heading {
  font-size: 50px;
}

.about_first_body span {
  font-size: 18px;
  color: #958c8c;
  position: relative;
}
.about_first_body span::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 1px;
  left: -34px;
  top: 50%;
  background: #8f8687;
}
strong {
  color: #bdbdbd;
  font-weight: 700;
}
h3.about_heading {
  font-weight: 100;
  position: relative;
  font-size: 18px;
  margin-left: 30px;
  color: #dbd2d3;
  margin-bottom: 15px;
}
h3.about_heading::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 1px;
  left: -28px;
  top: 50%;
  background: #8f8687;
}
.about_main_heading {
  font-size: 42px;
  line-height: 51px;
  color: #fff;
}

.about_banner img {
  box-shadow: -0.3rem -0.3rem 0 0 #8587ff;
  border-radius: 15px;
  -webkit-border-radius: 15p;
  -moz-border-radius: 15p;
  -ms-border-radius: 15p;
  -o-border-radius: 15p;
  animation: updown 3.6s ease-in infinite 0.6s;
  -webkit-animation: updown 3.6s ease-in infinite 0.6s;
}
.about_banner img:last-child {
  box-shadow: 0.3rem 0.3rem 0 0 #7577ff;
}
/* About styles end*/

/* services styles start */
#services {
  /* box-shadow: 0 0px 0px 0px #fff, 0 7px 10px -3px black; */
  box-shadow: 0 10px 6px -6px #000000;
  margin-bottom: 100px;
}
.services_header {
  width: 60%;
  margin: 60px auto;
  text-align: center;
}
.services_header p {
  color: #c0bcbc;
  font-weight: 400;
}
.services_heading {
  font-size: 42px;
  font-weight: 500;
}
.services_container {
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  margin-bottom: 50px;
}

.service_box {
  margin-right: 40px;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 35px;
  border-radius: 12px;
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-duration: 0.4s;
  transition-property: opacity, transform;
  padding: 40px 20px 20px;
  border: 1px solid #222227;
  background-color: #16151a;
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
  -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 20%);
  transition: all 600ms ease;
  -webkit-transition: all 600ms ease;
  cursor: pointer;
}
.service_box:last-child {
  margin-right: 0;
}
.heading {
  font-size: 22px;
  margin-bottom: 10px;
}
.heading i {
  color: #6164ff;
  margin-right: 15px;
}
.service_box_header {
  margin-top: 20px;
}
.service_box_header p {
  margin: 0 0 30px 0;
}
.service_banner img {
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.service_box:hover {
  border-color: rgb(97 100 255 / 70%);
  transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
}
/* services styles end */

/* Our Project styles start */
#works {
  /* box-shadow: 0 0px 0px 0px #fff, 0 7px 10px -3px black; */
  box-shadow: 0 10px 6px -6px #000000;
  margin-bottom: 100px;
}
.works_body {
  margin: 70px auto;
}
.single_project {
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  cursor: pointer;
}
.project_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}
.works_header h1 {
  font-size: 40px;
}
.project_title {
  transform: translateX(-1250px);
  color: #ffa500;
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-duration: 0.4s;
  transition-property: transform;
  font-size: 36px;
  -webkit-transform: translateX(-1250px);
  -moz-transform: translateX(-1250px);
  -ms-transform: translateX(-1250px);
  -o-transform: translateX(-1250px);
}
.single_project span {
  transform: translateX(1250px);
  color: #31e3f9;
  font-weight: 700;
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-duration: 0.4s;
  transition-property: transform;
  font-size: 18px;
  -webkit-transform: translateX(1250px);
  -moz-transform: translateX(1250px);
  -ms-transform: translateX(1250px);
  -o-transform: translateX(1250px);
}
.project_info {
  border-radius: 12px;
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-duration: 0.4s;
  transition-property: all;
  position: absolute;
  top: 250px;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  display: grid;
  place-content: center;
  background-color: #5759e5f2;
  bottom: -3000px;
}
.single_project:hover .project_info {
  top: 0;
}
.single_project:hover .project_title,
span {
  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
}
.single_project:hover span {
  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
}
ul.links {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  margin: 20px 0;
  position: relative;
}

.links li a {
  padding: 10px 20px;
  background: crimson;
  margin-right: 15px;
  border-radius: 15px;
  transition: all 400ms ease;
}

.links li a:hover {
  background-color: #6164ff;
}
/* Our Project styles End */

/* Blog styles */
.blogs_container {
  display: flex;
  align-items: center;
}

.single_blog {
  margin-right: 36px;
  margin-top: 44px;
  background: #6a6565;
}

@media only screen and (max-width: 600px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
  .services_container,
  .about_container,
  .btn_group,
  .header_section {
    flex-direction: column;
    padding-bottom: 40px;
  }

  .project_container {
    grid-template-columns: repeat(1, 1fr);
  }
  .half_width,
  .services_header,
  .header_banner {
    width: 100%;
  }
  .btn_group {
    margin: 0;
    padding: 0;
  }
  .btn_group > .btn {
    width: 100%;
    margin: 0 auto;
  }
  .btn_group > .btn:first-child {
    margin-bottom: 30px;
  }
}
