@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark-color: #1f1f1f;
  --white-color: #ffffff;
  --text-color: #e8e8e8;
  --p-tag-color: #8f8f8f;
  --light-dark-color: #292929;
  --fira-font: "Fira Sans Extra Condensed", sans-serif;
  --poppins-font: "Poppins", sans-serif;
  --Epilogue-font: "Epilogue", sans-serif;
}
body {
  background-color: var(--dark-color);
  font-family: var(--poppins-font);
}

.row {
  --bs-gutter-y: 1rem;
}
.container {
  max-width: 1240px !important;
}

/* genral css */
h2.sub_title {
  font-size: 40px;
  font-weight: 600;
}

h3.small_title {
  font-size: 56px;
  font-weight: 700;
  line-height: 70px;
  color: #464646;
}

.navbar .navbar-brand {
  max-width: 180px;
  width: 100%;
}
.navbar .navbar-brand img {
  width: 100%;
}

/* hero section css */
.hero_section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.hero_section::before,
.hero_section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 254px;
  height: 130px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
  z-index: -1;
}
.hero_section::before {
  left: 50%;
  transform: translateX(-115%);
  background-image: url(../images/rect_shape/Nav_ract_1.png);
}
.hero_section::after {
  left: 50%;
  transform: translateX(-155%);
  background-image: url(../images/rect_shape/Nav_ract_2.png);
  z-index: -2;
}

.hero_section .hero_content h1 {
  font-size: 70px;
  font-family: var(--fira-font);
}

.hero_section .hero_emai {
  font-family: var(--Epilogue-font);
}

.hero_section .hero_content h1::before,
.hero_section .hero_content h1::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

.hero_section .hero_content h1::before {
  width: 254px;
  height: 420px;
  bottom: 0%;
  left: -30px;
  transform: translateY(40%);
  background-position: top;
  background-image: url(../images/rect_shape/hero_rect_1.png);
}

.hero_section .hero_content h1::after {
  right: -50px;
  top: 0%;
  transform: translateY(-30%);
  height: 820px;
  width: 380px;
  background-image: url(../images/rect_shape/hero_rect_2.png);
  background-position: bottom;
}

/* service section css*/
.service_section .service_box a {
  width: 100%;
  background-color: #222222;
  color: var(--text-color);
  text-decoration: none;
}

/* portfolio_section */
.portfolio_box .portfolio_subject {
  font-family: var(--Epilogue-font);
  font-size: 1.125rem;
  color: var(--p-tag-color);
}
.portfolio_box .portfolio_technology {
  font-family: var(--Epilogue-font);
  font-size: 22px;
  color: var(--p-tag-color);
}
.portfolio_section .portfolio_box .top_img img {
  transition: all 0.5s ease-in-out;
}

.portfolio_section .portfolio_box:hover .top_img img {
  transform: scale(1.05);
}

/* contact_section css */
.contact_section {
  padding-top: 100px;
  overflow-x: clip;
}
.contact_section::before,
.contact_section::after {
  content: "";
  position: absolute;
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}
.contact_section::before {
  top: 0;
  left: -42px;
  height: 345px;
  width: 256px;
  transform: translateY(33%);
  background-image: url(../images//rect_shape/hero_rect_1.png);
}
.contact_section::after {
  right: 0px;
  top: 0%;
  /* transform: translateY(-30%); */
  height: 510px;
  width: 306px;
  background-image: url(../images//rect_shape/hero_rect_2.png);
  background-position: center;
  background-size: cover;
}
.contact_section .contact_title h2 {
  font-size: 7.8vw;
  font-family: var(--Epilogue-font);
}
.contact_section .contact_title h4 {
  font-size: 40px;
  font-family: var(--Epilogue-font);
  color: #464646;
}

/* Begin Footer */
footer hr {
  border-top: 2px solid #282828;
  width: 55vw;
}
.footer_social_icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-content: center;
  background-color: #2c2b2b;
  border-radius: 50%;
}

.footer_social_icon svg {
  width: 26px;
  height: 26px;
}
.footer_social_link {
  line-height: normal;
  font-family: var(--Epilogue-font);
  font-weight: 500;
  color: var(--white-color);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .hero_section .hero_content h1 {
    font-size: 50px;
  }
  .hero_section .hero_content h1::before {
    width: 210px;
    height: 350px;
    transform: translateY(50%);
  }
  .hero_section .hero_content h1::after {
    height: 570px;
    right: -70px;
  }
  p.small_title {
    font-size: 40px;
  }
  .contact_section {
    padding-top: 50px;
  }
  .contact_section::before {
    height: 258px;
    width: 190px;
    transform: translateY(50px);
  }
  .contact_section::after {
    width: 254px;
    height: 435px;
    transform: translate(10%, -10%);
    background-size: contain;
  }
}

@media (max-width: 767px) {
  .hero_section {
    height: 80vh;
  }
  .hero_section .hero_content h1::before {
    width: 190px;
    height: 340px;
  }

  .hero_section .hero_content h1 {
    font-size: 40px;
  }
  .hero_section .hero_content p {
    font-size: 16px !important;
  }

  h2.sub_title {
    font-size: 30px;
  }

  p.small_title {
    font-size: 30px;
  }

  .service_section .service_box a {
    font-size: 16px !important;
  }
  .contact_section .contact_title h4 {
    font-size: 26px;
  }
  .contact_section::before {
    height: 200px;
    width: 155px;
    transform: translateY(65px);
  }
  .contact_section::after {
    height: 330px;
    width: 196px;
  }
  .portfolio_box .portfolio_subject {
    font-size: 1rem;
  }
  .portfolio_box .portfolio_technology {
    font-size: 1rem;
  }
  h3.small_title {
    font-size: 36px;
    line-height: normal;
  }
}

@media screen and (max-width: 575px) {
  h3.small_title {
    font-size: 28px;
    font-weight: 800;
    line-height: normal;
  }
}
