/* Global */
:root {
  --main-dark-color: rgb(17, 17, 17);
  --main-gray-color: rgb(153, 153, 153);
}
/* paddings */

.section-padding {
  padding-top: 48px;
  padding-bottom: 48px;
}
/* colors */
.main-dark-color {
  color: rgb(17, 17, 17);
}

.main-dark-bg-color {
  background-color: rgb(17, 17, 17);
}

.main-gray-bg-color {
  background-color: var(--main-gray-color);
}

.main-gray-color {
  color: rgb(153, 153, 153);
}

/* font classes */
.popp {
  font-family: "Poppins", sans-serif;
}

.mont {
  font-family: "Montserrat", sans-serif;
}

#nav-bar .nav-link {
  position: relative;
}

#nav-bar .nav-link::after {
  content: "";
  position: absolute;
  top: 85%;
  left: 10%;
  width: 0%;
  height: 3px;
  background-color: black;
  transition: all 0.5s;
}

#nav-bar .nav-link.active::after {
  width: 80%;
}

/* Header Section */
#header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.37)),
    url(../assets/imgs/bg.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

#header .social-icons div {
  width: 35px;
  height: 35px;
  border: 1px solid transparent;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

/* About Me Section */
#about-me .my-img {
  position: relative;
}

#about-me .my-img::after {
  position: absolute;
  content: "";
  background-image: url(../assets/imgs/dots.png);
  top: 50%;
  left: 40%;
  right: 40%;
  bottom: 0px;
  z-index: -1;
}
.about-me-content p {
  line-height: 24px;
}

.word-spaced {
  letter-spacing: 4px;
}

.download-button {
  background-color: var(--main-dark-color);
  color: white;
  transition: all 0.5s;
}
.download-button:hover {
  background-color: transparent;
  border-color: var(--main-dark-color);
}

.contact-me-button {
  background-color: transparent;
  color: black;
  border: 1px var(--main-dark-color) solid;
  transition: all 0.5s;
  a {
    color: var(--main-dark-color);
  }
}

.contact-me-button:hover {
  background-color: var(--main-dark-color);
  border-color: transparent;
  color: white;
  a {
    color: white;
  }
}

/* Services Section */

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f4f4f4;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
}

.service-icon i {
  font-size: 25px;
}

.service-item:hover .service-icon {
  color: white;
  background-color: black;
}

#Services > h2::after {
  position: absolute;
  content: "";
  background-image: url(../assets/imgs/dots.png);
  top: 50%;
  left: 40%;
  right: 40%;
  bottom: 0px;
  z-index: -1;
}

#portfolio > h2::after {
  position: absolute;
  content: "";
  background-image: url(../assets/imgs/dots.png);
  top: 50%;
  left: 40%;
  right: 40%;
  bottom: 0px;
  z-index: -1;
}

/* Work Section */
#portfolio .nav-item .nav-link {
  color: black;
  position: relative;
}

#portfolio .nav-item .nav-link::after {
  content: "";
  position: absolute;
  top: 85%;
  left: 10%;
  width: 0%;
  height: 3px;
  background-color: black;
  transition: all 0.5s;
}

#portfolio .nav-item .nav-link.active::after {
  width: 70%;
}

.nav-pills {
  border: 0;
  --bs-nav-pills-link-active-color: var(--main-dark-color);
  --bs-nav-pills-link-active-bg: transparent;
}

.portfolio-item img {
  width: 100%;
  transition: all 0.5s;
}

.portfolio-item:hover img {
  transform: scale(1.2);
}
.portfolio-item .portfolio-layer {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 10px;
  right: 10px;
  opacity: 0;
  transition: all 0.5s;
}

.portfolio-item {
  transition: 0.5s;
}

.portfolio-item:hover .layer-content i {
  transform: translateY(0);
}

.portfolio-item:hover .layer-content h6 {
  transform: translateY(0);
}

.portfolio-item:hover .portfolio-layer {
  opacity: 1;
  background-color: gray;
}

.layer-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.layer-content h6,
.layer-content i {
  transition: all 0.7s;
}
.layer-content h6 {
  transform: translateY(-20px);
  transition: all 0.5;
  letter-spacing: 2px;
}

.layer-content i {
  transform: translateY(50px);
  background-color: black;
  width: 30px;
  height: 30px;
  border: 1px solid black;
  border-radius: 50%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.layer-content i:hover {
  background-color: transparent;
  color: black;
}

/* Carousel Section */

#clients {
  background-color: #f7f7f7;
}
.carousel-item img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-indicators [data-bs-target] {
  background-color: gray;
}

.carousel-indicators [data-bs-target]:hover {
  background-color: grey;
}

#carouselExampleIndicators {
  width: 90%;
}

#clients > h2 {
  font-weight: 900;
  font-size: 40px;
}

#clients > h2::after {
  position: absolute;
  content: "";
  background-image: url(../assets/imgs/dots.png);
  top: 50%;
  left: 40%;
  right: 40%;
  bottom: 0px;
  z-index: -1;
}

/* Numbers Section */

#numbers i {
  color: rgb(52, 52, 52);
}

.text-item h4 {
  color: rgb(52, 52, 52);
  font-weight: 900;
}

/* Team Section */

#team > h2::after {
  position: absolute;
  content: "";
  background-image: url(../assets/imgs/dots.png);
  top: 50%;
  left: 40%;
  right: 40%;
  bottom: 0px;
  z-index: -1;
}

#team > h2 {
  font-weight: 900;
}

.member-img .layer {
  position: absolute;
  background-color: white;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  opacity: 0;
  transition: all 0.6s;
  transform: rotateY(0deg) scale(0.5);
}

.team-member:hover .member-img .layer {
  top: 10px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  opacity: 1;
  transform: rotateY(360deg) scale(1);
  z-index: 10;
}

.member-img img {
  transition: all 0.3s;
  position: relative;
}
.member-img:hover img {
  transform: scale(1.4);
}

.member-img .layer i {
  transform: translateY(50px);
  background-color: black;
  width: 30px;
  height: 30px;
  border: 1px solid black;
  border-radius: 50%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-img .layer i:hover {
  background-color: transparent;
  color: black;
}

/* Contact Me Section */

#contact .container > h2::after {
  position: absolute;
  content: "";
  background-image: url(../assets/imgs/dots.png);
  top: 50%;
  left: 40%;
  right: 40%;
  bottom: 0px;
  z-index: -1;
}

#contact .container > h2 {
  font-weight: 900;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border: 1px solid transparent;
  border-radius: 50%;
  background-color: var(--main-gray-color);
  transition: 0.5s;
}

.contact-item:hover .contact-icon {
  background-color: var(--main-dark-color);
  color: white;
}

#contact .form-control {
  background-color: #f4f4f4;
  border: 0;
}

#contact .form-control:focus {
  border: 0;
  box-shadow: 0 0 0 0.25rem rgb(255 255 255 / 25%);
  background-color: #f4f4f4;
}

#contact .submit-button {
  background-color: var(--main-dark-color);
  transition: 0.5s;
  border: 1px solid var(--main-dark-color);
}
#contact .submit-button:hover {
  background-color: white;
}
#contact .submit-button a {
  color: white;
  transition: 0.5s;
}

#contact .submit-button:hover a {
  color: black;
}

/* footer section */

footer {
  background-color: #1c1c1c;
}

footer p {
  color: rgb(116, 129, 130);
  font-size: 13px;
}
