@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

* {

  font-family: 'Tajawal', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}


/*----------------Project css-------------------*/


.titile-project-page {
  direction: rtl;
  color: #000000;
  justify-content: flex-end;
  margin-left: 1000px;
}

.ul-project-page {
  width: 100%;
  height: 50vh;
  display: flex;
  padding: 25px;
  align-items: center;
  margin: auto;


}

.li-project-page {
  position: relative;
  text-decoration: none;
  font-size: 15px;
  font-family: sans-serif;
  text-transform: capitalize;
  color: black;
  cursor: pointer;
  list-style: none;
  margin: 20px;
  margin-top: 350px;


}

.li-project-page::before {
  content: '';
  position: absolute;
  left: 0;
  height: 3px;
  width: 0;
  background-color: #c6b37e;
  bottom: -7px;
  transition: 0.3s;

}

.li-project-page:hover {
  color: black;

}

.li-project-page:hover::before {
  width: 100%;
}


.gallery-project-page {
  display: flex;
  flex-wrap: wrap;
  width: 850px;
  margin-top: -300px;
  margin-left: 150px;

}

.gallery-project-page img {
  margin-bottom: 0px;
  transition: 0.3s;
  margin-left: 5px;
  margin-right: 5px;

}



.tile-project-page {
  width: 100%;
  height: 300px;
  margin: 0.5rem auto;
  position: relative;
  display: block;
  overflow: hidden;
  float: left;

  &::after {
    content: "";
    position: absolute;
    display: block;
    background: #e0e0e0;
    fill: #7a7a7a;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s, opacity 0.5s;
  }
}

.tile-project-page:hover::after,
.tile-project-page:focus::after {
  visibility: visible;
  opacity: 1;
}

.tile__media-project-page {

  height: 80%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
  transform: scale(1);
  backface-visibility: hidden;


}


.tile-project-page:hover .tile__media-project-page,
.tile-project-page:focus .tile__media-project-page {
  transform: scale(1.2);
}

.tile__content-project-page {
  top: 50%;
  right: 0;
  left: 0;
  position: absolute;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  color: #000000;
  font-size: 1rem;
  transition: visibility 0.5s, opacity 0.5s;
  transform: translateY(-50%);
  backface-visibility: hidden;
  text-align: center;
}

.tile-project-page:hover .tile__content-project-page,
.tile-project-page:focus .tile__content-project-page {
  visibility: visible;
  opacity: 1;
}

.tile-project-page {
  width: 100%;
  height: 100%;
}

.img-project-page-3{
  height: 178px;
   width: 280px;
}


/*************** Mr Ali page ********************/



.Mr-Ali-h1 {
  direction: rtl;
  padding-right: 100px;

}

.Mr-Ali-p {
  direction: rtl;
  padding-right: 100px;
  opacity: 70%;
}


.Mr-Ali-page {

  column-gap: 20px;
  column-count: 2;

}

.img-Mr-Ali {
  direction: ltr;
  padding-right: 40px;
  width: 800px;
  height: 950px;
  border-top-left-radius: 30%;


}



/**************Job riyadh  page css******************/


.job-riyadh-h1 {
  direction: rtl;
  padding-right: 100px;
}




/************** Job  Alex  page css******************/


.job-Alex-h1 {
  direction: rtl;
  padding-right: 100px;
}


/************** Training css******************/

.Training-beeah {

  direction: rtl;
  padding-right: 100px;
}



/****************** contact page css  **************************/

.bg-t-contact-us{
    
    background: #7a7a7a28;
    opacity: 80%;
    direction: rtl;
    margin-top: 30px;
    
  }
  .t-contact-us{
    direction: rtl;
    color: #000000;
    justify-content: flex-end;
    text-align: right;
    margin-right: 15px;
  
  
  }
  .t-contact-us-2{
    display: flex;
    color: #000000;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    
    
  }
  .t-contact-us-2 a {
    position: relative;
    text-decoration: none;
    padding-right: 1em;
    color: #7a7a7a;
  }




.contact-page {

  direction: rtl;
  display: flex;
  

}


.google-map{
    width: 500px;
    height: 600px;
}
.title-form-contact{
    font-size: 40px;

}

.description-form-contact{
    font-size: 15px;
    color: #7a7a7a;

}

.form-contact{
    display:grid;
    row-gap: 1rem;
    margin-right: 50px;


}
.label-form-contact{
    font-size: 13px;
    margin-bottom: -10px;
    
}
.input-form-contact{
    border:1px solid #7a7a7a3d ;
    margin-top: -30px;
}
.btn-form-contact{
    width: 100px;
    height: 50px;
}
@media (max-width: 768px) {
    .bg-t-contact-us {
      background: #7a7a7a28;
      opacity: 80%;
      direction: rtl;
      margin-top: 30px;
    }
    .t-contact-us {
      direction: rtl;
      color: #000000;
      justify-content: flex-end;
      text-align: right;
      margin-right: 15px;
    }
    .t-contact-us-2 {
      display: flex;
      color: #000000;
      justify-content: flex-start;
      list-style: none;
      margin: 0;
    }
    .t-contact-us-2 a {
      position: relative;
      text-decoration: none;
      padding-right: 1em;
      color: #7a7a7a;
    }
    .contact-page {
      direction: rtl;
      flex-direction: column;
    }
    .map-contact-page {
      margin-top: 20px;
    }
    .google-map {
      width: 500px;
      height: 600px;
    }
    .title-form-contact {
      font-size: 40px;
    }
    .description-form-contact {
      font-size: 15px;
      color: #7a7a7a;
    }
    .form-contact {
      display: grid;
      row-gap: 1rem;
      margin-top: 150px;
    }
    .label-form-contact {
      font-size: 13px;
      margin-bottom: -10px;
    }
    .input-form-contact {
      border: 1px solid #7a7a7a3d;
      margin-top: -30px;
    }
    .btn-form-contact {
      width: 100px;
      height: 50px;
    }
  }


@media (max-width: 991px) {
    .bg-t-contact-us {
      background: #7a7a7a28;
      opacity: 80%;
      direction: rtl;
      margin-top: 30px;
    }
    .t-contact-us {
      direction: rtl;
      color: #000000;
      justify-content: flex-end;
      text-align: right;
      margin-right: 15px;
    }
    .t-contact-us-2 {
      display: flex;
      color: #000000;
      justify-content: flex-start;
      list-style: none;
      margin: 0;
    }
    .t-contact-us-2 a {
      position: relative;
      text-decoration: none;
      padding-right: 1em;
      color: #7a7a7a;
    }
    .contact-page {
      direction: rtl;
      flex-direction: column;
    }

    .google-map {
      width: 500px;
      height: 600px;
    }
    .title-form-contact {
      font-size: 40px;
    }
    .description-form-contact {
      font-size: 15px;
      color: #7a7a7a;
    }
    .form-contact {
      display: grid;
      row-gap: 1rem;
     margin-top: 150px;
    }
    .label-form-contact {
      font-size: 13px;
      margin-bottom: -10px;
    }
    .input-form-contact {
      border: 1px solid #7a7a7a3d;
      margin-top: -30px;
    }
    .btn-form-contact {
      width: 100px;
      height: 50px;
    }
  }

  @media (max-width: 1025px) {
    .bg-t-contact-us {
      background: #7a7a7a28;
      opacity: 80%;
      direction: rtl;
      margin-top: 30px;
    }
    .t-contact-us {
      direction: rtl;
      color: #000000;
      justify-content: flex-end;
      text-align: right;
      margin-right: 15px;
    }
    .t-contact-us-2 {
      display: flex;
      color: #000000;
      justify-content: flex-start;
      list-style: none;
      margin: 0;
    }
    .t-contact-us-2 a {
      position: relative;
      text-decoration: none;
      padding-right: 1em;
      color: #7a7a7a;
    }
    .contact-page {
      direction: rtl;
      display: flex;
    }

    .google-map {
      width: 500px;
      height: 600px;
    }
    .title-form-contact {
      font-size: 40px;
    }
    .description-form-contact {
      font-size: 15px;
      color: #7a7a7a;
    }
    .form-contact {
      display: grid;
      row-gap: 1rem;
      margin-right: 10px;
    }
    .label-form-contact {
      font-size: 13px;
      margin-bottom: -10px;
    }
    .input-form-contact {
      border: 1px solid #7a7a7a3d;
      margin-top: -30px;
    }
    .btn-form-contact {
      width: 100px;
      height: 50px;
    }
  }  

/**************** project details ************************/

.photo-gallery {
  height: 350px;
  width: 600px;
  padding: 3px;
  margin-top: 50px;
  margin-left: 80px;


}

.project-det-h1 {
  margin-left: 1250px;
  margin-top: -350px;
}


.project-det-page {

  column-gap: 20px;
  column-count: 2;

}


@media (max-width: 480px) {


  .photo-gallery {
    height: 350px;
    width: 600px;
    padding: 3px;
    margin-top: 50px;
    margin-left: 80px;
  
  
  }

  
.project-det-h1 {
  margin-left: 350px !important;
  margin-top: -350px;
}


.project-det-page {

  column-gap: 20px;
  column-count: 2 !important;

}

}



/************ Footer ****************/


.phone {
  font-size: 12.8px;
}

.address {
  font-size: 14.7px;
}

.navigations-footer {
  direction: rtl;
  padding-left: 30px;
  justify-content: space-between;
  column-gap: 10px;
}

.navigations-footer a {
  text-decoration: none;
  color: #ffffff;
}

.button-email {
  width: 80px;
  height: 50px;
  border-radius: 12px;
}

#contact .form-control{
    background-color: #050505;
    border: #000000;
    border-bottom:1px solid #7a7a7a ;
    
  }
#contact .form-control:focus{
    border-color:#c6b37e ;
    box-shadow: none;
  }

#contact .form-control::placeholder {
  color: #ffffff;
  opacity: 60%;
}

.email {
  color: #ffffff;
  opacity: 60%;
}

.line {
  color: #ffffff;
  opacity: 15%;
}

.link-custom {
  font-weight: 700;
  position: relative;
  color: #ffffff;
}

.link-custom::after {
  content: "";
  width: 0%;
  height: 1px;
  background-color: #c6b37e;
  position: absolute;
  left: 0;
  top: 110%;
  transition: all 0.4s;
}

.link-custom:hover::after {
  width: 100%;
}

.Rights {
  direction: rtl;
}

.button-13-ser {
  width: 210px;
  height: 50px;
  background-color: #c6b37e;
  color: #ffffff;
}

/* Media Query for screens with max width 480px */
@media only screen and (max-width: 480px) {
  .navigations-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 7%;
  }
}

/*******************************Training-beeah******************************/

.t-Training-beeah{
    margin-top: 150px;
    direction: rtl;
}

/*******************************job-riyadh******************************/

.t-job-riyadh{
    margin-top: 150px;
    direction: rtl;
}

/*******************************job-alex******************************/

.t-job-alex{
    margin-top: 150px;
    direction: rtl;
}
/******************************** Mr-Ali page ********************************/

@media screen and (max-width: 480px) {



  .Mr-Ali-h1 {
    direction: rtl;
    padding-right: 50px;
    font-size: 24px;
  }

  .Mr-Ali-p {
    direction: rtl;
    padding-right: 50px;
    opacity: 70%;
    font-size: 16px;
  }

  .Mr-Ali-page {
    column-gap: 10px;
    column-count: 1;
  }

  .img-Mr-Ali {
    direction: ltr;
    display: block;
    margin: 0 auto;
    width: 400px;
    height: 475px;
    border-top-left-radius: 20%;
    padding-bottom: 3px;
  }
}




/******************************** Media queries Mr Ali  ********************************/

@media screen and (max-width: 768px) {
  .Mr-Ali-h1 {
    direction: rtl;
    padding-right: 30px;
    font-size: 20px;
    padding-top: 30px;
  }

  .Mr-Ali-p {
    direction: rtl;
    padding-right: 30px;
    opacity: 70%;
    font-size: 14px;
  }

  .Mr-Ali-page {
    column-gap: 10px;
    column-count: 1;
  }

  .img-Mr-Ali {
    direction: ltr;
    display: block;
    margin: 0 auto;
    width: 300px;
    height: 355px;
    border-top-left-radius: 20%;
    padding-bottom: 3px;
  }
}


@media screen and (max-width: 1024px) {
  .Mr-Ali-h1 {
    direction: rtl;
    padding-right: 30px;
    font-size: 20px;
    padding-top: 30px;
  }

  .Mr-Ali-p {
    direction: rtl;
    padding-right: 30px;
    opacity: 70%;
    font-size: 14px;
  }

  .Mr-Ali-page {
    column-gap: 10px;
    column-count: 1;
  }

  .img-Mr-Ali {
    direction: ltr;
    display: block;
    margin: 0 auto;
    width: 300px;
    height: 355px;
    border-top-left-radius: 20%;
    padding-bottom: 3px;
  }
}




/****************** Media queries project det  ****************/
@media screen and (max-width: 480px) {
  .project-det-images {
    height: 350px;
    width: 600px;
    padding: 3px;
    padding-bottom: 200px;
    padding-right: 300px;

  }

  .project-det-h1 {
    margin-left: 190px;
    margin-top: -400px;
    margin-bottom: 30px;
  }

  .project-det-page {
    column-gap: 40px;
    column-count: 2;
  }
}


@media screen and (max-width: 768px) {
  .project-det-images {
    height: 350px;
    width: 600px;
    padding: 3px;
    padding-bottom: 200px;
    padding-right: 300px;

  }

  .project-det-h1 {
    margin-left: 120px;
    margin-top: -400px;
  }

  .project-det-page {
    column-gap: 40px;
    column-count: 2;
  }
}



@media screen and (max-width: 1024px) {

  .photo-gallery {
    height: 350px;
    width: 600px;
    padding: 3px;
    margin-top: 50px;
    margin-left: 80px;
  
  
  }
  
  .project-det-h1 {
    margin-left: 800px;
    margin-top: -350px;
  }
  
  
  .project-det-page {
  
    column-gap: 20px;
    column-count: 2;
  
  }
}


/****************** Media queries Contact   ****************/

@media screen and (max-width: 480px) {
  .contact-h1-page {
    text-align: center;
    margin-left: 200px;
  }

  .form-map-contact-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 150px;
  }

  .map-contact-page {
    margin-bottom: 500px;
    width: 30px;
    height: 10px;
    margin-left: 500px;

  }

  .container.contact-form {
    margin-right: 0;
    margin-left: 0;
  }

  .form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
  }

  .text-right {
    text-align: center !important;
  }
}


@media screen and (max-width: 768px) {
  .contact-h1-page {
    text-align: center;
    margin-right: 140px;
  }

  .form-map-contact-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 190px;
  }

  .map-contact-page {
    margin-bottom: 500px;
    width:20%;
    height: 10px;
    margin-left: 600px;

  }

  .container.contact-form {
    margin-right: 0;
    margin-left: 0;
  }

  .form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
  }

  .text-right {
    text-align: center !important;
  }
}




@media screen and (max-width: 1024px) {
  .contact-h1-page {
    text-align: center;
    margin-right: 140px;
  }

  .form-map-contact-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 190px;
  }

  .map-contact-page {
    margin-bottom: 500px;
    width:20%;
    height: 10px;
    margin-left: 600px;

  }

  .container.contact-form {
    margin-right: 0;
    margin-left: 0;
  }

  .form-horizontal .form-group {
    margin-left: 0;
    margin-right: 200px;
  }

  .text-right {
    text-align: center !important;
  }
}






/****************** Media queries Project   ****************/

@media screen and (max-width: 480px) {
  
.titile-project-page {
  direction: rtl;
  color: #000000;
  justify-content: flex-end;
  margin-left: 1000px;
}

.ul-project-page {
  width: 100%;
  height: 50vh;
  display: flex;
  padding: 25px;
  align-items: center;
  margin: auto;


}

.li-project-page {
  position: relative;
  text-decoration: none;
  font-size: 15px;
  font-family: sans-serif;
  text-transform: capitalize;
  color: black;
  cursor: pointer;
  list-style: none;
  margin: 20px;
  margin-top: 0px;


}

.li-project-page::before {
  content: '';
  position: absolute;
  left: 0;
  height: 3px;
  width: 0;
  background-color: #c6b37e;
  bottom: -7px;
  transition: 0.3s;

}

.li-project-page:hover {
  color: black;

}

.li-project-page:hover::before {
  width: 100%;
}


.gallery-project-page {
  display: flex;
  flex-wrap: wrap;
  width: 850px;
  margin-top: -300px;
  margin-left: 150px;

}

.gallery-project-page img {
  margin-bottom: 0px;
  transition: 0.3s;
  margin-left: 5px;
  margin-right: 5px;

}



.tile-project-page {
  width: 100%;
  height: 300px;
  margin: 0.5rem auto;
  position: relative;
  display: block;
  overflow: hidden;
  float: left;

  &::after {
    content: "";
    position: absolute;
    display: block;
    background: #e0e0e0;
    fill: #7a7a7a;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s, opacity 0.5s;
  }
}

.tile-project-page:hover::after,
.tile-project-page:focus::after {
  visibility: visible;
  opacity: 1;
}

.tile__media-project-page {

  height: 80%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
  transform: scale(1);
  backface-visibility: hidden;


}


.tile-project-page:hover .tile__media-project-page,
.tile-project-page:focus .tile__media-project-page {
  transform: scale(1.2);
}

.tile__content-project-page {
  top: 10%;
  right: 0;
  left: 0;
  position: absolute;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  color: #000000;
  font-size: 1rem;
  transition: visibility 0.5s, opacity 0.5s;
  transform: translateY(-50%);
  backface-visibility: hidden;
  text-align: center;
}

.tile-project-page:hover .tile__content-project-page,
.tile-project-page:focus .tile__content-project-page {
  visibility: visible;
  opacity: 1;
}

.tile-project-page {
  width: 100%;
  height: 100%;
}
}








/******** project page ********************************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

html {
  --body-clr: #ffffff;
  --primary-clr: #05555c;
  --primary-light-clr: #eaf3fa;
  --links-clr: #186f78;
}

body {
  width: 100%;
  min-height: 100vh;
}

.portfolio {
  width: 100%;
  padding: 30px 8%;
  background-color: var(--body-clr);
}

.portfolio .section-head {
  max-width: 700px;
  margin: 0px auto 25px;
  text-align: center;
}

.section-head h1 {
  position: relative;
  font-size: 32px;
  margin: 10px 0px 30px;
}

.button-group {
  text-align: center;
  margin-bottom: 1px;
  margin-left: 945px;
}

.button-group .button {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  text-decoration: none;
  color: #000000;
  font-style: 12px;
  font-weight: 450;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s;
  border: none;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  position: relative;
}

.button-group .button.active {
  color: #000000;
}

.button-group .button:hover {
  color: #000000;
}

.button-group .button:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color:#c6b37e;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.4s;
}

.button-group .button.active:after,
.button-group .button:hover:after {
  visibility: visible;
  transform: scaleX(1);
}

div.gallery{
  width: 65%;
  display: flex;
  flex-wrap: wrap;
  margin-left: 34.5%;
}
div.gallery .item{
  position: relative;
  margin: 4px;
  width: calc(33.33% - 8px);
  overflow: hidden;
  cursor: pointer;
}
.item img{
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}
div.gallery .item:hover img{
  transform: scale(1.15);
}
.item .overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(5,85,92,0.7);
  color: var(--body-clr);
  padding: 15px;
  overflow: hidden;
  transition: opacity 0.2s ease-in-out;
  opacity: 0;
}
.item:hover .overlay{
  opacity: 1;
}
.item .overlay a{
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid var(--body-clr);
  color: var(--body-clr);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}
.item .overlay a:hover{
  background-color: var(--body-clr);
  color: var(--primary-clr);
}


@media(max-width: 1024px){
  div.gallery .item{
    width: calc(50% - 8px);
  }
  .button-group{
    text-align: center;
    margin-bottom: 1px;
    margin-left: 0;
  }

  .item img{
    width: 100%;
    height: 100%;
  }
}

@media(max-width: 750px){
  div.gallery .item{
    width: 100%;
    margin: 4px 0px;
  }
  .button-group{
    text-align: center;
    margin-bottom: 1px;
    margin-left: 0;
  }

  .item img{
    width: 100%;
    height: 100%;
  }
  .item .overlay{
    height: 100%;
    width: 100%;
  }
}


/*************** Project Det All  *****************/



.section-project-detail{
  display: flex;
  direction: rtl;
}



.header-project-title{
  font-size:100%;
  direction: rtl;
  margin-right: 2.5%;
  font-weight: 800;
}

.header-project-sub-title{
  font-size:100%;
  direction: rtl;
  margin-right: 2.5%;
  font-weight: 500;

}

.word-text{
  width: 50%;
    overflow-wrap: break-word;  
    word-wrap: break-word; 
    word-break: break-word;
}

.image-detail{
width: 190%;
margin-right: -99%;
}


@media (max-width: 600px) {

  
.image-detail{
  width: 100%;
  margin-right: 0;
  margin-top: 9%;
  }

  .section-project-detail{
    flex-direction: column;
  }
}


.bg-t-about-us{
    
    background: #7a7a7a28;
    opacity: 80%;
    direction: rtl;
    margin-top: 30px;
    
  }
  .t-about-us{
    direction: rtl;
    color: #000000;
    justify-content: flex-end;
    text-align: right;
    margin-right: 15px;
  
  
  }
  .t-about-us-2{
    display: flex;
    color: #000000;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    
    
  }
  .t-about-us-2 a {
    position: relative;
    text-decoration: none;
    padding-right: 1em;
    color: #7a7a7a;
  }