h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.5em;
}
h1 {
    font-size: 35px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 25px;
}
.h4,
h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 15px;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.btnhh {
  padding: 12px 18px;
  background-color: #316AD6;
  color: #ffffff;
  min-width: 260px;
  border-radius: 5px;
  margin-bottom: 25px;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  position: relative;
  top: 0;
  transition: 0.3s;
}

.btnhh:hover {
  top: -8px;
  background: #0F5A38;
}
@media (max-width: 770px){
.btnhh {
    min-width: 190px;
}}


/* btnswatssapp animation */

.btnWatss{
  padding: 8px 25px 8px 35px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  background: #40C351;
  width: max-content;
  font-weight: bold;
  gap: 5px;
  font-size: 20px;
  position: relative;
  color: #fff;
}
.btnWatss svg{
  position: absolute;
  left: -25px;
  top: -5px;
  width: 58px;
}
.btnWatss #anm1{
  animation: btnwtsanmiat 1.5s linear infinite forwards;
  position: relative;
}
@keyframes btnwtsanmiat{

  
  0%{
    transform: translateX(0) ;
}
5%{
  transform: translateX(2px) ;
}
10%{
  transform: translateX(0) ;
}
15%{
  transform: translateX(-2px) ;
}
20%{
  transform: translateX(0) ;
}
25%{
  transform: translateX(2px);
}
30%{
  transform: translateX(-2px) ;
}
35%{
  transform: translateX(0px) scale(1);
}

80%{
  transform: translateX(0) scale(0.8);
}
100%{
  transform: translateX(0) scale(1);
}
}



/* normal buttons */

.btn{
  position: relative;
  display: inline-block;
  border: none;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(to right , #005e94 ,#316AD6);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 19px 30px;
  border-radius: 5px;
  z-index: 1;
  overflow: hidden;
  font-weight: bold;
}
.btn::after, .btn::before {
  width: 100%;
  height: 100%;
  content: "";
  margin: auto;
  position: absolute;
  top: 0%;
  left: 0%;
  background: #606060;
  transition: all ease .5s;
  z-index: -1;
  border-radius: inherit;
}
.btn:before {
  transform: rotateX(90deg);
}
.btn:hover:before {
  transform: rotateX(0);
}
.btn:hover:after {
  transform: rotateY(0);
}
.btn:after {
  transform: rotateY(90deg);
}
.btn:hover{
  background: #0F5A38;
  color: #fff;
}







/* start home section */

.home-sec .slide{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.home-sec .slide1{
  background: linear-gradient(#000000a9,#000000a6),url(../img/clean.webp);
  background-size: cover;
  background-position: center;
}
.home-sec .slide2{
  background: linear-gradient(#000000a9,#000000a6),url(../img/clean.webp);
  background-size: cover;
  background-position: center;
}
.home-sec .slide3{
  background: linear-gradient(#000000a9,#000000a6),url(../img/clean.webp);
  background-size: cover;
  background-position: center;
}

.home-sec .swiper-slide h3{
  color: #e6e3e3;
  font-size: 55px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(50px);
}
.swiper-slide.swiper-slide-active h3{
  opacity: 1;
  transform: translateY(0px);
  transition: 0.5s ease;
  transition-delay: 0.2s;
}
.home-sec .swiper-slide h1{
  color: #fff;
  font-size: 60px;
  margin-bottom: 0px;
  display: none;
}
.div-btns{
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 300px;
  margin-top: 30px;
  opacity: 0;
}
.swiper-slide.swiper-slide-active .div-btns{
  gap: 20px;
  transition: 0.5s ease;
  transition-delay: 0.5s;
  opacity: 1;
}
.home-sec .swiper-slide .btn{
  font-size: 20px;
  position: relative;
  padding: 16px 40px;
}

.home-sec .swiper-slide p{
  font-size: 20px;
  color: #e6e4e4;
  width: 780px;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(50px);
}
.swiper-slide.swiper-slide-active p{
  opacity: 1;
  transform: translateY(0px);
  transition: 0.5s ease;
  transition-delay: 0.3s;
}
.home-sec .btn-swip{
  width: 100px;
  height: 50px;
  border-radius: 50%;
  font-size: 5px;
  transition: 0.3s;
  font-size: 100px;
  padding: 10px;
  background: none !important;
}
.home-sec .btn-swip svg{
  width: 60px;
  fill: #fff;
  position: relative;
  transition: 0.3s ease;
}
.home-sec .swiper-button-next.btn-swip svg{
  transform: rotate(-180deg);
  left: 20px;
}
.home-sec .swiper-button-prev.btn-swip svg{
  right: 20px;
}
.home-sec .btn-swip::after{
  display: none;
}
.home-sec .swiper-button-next.btn-swip:hover svg{
  position: relative;
  left: 5px;
}
.home-sec .swiper-button-prev.btn-swip:hover svg{
  right: 5px;
}

.home-sec .btn:hover{
  color: #fff;
}
.home-sec .btn svg{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  fill: #fff;
}





/* services section */

/* .services{
  background: #f9f9f9;
} */

.services .boxs{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 33px;
}
.services .boxs .box{
  width: 31%;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 3px 5px 8px #9292924d;
  border-bottom: 8px solid transparent;
  position: relative;
  top: 0;
  transition: 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 5px 5px 10px rgba(105, 105, 105, 0.314),
  -5px 5px 10px #57575726;
}

.services .boxs .box .linkall{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}
.services .boxs .box:hover{
  top: -15px;
  border-color: #316AD6;
}

.services .boxs .box .div-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.services .boxs .box .div-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}
.services .boxs .box .div-img .more-text{
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#00000067,#000000a7);
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 15px;
  flex-direction: column;
  opacity: 0;
}
.services .boxs .box .div-img .more-text p{
  color: #fff;
  margin-bottom: 15px;
}
.services .boxs .box:hover .div-img .more-text{
  top: 0;
  opacity: 1;
}
.services .boxs .box .content{
  padding: 0 12px;
}
.services .boxs .box .btn{
  padding: 12px 30px ;
}
.services .boxs .box h2{
  font-size: 22px;
}





.titles_concept {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto auto 30px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .titles_concept_1{
    position: relative;
  }
  .titles_concept_1:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 78%;
    height: 3px;
    border-radius: 5px;
    right: 0;
    margin: 0 auto;
    background: #363532;
  }
  
  .titles_concept h2 {
    font-size: 30px;
  }
  
  .titles_concept_1 h2 {
    width: fit-content;
    font-size: 35px;
    text-align: center;
    font-weight: 700;
    margin: auto auto 12px;
    line-height: 34px;
    z-index: 1;
    color: #316AD6;
  }
  .q-a, .titles_concept_1 h2 {
    display: block;
    position: relative;
  }
  .titles_concept h3 {
    justify-content: center;
    font-size: 37px;
    font-weight: 700;
    -webkit-background-clip: text;
    line-height: 37px;
    margin: 0 0 15px;
    text-align: center;
    display: block;
    color: #171f26;
  }
  .titles_concept_1 p {
    position: relative;
    margin: 5px 5px 19px;
    transition: .5s;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
  }

.rh{

    margin-left: 8px;
}
.blog-topics h2 {
    margin-bottom: 80px;
}

h2.news-title {
    color: #000000;
    font-size: 25px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}
h2.news-title:after {
    content: '';
    position: absolute;
    width: 150px;
    bottom: -4px;
    right: 0;
    background: #316AD6;
    height: 6px;
    border-radius: 4px;}


  /* small-sec */
.small-sec .sec-head h2{
  color: #fff;
  font-size: 50px;
}
.small-sec span{
  color: #bbdfff;
  font-size: 30px;

}
.small-sec{
  position: relative;
  padding: 100px 0;
  width: 100%;
  background: linear-gradient(#0000007c,#0000007c),url(../img/clean.webp),no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  text-align: center;
}

  
@media (max-width:650px){
 /*-- services section Responsive --*/

 .services .boxs {
  justify-content: center;
}
.services .boxs .box{
width: 100%;
}
.services .boxs .box h2{
font-size: 18px;
margin: 20px 0 0;
}

}
/* about section  */

.about {
  margin: 50px 0;
}

.top-sec-hatem{
  text-align: center;
  /* margin-bottom: 80px; */
}
.top-sec-hatem h2{
  margin-top: 10px;
  font-size: 50px;
  color: #2f2f31;
  text-align: center;
}

 .top-sec-hatem span{
  color: #316AD6;
  font-size: 25px;
  margin-bottom: 15px;
  position: relative;
}
 .top-sec-hatem span::after{
  content: '';
  position: absolute;
  top: 50%;
  right: 110%;
  width: 60px;
  height: 3px;
  background:  #316AD6;
}
 .top-sec-hatem span::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 110%;
  width: 60px;
  height: 3px;
  background: #316AD6;
}





/* صور وكلام */

.container {
  max-width: 1440px;
  padding: 0 15px;
  margin: auto;
}
.conten-bottom {
  display: flex;
}
.conten-bottom-rghit {
  width: 50%;
}

.company-title h3 {
  text-align: right;
  margin-bottom: 22px;
  font-size: 39px;
  color: #272425;
  position: relative;
}
.company-title p {
  font-size: 21px;
  line-height: 34px;
  margin-bottom: 34px;
  color: #2c2c2c;
  text-align: right;
}
.conten-bottom-left {
  width: 60%;
  height: 559px;
  position: relative;
  margin: auto;
  padding-right: 30px;
}
.conten-bottom-left:before {
  content: '';
  position: absolute;
  right: 15px;
  bottom: -60px;
  width: 100%;
  height: 460px;
  background: #316AD6;
  z-index: -1;
  border-radius: 49%;
}
.conten-bottom-left img {
  width: 100%;
  height: 100%;
  float: left;
  border-radius: 50% 50% 54px 190px;
  border-bottom: 10px solid #fff;
  border-top: 19px solid #fff;
  box-shadow: 0 6px 8px #00000061;
  overflow: hidden;
  z-index: 9;
  position: relative;
}
.conten-bottom-left:after {
  position: absolute;
  left: 6px;
  bottom: -30px;
  width: 350px;
  height: 350px;
  content: '';
  background: #343434;
  z-index: 0;
  border-radius: 50%;
}

@media (max-width: 500px){
.container.conten-bottom {
  display: flex;
  flex-direction: column;
}
.conten-bottom-left:before {
  display: none;
}
.company-title h3 {
  text-align: center;
}
.conten-bottom-left:after {
  display: none;
}
.conten-bottom-rghit {
  padding: 0;
  width: 100%;
}
.company-title p {
  font-size: 19px;
  margin: auto;
  margin-bottom: 20px;
  text-align: center;
}
.conten-bottom-left {
  padding: 0;
  width: 100%;
  height: auto;
}
}
@media (max-width: 750px){
.company-title p {
  width: 100%;
}
}

@media (max-width: 767px){
.conten-bottom-left img {
  border-radius: 5px;
  border: 0;
}}


/* Responsive Design */

@media (max-width:1000px) {
  .container{
    width: 100%;
  }

  .company-title h3 {
    margin-bottom: 22px;
    font-size: 39px;
    color: #272425;
    position: relative;
  }

  .home-sec .swiper-slide h3{
    font-size: 40px;
  }
  .home-sec .swiper-slide h1{
    font-size: 45px;
  }
  .home-sec .swiper-slide p{
    font-size: 18px;
  }
  .home-sec .swiper-slide .btn{
    font-size: 16px;
    padding: 16px 20px;
  }
}

@media (max-width:850px) {
  .top-sec h1{
    font-size: 40px;
  }
  .top-sec span{
    font-size: 22px;
  }
  .home-sec .btn-swip{
    display: none;
  }
  .home-sec .swiper-slide h3{
    font-size: 35px;
  }
  .home-sec .swiper-slide h1{
    font-size: 40px;
  }
  .home-sec .swiper-slide p{
    font-size: 16px;
    width: 80%;
    margin: auto;
  }
  .btnWatss{
    font-size: 18px;
  }
}

@media (max-width:650px){
  .iconsfexid{
    left: 10px;
  }
  .iconsfexid svg{
    width: 45px;
  }
  .container{
    width: 100%;
  }
  section{
    padding: 80px 0;
  }
  .top-sec h1{
    font-size: 28px;
  }
  .top-sec span{
    font-size: 20px;
  }
  .home-sec .btn-swip{
    display: none;
  }
  .home-sec .swiper-slide h3{
    font-size: 25px;
  }
  .home-sec .swiper-slide h1{
    font-size: 30px;
  }
  .home-sec .swiper-slide p{
    font-size: 15px;
    width: 80%;
    margin: auto;
  }
  .div-btns{
    gap: 20px;
  }
  .services .boxs .box{
    width: 100%;
  }
}

/* small */
@media (max-width:750px){
  .small-sec .sec-head h2{
    font-size: 30px;
  }
  .small-sec span{
    font-size: 20px;
  }
}
@media (max-width:500px){
  .small-sec .sec-head h2{
    font-size: 25px;
    width: 90%;
    margin: auto;
  }
  .small-sec span{
    font-size: 20px;
  }
}

/* company steps */
.company-steps {
  position: relative;
  padding: 50px 0;
  border-radius: 0px 0px 2% 2%;
  border-radius: 30% 0 0;
}

@media only screen and (max-width: 1420px){
.company-steps {
  border-radius: 0;
}}

.company-title h2 {
  font-size: 35px;
  color: #773991;
}

.benfit-item h3 {
  color: #316AD6;
}

.benfit-item>div:hover {
  background: #316AD636;
}

.num {
  color: #316AD6;
}

/* about section */
.top-sec-hatem span{
  color: #316AD6;
}
.top-sec-hatem span::after,
.top-sec-hatem span::before{
  background: #316AD6;
}

/* services price */
.box-price em {
  background: #316AD6;
}

.links_price:hover{
  background: #316AD6;
}

.titles_concept>span {
  color: #316AD6;
}
.titles_concept>span>em {
  background-color: #316AD6;
}



/* ====================== RESET & MOBILE FIX ====================== */
 body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

#content, .main, .home-sec {
    width: 100%;
    overflow-x: hidden;
}

/* منع أي عنصر يسبب overflow */
* {
    box-sizing: border-box;
    max-width: 100%;
}

/* إصلاح الـ Slider على الموبايل */
.home-sec .slide {
    height: 100dvh;           /* أفضل من 100vh على الموبايل */
    min-height: 100dvh;
}

/* إصلاح gap كبير في الأزرار */
.div-btns {
    gap: 20px !important;     /* نلغي الـ 300px تمامًا */
    flex-wrap: wrap;
    justify-content: center;
}

/* تأكيد أن الـ container لا يخرج */
.container {
    width: 100%;
    max-width: 1440px;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* خدمات - منع الخروج */
.services .boxs {
    gap: 20px;
}
