html {
  scroll-padding-top: 67px; /* ارتفاع الناف بار */
  scroll-behavior: smooth;

}
.nav-link.active {
  font-weight: bold;
  color: #000; /* لون العنصر النشط */
}
h1,
h2,
h3,
h4,
h5,
h6,
.logo {
  font-family: "Montserrat", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

.nav-bar-Dan {
  padding: 15px 15px;
  margin: 0px 0px 20px;
}
.logo {
  letter-spacing: 1px;
  font-size: 18px;
}

nav .nav-link {
  position: relative;
  line-height: 20px;
  font-size: 13px;
}
nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #000;
  left: 0;
  bottom: 8px;
  transition: 0.3s;
  margin-left: 7px;
}

nav .nav-link.active::after {
  width: 75%;
}

header.home {
  background-image: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
    url(../imgs/bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  min-height: 100vh;
}
.text-home span {
  font-size: 50px;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
}
.item-about-left {
  position: relative;
}
.item-about-left::after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: -30px;
  background-image: url(../imgs/dots.png);
  background-repeat: repeat;
  width: 80%;
  height: 80%;
  z-index: -1;
}
.text-home h1 {
  font-size: 4.4rem;
}
@media screen and (max-width: 800px) {
  .text-home h1 {
    font-size: 2rem;
  }
}
.item-about-right h2 {
  font-weight: 800;
}
.item-about-right .ui-text-about {
  letter-spacing: 2px;

  margin-bottom: 20px;
}
.item-about-right .Jerry-p-about {
  line-height: 1.6;
  font-size: 15px;
}
.text-home h1::after {
  content: " ";
  font-weight: 400;
  animation: animat 5s infinite;
  animation-timing-function: ease;
}
.fa-brands {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
}
.about .text-porgress h6 {
  font-size: 13px;
}

.dawnload-btn-about {
  padding: 10px 30px;
  background-color: #000;
  color: #fff;
  margin-top: 40px;
  font-size: 13px;
  border: 1px solid #000;
  transition: 0.5s;
}
.dawnload-btn-about:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

.contact-btn-about {
  padding: 10px 30px;
  background-color: #fff;
  color: #000;
  margin-top: 40px;
  font-size: 13px;
  border: 1px solid #000;
  transition: 0.5s;
}
.contact-btn-about:hover {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
}
.services h2,
.portfolio h2,
.Clients h2,
.team h2,
.contact h2 {
  font-size: 40px;
  font-weight: 900;
  position: relative;
  width: fit-content;
  margin: auto;
}
.services h2::after,
.portfolio h2::after,
.Clients h2::after,
.team h2::after,
.contact h2::after {
  content: "";
  position: absolute;
  left: 0px;

  bottom: -10px;
  background-image: url(../imgs/dots.png);
  background-repeat: repeat;
  width: 100%;
  height: 30px;
  z-index: -1;
}
.services .icon-serv {
  font-size: 30px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #f4f4f4;
  align-content: center;
  margin: auto;
  margin-bottom: 20px;
  transition: 0.5s;
}
.services .item-serv:hover .icon-serv {
  background-color: #000;
  color: #f4f4f4;
}

.services .item-serv h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
}
.services .item-serv p {
  font-size: 14px;
  word-spacing: 2px;
  line-height: 1.6;
}

.services,
.Clients,
.team {
  background: #f7f7f798;
}

.portfolio .nav-tabs {
  border: none;
  color: #000;
  position: relative;
}

.portfolio .nav-link {
  position: relative;
  border: none;
  font-size: 16px;
  color: #000;
}

.portfolio .nav-link.active {
  border: none;
  color: #000;
}
.portfolio .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #000;
  left: 0;
  bottom: 2px;
  transition: 0.3s;
  margin-left: 12px;
}
.portfolio .nav-link.active::after {
  width: 63%;
  text-align: center;
}
.portfolio .icons-port .fa-solid {
  background-color: #000;
  width: 30px;
  height: 30px;
  line-height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  transition: 0.5s;
}
.portfolio .icons-port .fa-solid:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

.portfolio .card-port {
  position: relative;
}
.portfolio .text-port {
  background: rgba(255, 255, 255, 0.95);
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  opacity: 0;
  transition: 0.5s;
}
.portfolio .card-port:hover .text-port {
  opacity: 1;
}
.h3-port {
  transform: translateY(0%);
  transition: 0.5s;
  padding-bottom: 10px;
}

.portfolio .card-port:hover .h3-port {
  transform: translateY(20%);
}
.h3-port h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}
.portfolio .icons-port {
  transform: translateY(20%);
  transition: 0.5s;
}
.portfolio .card-port:hover .icons-port {
  transform: translateY(0%);
}

.Clients .carousel-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 30px 0 5px;
}
.Clients .carousel-item span {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 30px;
}

.Clients .carousel-indicators [data-bs-target] {
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin-left: 10px;
  background-color: rgb(134, 151, 145);
}
.card-count h2 {
  font-weight: 900;
}
.team .card-team {
  background-color: rgb(91, 91, 91);
  overflow: hidden;
}
.team .card-team .icons-team {
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  opacity: 0;
  transform: rotateY(0deg) scale(0.5);
  transition: 0.7s;
}

.team .card-team:hover .icons-team {
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  transform: rotateY(360deg) scale(1);
  opacity: 1;
}
.team .img-team {
  overflow: hidden;
}
.team .img-team img {
  transition: 0.7s;
}
.team .img-team:hover img {
  transform: scale(1.2);
}
.team .img-team {
  position: relative;
}

.icons-team .fa-brands {
  background-color: #000;
  width: 40px;
  height: 40px;
  line-height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  transition: 0.5s;
  margin: 0px 5px;
}
.icons-team .fa-brands:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

.icon-cont {
  font-size: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  line-height: 60px;
  background: #f4f4f4;
  margin: auto;
  margin-bottom: 15px;
  transition: 0.5s;
}
.card-cont:hover .icon-cont {
  background-color: #000;
  color: #f4f4f4;
}

.form-cont input {
  width: 48%;
  background-color: rgb(244, 244, 244);
  border: none;
  padding: 15px;
  outline: none;
  border-radius: 5px;
}

@media screen and (max-width: 992px) {
  .form-cont input {
    width: 100%;
  }
}
.contact form textarea {
  background-color: rgb(244, 244, 244);
  border: none;
  height: 160px;
  padding: 20px;
  max-height: 160px;
  outline: none;
  border-radius: 5px;
}
.contact .btn-sub {
  padding: 10px 40px;
  background-color: #000;
  color: #fff;
  margin-top: 40px;
  font-size: 13px;
  border: 1px solid #000;
  transition: 0.5s;
}
.contact .btn-sub:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}
footer {
  background-color: rgb(28, 28, 28);
}
footer p {
  font-size: 13px;
  word-spacing: 2px;
  color: #748182;
}
