:root {
  --text-color-main: #748182;
  --color-white: #fff;
  --color-gray: #999;
  --color-dark-gray: #343434;
  --bg-gray: #f7f7f7;

  --dark-color-main: #1c1c1c;
  --dark-color-main-sec: #111;
  --light-color-main: #f4f4f4;
  --light-color-main-sec: #eee;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 59px;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color-main);
  font-weight: 400;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--color-dark-gray);
}
p {
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
  color: var(--text-color-main);
}
ul {
  list-style: none;
}
.section-top {
  margin-bottom: 80px;
}
.section-top h3 {
  font-weight: 900;
  font-size: 40px;
  position: relative;
  display: inline-block;
  z-index: 4;
}
.section-top h3::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 30px;
  background-image: url("../imgs/dots.png");
  background-repeat: repeat;
  left: 0;
  bottom: -10px;
  z-index: -1;
}
.bg-image {
  min-height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.65)), url("../imgs/bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: scroll;
  background-position-y: var(--scroll, 0px);
  transition: background-position 0.05s ease-out;
}
.no-pointer {
  cursor: default;
  user-select: none;
}

/* Navbar */
.navbar {
  padding-top: 2rem;
}
.navbar li {
  margin-left: 1.5rem;
}
.navbar .nav-link {
  color: var(--color-white);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--color-white);
}
.navbar .logo .navbar-brand {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 800;
}
.navbar .navbar-nav .nav-link {
  position: relative;
}
.navbar .navbar-nav .nav-link.active::after {
  width: 75%;
}
.navbar .nav-link::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--color-white);
  position: absolute;
  bottom: 6px;
  left: 8px;
  transition: 0.5s;
}
.navbar.scrolled {
  color: var(--color-ma);
  background-color: white !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: 0.5s;
  padding-top: 0.5rem !important;
  padding-bottom: 0rem !important;
}

.navbar.scrolled .nav-link {
  color: var(--dark-color-main-sec) !important;
}
.navbar.scrolled .logo .navbar-brand {
  color: var(--dark-color-main-sec) !important;
}
.navbar.scrolled .nav-link.active,
.navbar.scrolled .nav-link:hover {
  color: var(--color-main);
}
.navbar.scrolled .nav-link::after {
  background-color: var(--dark-color-main-sec) !important;
}
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler[aria-expanded="true"] {
  border: none;
  outline: none;
  box-shadow: none;
}
.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
@media screen and (max-width: 992px) {
  .navbar li {
    margin-left: 0.5rem;
  }
}
@media screen and (max-width: 767px) {
  .navbar ul {
    background-color: var(--color-white) !important;
    text-align: center !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .navbar .nav-link {
    color: var(--dark-color-main-sec) !important;
  }
  .navbar .nav-link.active::after {
    width: 10% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background-color: var(--dark-color-main-sec) !important;
  }

  .navbar .nav-link.active,
  .navbar .nav-link:hover {
    color: var(--color-main);
  }
  .navbar .nav-link::after {
    background-color: var(--dark-color-main-sec) !important;
  }
}

/* home */
.home {
  background-image: linear-gradient(rgba(0, 0, 0, 0.65)), url("../imgs/bg.jpg");
}

.home .home-content h5 {
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 10px;
}
.home .home-content h5,
.home .home-content h2 {
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-white);
}
.home .home-icons a {
  color: var(--color-white);
}
.home .home-icons span {
  background-color: rgba(0, 0, 0, 0.3);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home .home-icons span a {
  color: var(--color-white);
}

/* about */
.about {
  padding: 80px 0;
}
.about .about-img {
  padding: 0 0 0 30px;
  margin-bottom: 30px;
}
.about .about-img::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  left: 0;
  bottom: -30px;
  background-image: url("../imgs/dots.png");
  background-repeat: repeat;
  z-index: -1;
}
.about .about-content {
  margin-bottom: 30px;
}
.about .about-content h3 {
  font-weight: 800;
  margin-bottom: 5px;
}
.about .about-content .about-text {
  font-size: 0.875rem;
  letter-spacing: 2px;
  color: var(--color-gray);
}
.about .about-content .skills {
  margin-top: 30px;
  margin-bottom: 50px;
}

.progress-bar {
  background-color: var(--dark-color-main-sec);
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-radius: 5px;
}
.progress-bar span {
  font-family: "Montserrat", sans-serif;
}
.progress {
  height: 25px;
}
.btn-black {
  color: var(--light-color-main-sec);
  background-color: var(--dark-color-main);
  border-color: var(--dark-color-main);
  padding: 0.625rem 1.875rem;
  font-size: 0.8125rem;
  transition: 0.5s;
}

.btn-black:hover {
  color: #343434;
  background-color: transparent;
  border-color: var(--dark-color-main);
}

.btn-white {
  color: var(--dark-color-main);
  background-color: var(--color-white);
  border-color: var(--dark-color-main);
  padding: 0.625rem 1.875rem;
  font-size: 0.8125rem;
  transition: 0.5s;
}

.btn-white:hover {
  color: var(--color-white);
  background-color: var(--dark-color-main);
  border-color: var(--dark-color-main);
}

@media screen and (max-width: 992px) {
  .about .about-content {
    margin-top: 30px;
  }
}

/* services */
.services {
  padding: 70px 0;
  background-color: var(--bg-gray);
}
.services .item {
  padding: 50px 20px;
  background: var(--color-white);
  box-shadow: 0px 10px 30px -8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  border-radius: 5px;
}
.services .item span {
  display: inline-block;
}
.services .item .icon {
  font-size: 40px;
  margin-bottom: 20px;
  width: 70px;
  height: 70px;
  line-height: 70px;
  background: #f4f4f4;
  border-radius: 50%;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.services .item .icon i {
  font-size: 30px;
  color: var(--dark-color-main-sec);
  transition: all 0.5s;
}
.services .item:hover span {
  background-color: var(--dark-color-main-sec);
}
.services .item:hover .icon i {
  color: var(--color-white);
}
.services .item h6 {
  margin-bottom: 15px;
  font-weight: 800;
  font-size: 18px;
}
.services .item p {
  word-spacing: 2px;
  font-size: 14px;
}
/* portfolio */
.portfolio {
  padding: 70px 0;
}
.portfolio .item-layer {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  left: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: all 0.5s;
  transform: translateY(10px);
  z-index: 2;
}
.portfolio .item {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.portfolio .item:hover .item-layer {
  opacity: 1;
  transform: translateY(0);
}
.portfolio .item .item-layer h6 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  margin-bottom: 15px;
  transform: translateY(-15px);
  transition: all 0.5s;
}
.portfolio .item .item-layer span {
  font-size: 12px;
  letter-spacing: 2px;
  transform: translateY(15px);
  transition: all 0.5s;
}
.portfolio .item .item-layer span i {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 28px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #111;
  color: #eee;
}
.portfolio .item:hover .item-layer h6 {
  transform: translateY(0);
}
.portfolio .item:hover .item-layer span {
  transform: translateY(0);
}
.portfolio .item .item-layer span a {
  color: var(--dark-color-main-sec);
}
.portfolio .item .icons span:hover i {
  background-color: var(--color-white);
  color: var(--dark-color-main-sec);
}
.portfolio .nav.nav-pills {
  width: fit-content;
  margin: auto;
  padding-bottom: 30px;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: var(--dark-color-main-sec);
  background-color: transparent;
}
.nav-pills .nav-link {
  color: var(--dark-color-main);
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}
.portfolio .nav-pills .active:before {
  width: 60%;
}
.portfolio .nav-pills button:before {
  content: "";
  width: 0;

  height: 2px;
  background: #111;
  position: absolute;
  left: 20%;
  bottom: 3px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  z-index: -1;
}

/* testimonials */
.testimonials {
  background-color: var(--bg-gray);
  padding: 70px 0;
}
.carousel-indicators {
  position: static;
}
.carousel-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
}

.carousel-item p {
  word-spacing: 2px;
  max-width: 900px;
}
.carousel-item h6 {
  color: var(--dark-color-main);
  font-size: 16px;
  font-weight: 600;
  margin: 30px 0 10px;
}
.carousel-item h5 {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  margin-bottom: 30px;
}
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-gray);
  margin: 0 7px;
}
.carousel-indicators [data-bs-target]:hover {
  cursor: pointer;
  background-color: var(--color-dark-gray);
}

/* members */
.members {
  padding: 70px 0;
}
.members .item {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.members .member span {
  color: var(--dark-color-main-sec);
}
.members .member h3 {
  font-weight: 900;
  margin-bottom: 15px;
}
.members .member p {
  font-weight: 600;
  margin-bottom: 30px;
}

/* team */
.team {
  background-color: var(--bg-gray);
  padding: 70px 0;
}
.team .team-item {
  background-color: #5b5b5b;
  margin-bottom: 25px;
}
.team .team-item .team-text {
  padding: 18px;
}
.team .team-item .team-text h4,
.team .team-item .team-text h5 {
  color: var(--color-white);
}
.team .team-item .team-text h4 {
  font-weight: 500;
  margin-bottom: 5px;
}
.team .team-item .team-text h5 {
  font-weight: 600;
  margin-bottom: 15px;
}
.team .team-layer {
  content: "";
  background-color: var(--color-white);

  opacity: 0;
  transition: all 0.5s;
  transform: translateY(10px);
  z-index: 2;
  inset: 5px;
  transition: 0.5s;
  transform: rotateY(180deg) scale(0.5, 0.5);
  padding: 30px 0;
}
.team .team-item:hover .team-layer {
  opacity: 0.9;
  transform: translateY(0);
}
.team .team-item img:hover,
.team .team-img:hover img {
  transform: scale(1.2);
}
.team .team-item img {
  transition: all 0.5s;
}
.team .team-img {
  overflow: hidden;
  cursor: pointer;
}
.team .team-layer .social ul {
  text-align: center;
  position: relative;
  top: 175px;
}
.item .item-layer .social li {
  display: inline-block;
}
.team .team-layer .social li a {
  border: 1px solid #000;
  color: var(--color-white);
  background-color: var(--dark-color-main-sec);
  display: block;
  font-size: 20px;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
}
.team .team-layer .social li a:hover {
  background-color: var(--color-white);
  border-color: var(--dark-color-main-sec);
  color: var(--dark-color-main-sec);
}

/* contact */
.contact {
  padding: 70px 0;
}
.contact .item span {
  display: flex;
  justify-content: center;
  align-items: center;

  height: 60px;
  width: 60px;
  font-size: 1.5625rem;
  background-color: var(--light-color-main);
  color: var(--dark-color-main);
  transition: 0.3s;
}
.contact .item p {
  font-size: 15px;
  line-height: 1.6;
}
.contact .item:hover span {
  background-color: var(--dark-color-main);
  color: var(--light-color-main-sec);
}
.contact .form-control {
  padding: 0.625rem;
  background-color: var(--light-color-main);
  border: none;
  border-radius: 0.3125rem;
}
.contact textarea.form-control {
  height: 160px;
  max-height: 160px;
  max-width: 100%;
}
.contact .form-control::placeholder {
  color: var(--text-color-main);
  font-size: 15px;
}
.form-control:focus {
  background-color: var(--light-color-main);
  box-shadow: none;
}
.btn-black {
  color: var(--light-color-main-sec);
  background-color: var(--dark-color-main);
  border-color: var(--dark-color-main);
  padding: 0.625rem 1.875rem;
  font-size: 0.8125rem;
  transition: 0.5s;
}
.btn-black:hover {
  color: #343434;
  background-color: transparent;
  border-color: var(--dark-color-main);
}

/* footer */
footer {
  padding: 15px 0;
  background-color: var(--dark-color-main);
  color: var(--color-white);
}
.footer p {
  font-size: 13px;
  word-spacing: 2px;
}
