body{
  direction: rtl;
  font-family: 'Cairo', sans-serif;
}
img{
  max-width: 100%;
}
:root{
  --red-color:#19283f;
  --yelwo-color: #ed1c24;
  --selvir-color:#eeeeee;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  scroll-behavior: smooth;
}
.main-title::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 2px;
  background-color: var(--red-color);
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
}
/* start navbar  */
.navbar {
  background-color:#ffffff96;
  box-shadow: 1px 2px 5px #444;
  max-height: 75px;
  
}
@media(max-width:970px){
.navbar .navbar-collapse {
    background-color: #fffffff0;
  }
}
.navbar ul li {
  position: relative;
}
.navbar ul li::after{
    content: "";
      position: absolute;
      height: 3px;
      width: 0;
      background-color: var(--yelwo-color);
      right: 15px;
      bottom: 0px;
      transition: .3s;
}
.navbar ul li:hover::after{
    width:calc(100% - 30px);
}
@media(max-width:970px){
  .navbar ul li::before{
    content: "";
      position: absolute;
    border-bottom: 1px solid #d3d3d3;
      right: 15px;
    width: calc(100% - 30px);
    bottom: 0;
  }
}
.navbar .navbar-nav .nav-link {
  color: black;
  font-size: 18px;
}

.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus {
  color: var(--yelwo-color);
}
.navbar .navbar-toggler {
  color: white;
  font-size: 25px;
  border-color: white;
}

.navbar .navbar-toggler:focus {
  box-shadow: none;
}
/* end navbar  */
/* start landing */
.landing{
  width: 100%;
min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.slider{
width: 100%;
height: 100%;
position: absolute;
top: 0;
}
#slideimg{
  width: 100%;
  height: 100%;
  animation: zoom 5s linear infinite;
}
@keyframes zoom{
0%{
  transform: scale(1.3);
}
15%{
  transform: scale(1);
}
85%{
  transform: scale(1);
}
100%{
  transform: scale(1.3);
}
}
.overlay{
width: 100%;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
position: absolute;
top: 0;
display: flex;
justify-content: center;
align-items: center;
}
.landing h1 span {
  color: var(--yelwo-color);
}
.landing p {
  font-size: 25px;
}
.landing button{
  width: 200px;
  padding: 15px 0;
  text-align: center;
  margin: 30px 10px;
  border-radius: 25px; 
  font-weight: bold;
  transition: .5s;
}
.landing .b1{
  border: 2px solid white;
  background-color: transparent;
  color: white;
  
}
.landing .b1:hover{
  border: none;
    color: white;
    background-color: var(--red-color);
}
.landing .b2{
  border: none;
  color: white;
  background-color: var(--red-color);
}
.landing .b2:hover{
  border: 2px solid white;
    background-color: transparent;
    color: white;
}

/* end landing */
/* start about  */
.about .row h3{
  color: #373737;
  line-height: 60px;
}
.about .row svg{
  font-size: 70px;
}
@media (max-width: 1200px){
  .about h3 {
    font-size: calc(1.3rem + .2vw);
  }
}
/* end about  */
/* start project */
.project{
    background-color: #eeeeee;
      border-radius: 20px;
}
.project .box{
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}
.project .box::after{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #323735b8;
transition: .3s;
}
.project .box:hover::after{
  background-color: transparent;
}
.project .main-ptn{
  background-color: var(--red-color);
  z-index: 99;
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: white;
}
.project .main-ptn:hover{
background-color: #000;
  transition: 1s;
}
/* end project */
/* start services */
.services .fact_text {
font-size: 20px;
}
.services .main-ptn {
  background-color: var(--red-color);
  color: white;
  
}

.services .main-ptn:hover {
  background-color: #000;
    transition: 1s;
}
.services .card-body{
  min-height: 200px;
}
.services .box{
  overflow: hidden;
  position: relative;
}
.services .card{
  overflow: hidden;
  position: relative;
}
.services .box img{
  transition: .5s;
}
.services .card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(255 255 255 / 20%);
  width: 0;
  height: 0;
  opacity: 0;
  z-index: 2;
}
@keyframes flashing {

  0%,
  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    width: 200%;
    height: 200%;
  }
}
.services .card:hover::before {
  animation: flashing 0.7s;
}
.services .card:hover img {
  transform: rotate(5deg) scale(1.1);
}
/* end services */
/* start contact  */
.contact{
  background-color: #eeeeee;
  border-radius: 20px;
  direction: ltr;
}
.contact .card svg{
  padding-right:10px ;
}
.contact .card {
  padding-top:10px ;
}
.contact .card img{
  position: absolute;
    right: -10px;
    top: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 10px solid #eeeeee;
}
.contact .facebook {
  background-color: #1877f2;
}

.contact .whatsapp {
  background-color: #075e54;
}
.contact .massage{
  direction: rtl;
}
.contact .massage input ,.contact .massage textarea{
  border: 0;
  margin: 10px 0;
  padding: 20px;
  outline: none;
  background-color: #eeeeee;
  border-bottom: 1px solid black;
  resize: none;
}
.contact .massage button{
  border: 0;
  background-color: var(--red-color);
  border-radius: 10px;
  font-weight: 600;
  color: white;
  padding: 10px 0;
  font-size: 1.5rem;
  outline: none;
}
.contact .massage button:hover{
  background-color: #000; 
  transition: 1s;
}
@media(max-width:768px){
.contact .map {
  padding-top: 1rem;
}
}
.contact .map {
display: flex;
  align-items: center;
  justify-content: center;
}
/* end contact  */
/* start footer  */
.footer{
  background-color: #000000d8;
  font-size: 19px;
}
.footer img{
  width: 150px;
  height: 150px;
}
.footer .map_text img{
  border-radius: 20px;
}
.footer .map_text .map_icon{
 font-size: 1.2rem;
 padding-left: 10px;
 padding-top: 10px;
}
.footer .box {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  width:fit-content ;
  border-radius: 10px;
  
}
.footer .box:hover {
  background-color: var(--red-color);
color: white;
  cursor: pointer;
  transition: 1.5s;

}
.footer .links .active {
background-color: var(--yelwo-color);
width: fit-content;
padding: 10px;
border-radius: 15px;
color: var(--selvir-color);
font-weight: bold;
}
.footer .imges .whatsapp{
  background-color: #075e54 ;
}
.footer .imges .envelope{
  background-color: #ff0000;
}
.footer .imges li:hover{
  scale: 1.5;
}
/* end footer  */
.copyright{
  background-color: var(--red-color);
  direction: ltr;
  font-size: 1.2rem;
}
.hidden {
  opacity: 0;
  filter: blur(5px);
  transition: all 1.5s;
  transform: translateX(100%);
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}
/* -----------Build----------------- */
.landingBuild{
  background-color: var(--selvir-color);  
}
.landingBuild .img ,img{
  height: 100%;
  
}
.landingBuild .box{
  background-color: var(--yelwo-color);
  color: #eeeeee;
  border-radius: 10px;
  
}
.landingBuild .box1{
  background-color: var(--yelwo-color);
  color: #eeeeee;
  border-radius: 10px;
  width: fit-content;
}
.landingBuild p{
  font-size: 20px;
}
/* ----------End Build------------  */
/* ----------Camera-------------- */
.landingCamera {
  background-color: var(--selvir-color);
}
.landingCamera p{
font-size: 20px;
}
.landingCamera h1{
background-color: var(--yelwo-color);
  color: #eeeeee;
  border-radius: 10px;
  width:fit-content;
}
/* ----------End Camera-------------- */
/* ---------Fire---------- */
.landingFire{
  background-color: var(--selvir-color);
  
}
.landingFire img{
max-width: 100%;
  
}
.landingFire h1{
    background-color: var(--yelwo-color);
    color: #eeeeee;
    border-radius: 10px;
    width: fit-content;
  }
/* ---------EndFire---------- */
/* ---------StartMicanical---------- */
.landingMicanical{
  background-color: var(--selvir-color);
}
.landingMicanical h1 {
  background-color: var(--yelwo-color);
  color: #eeeeee;
  border-radius: 10px;
  width: fit-content;
}
/* ---------EndMicanical---------- */

