/*start variables*/
:root{
    --main-color: #19c8fa;
    --transparent-color:rgba(15, 115, 143, 0.573);
    --section-padding:100px;
}
/*end variables*/
/*.start global rules.*/
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    background-image: url("../imagess/pexelsoo.jpg");
    
    background-size:cover;
    background-repeat: no-repeat;
    background-position: ceter;
    min-height: 100vh;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    

  .noto-serif-<uniquifier> {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
  }
}
 body[lang="ar"] {
    
 direction: rtl;
}
ul{
    list-style: none;
}
.container{
    padding-left: 15px;
    padding-right: 15px;
    margin-left:auto ;
    margin-right: auto;
}
/*small*/
@media(min-width:768px) {
    .container{
        width: 750px;
    }
}
/*medium*/
@media(min-width:992px){
    .container{
         width: 970px; 
    }
}
/*large*/
@media(min-width:1200px){
    .container{
      width: 1170px;    
    }
}
/*.end global rules.*/
/*start components*/
 .main-heading{
    position: absolute;
    top: 900px;
    right:  50px;
    left: 10px;
    padding: 100px;
    text-align: center;
padding-top: 100px;
padding-bottom: 100px;
color: white;
 }
 .main-heading h2{
    font-weight: normal;
    font-size: 40px;
    position: relative;
    margin-bottom: 70px;
    text-transform: uppercase;
 }
  .main-heading h2::before{
    content: '';
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    height: 2px;
    background-color: white;
    bottom: -30px;
    width: 120px;

 }
  .main-heading h2::after{
     content: '';
     position: absolute;
     left: 50%;
     transform: translateX(-50%);
     width: 14px;
     height: 14px;
     border-radius: 50%;
     border: 2px solid white;
     bottom: -38px;
     background-color:rgb(15, 115, 143) ;
 }
  .main-heading p{
    width: 550px;
    margin: 0 auto 100px;
    max-width: 100%;
    line-height: 2;
    color: white;
 }
/*end components*/
/*start header*/
header{ 
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 2;

}
header .container{ 
  display: flex;
  justify-content: space-between;  
  align-items: center;
  position: relative;
  min-height: 97px;
  
}
header .container::after{
    content: '';
    position: absolute;
    height: 1px;
    background-color: #a2a2a2;
    bottom: -1px;
    width: calc(100% - 30px);
    left: 10px;
    top: 105px;
}
header .logo {
    height: 107px;
    background-color: rgba(4, 1, 1, 0.26);

}

header nav{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
header nav ul {
display: flex;
list-style: none;
}
header nav .toggle-menu{
    display: none;
    color: white;
  
    font-size: 30px;
    cursor: pointer;
 position: fixed;
 right: 38px;
 z-index: 5;
}
@media(max-width: 767px) {
   header nav .toggle-menu{
    display: block;
   } 
}
/* هذا هو الكود الجديد الذي ستضعينه مكانه */
@media(max-width: 767px) {
    /* 1. إخفاء القائمة بشكل افتراضي على الموبايل */
    header nav ul {
        display: none;
    }

    /* 2. هذا الكلاس سيتم إضافته بالجافاسكريبت لإظهار القائمة */
    header nav ul.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 110px; /* أو ارتفاع الهيدر لديكِ */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.399); /* لون أغمق للوضوح */
        padding: 1px 0;
    }

    /* 3. تنسيق الروابط داخل القائمة المفتوحة */
    header nav ul.open li a {
        padding: 15px;
        text-align: center;
        border-bottom: none; /* لإزالة الخط عند التحويم */
    }
}
header  ul li a{
    display: flex;
    list-style: none;
    color: white;
    text-decoration: none;
    font-size: 16px;
    /*transition: 0.3s;*/
 padding: 40px 10px;
 
    
}
@media(max-width: 767px){
header nav  ul li a{
    display: block;
    color: white;
    text-decoration: none;
    font-size: 16px;
    /*transition: 0.3s;*/
padding-bottom: 0.5px;
padding-top: 30px;
margin-bottom: 10px;
}   
}

header nav ul li a.active,
header nav ul li a:hover {
    color: var(--main-color);
    border-bottom: 1px solid var(--main-color);
}
header nav .form {
    width: 40px;
    height: 30px;
    position: relative;
    margin-left: 30px;
    border-left: 1px solid white;
}
  @media(max-width: 767px){
   header nav .form {
    position: relative;
    right: 45px;
   } 
  }
header nav .form i {
    color: white;
    position: absolute;
    font-size: 20px;
    top: 2px;
    transform: translatey(-50%);
    right: -30px; 
}

 .language-toggle {
            background: var(--main-color);
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            font-size: 14px;
            cursor: pointer;
            /*transition: background 0.3s, transform 0.3s;*/
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            left: 45px;
            top: -17px;
        }
    @media(max-width: 767px) {
       .language-toggle {
         position: relative;
         left: -50px;
       }  

    } 
   

        .language-toggle:hover {
            background: #1cb8b3;
            transform: scale(1.1);
        }

        body[lang="ar"] header nav .form {
            border-left: none;
            border-right: 1px solid white;
          
            position: relative;
            right: 20px;
        }

        body[lang="ar"] header nav .form i {
            right: auto;
            left: -30px;
        }
     body[lang="ar"] .language-toggle {
        position: relative;
        left: -40px;

     }
       @media(max-width: 767px) {
        body[lang="ar"] .language-toggle {
         position: relative;
         left: 40px;
       }  
    }
     @media(max-width: 767px){
      body[lang="ar"] header nav .form {
            border-left: none;
            border-right: 1px solid white;
          
            position: relative;
            right: -10px;
        }
    }
    
/*end header*/
/*start landing*/
.landing{

}
.landing .overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
   

}
.landing .text{
    position: absolute;
    left: 0;
    top: 500px;
    transform: translatey(-50%);
    width: 50%;
    padding:  50px;
    background-color: var(--transparent-color);
    color: white;
    display: flex;
    justify-content: center;
}
@media(max-width: 767px){
    .landing .text{
        width: 100%;
    }
}
.landing .text .content{
    max-width: 500px;
}
@media(max-width: 767px){
    .landing .text{
        width: 100%;
    }
    .landing .text .content{
    max-width: 100%;
}
}
.landing .text .content h2 {
    font-size: 32px;
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 20px;
}
.landing .text .content p {
    font-size: 14px;
    line-height: 2;
}
.landing .change-background {
    position: absolute;
    top: 300px;;
    transform: translateY(-50%);
    
}
@media(max-width: 767px){
    .landing .change-background {
        display: none;
    }
}

.landing .fa-angle-left {
  left: 30px;
  top: 500px;
  display: none;
}
.landing .fa-angle-right {
    right: 30px;
    top: 500px;
    display: none;
}
.landing .bullets {
position: absolute;
left: 50%;
top: 670px;
transform: translateX(-50%);
bottom:30px;
display: none;
}
.landing .bullets li {
    width: 20px;
    height: 20px;
    border: 3px solid white;
    border-radius: 50%;
    margin-right: 10px;
    display: none;
} 
.landing .bullets li.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
    display: none;
}


/*end landing*/
/*startserve*/
.services{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative; top: -104px; 
}
@media(max-width: 767px) {
  .services{  
     position: relative; top: -122.5px;
       
  }
}

body[lang="ar"] .services {
   position: relative;
   top: -140px;
}

.main-heading{
   background-color:rgba(15, 115, 143, 0.573);
    padding-bottom: 190px; 
    width: 100%;
     position: absolute; 
     right: 50px; 
     
}
@media(max-width: 767px) {
 .main-heading{ 
    display: flex; 
  flex-direction: column;
  align-items: center; 
 padding-bottom: 600px;  
 position: relative;
 top: 894.5px;
} 
 .main-heading h2{ 
    font-size: 30px;
    line-height: 1.2;
    white-space: nowrap;
 }
}
body[lang="ar"] .main-heading{
    position: absolute;
    width: 100%;
    right: 50px;
}
/* تصحيح شبكة الخدمات لتكون 2×2 */
.services .services-container {
    display:flex ;
   
    gap: 70px;
    position: relative;
    top: 1300px;
   left: -160px;
}
@media(max-width: 767px) {
.services .services-container {
display: flex;
flex-direction: column;
position: relative;
top: 270px;
left: -175px;
}
}

.services .srv-box {
    display: flex;
    position: relative;
    left: 200px;

}

.services .srv-box i {
   margin-right: 50px; 
   
   
}

.services .srv-box h3 {
    margin-bottom: 30px;
    color: white;
    text-transform: uppercase;
    font-weight: 500;
}

.services .srv-box a {
    margin-bottom: 50px;
    line-height: 2;
    color: #2de3dd;
}

@media(max-width: 767px) {
 .services .srv-box {
  position: relative;
 
 }  
  .services .srv-box h3 {
  font-size: 18px;


}

.services .srv-box a {
  font-size: 14px;
}
}

body[lang="ar"] .services .srv-box i {
 margin:0 30px;  
}
body[lang="ar"] .services .services-container {
    position: relative;
    left: -250px;
   top: 1200px;

}

@media(max-width: 767px) {
 body[lang="ar"] .services .services-container {
 position: relative;
 top: 1300px;
}
}
@media(max-width: 767px) {
 body[lang="ar"]  .services {
 position: relative;
 top: -104px;
 left: 45px;
 margin-left: 29px;
}
}
@media(max-width: 767px) {
body[lang="ar"] .services .srv-box { 
 position: relative;
 right:  -130px;
}
}
/*startserve*/
/*start about*/
.about{
    position: relative; top: 311px;
}
 .about .main-heading{
 background-color:rgba(15, 115, 143, 0.573);
   padding-bottom: 386px; 
  width: 100%; 
  position: absolute; 
  right: 50px;   
}
 @media (max-width: 767px){
.about .main-heading{
   display: flex;
    flex-direction: column;
    align-items: center;
   position: relative; 
  top: -165px;   
} 
.about .main-heading h2{
 
font-size: 30px;
line-height: 1.2;
white-space: nowrap;

} 
 }
.about img {
    position: relative;
    top: 1300px;
   
}
@media (max-width: 767px){
 .about img{
       position: relative;
    top: -600px;
    left: 80px;
    
    width: 200px !important; 
    max-width: 80% !important; 
 }   
}
body[lang="ar"] .about {
   position: relative;
   top: 179px;
}
 @media (max-width: 767px){
 body[lang="ar"] .about {
   position: relative;
   top: 1320px;
      margin-left: 15px;
    margin-right: 14.5px;
    position: relative;
    left: 60px;
}
 }
  @media (max-width: 767px){
 body[lang="ar"] .about img {
   position: relative;
   top: 290px;
   right: 60px;

}
  }
/*end about*/
/*start contact*/
.CONTACT{
    position: relative; top: 727.5PX;
}
@media (max-width: 767px){
  .CONTACT{
       position: relative; top: 915PX;
    margin-left: 15px;
    margin-right: 14.5px;
  }  
}
.CONTACT .main-heading{
    background-color:rgba(15, 115, 143, 0.573); ; padding-bottom: 600px; width: 100%; position: absolute; right: -50px;
}
@media (max-width: 767px){
.CONTACT .main-heading{
    padding-bottom: 1200px;
   
    position: relative;
    top: -963.5px;
    
}
}
 .CONTACT .contentt {

display: flex;
 justify-content:space-around;
 position: relative; top: 1300px; left: 50px;
}
@media (max-width: 767px){
  .CONTACT .contentt {
    position: relative;
    top: -2200px;
     left: 30px;
    display: flex;
    flex-direction: column;
    width: 80%;
  }   
}

.contentt form {
 flex-basis: 70%;
}
.contentt form .main-input {
 padding: 20px;
 background-color:rgba(255, 255, 255, 0.552);
 border: #19c8fa;
 display: block;
 border: 1px soled  #19c8fa;
 margin-bottom: 30px;
 width: 100%;
}
.contentt form  textarea.main-input{
    height: 200px;
}
.contentt form  input[type="submit"]{
    background-color:#29eddddb;
    color: #3f3f3f;
    border:  #19c8fa;
    padding: 20px;
    display: flex;
    margin-left: auto;
    text-transform: uppercase;
    cursor: pointer;
}


.contentt .info{
    flex-basis: 25%;
    position: relative;
    top: -70px;

}
@media (max-width: 767px){

.contentt .info{
    position: relative;
    top: -20px;
}   
}

.contentt .info h4 {
    text-transform: uppercase;
    margin-bottom: 30px;
    margin-top: 70px;
    color: white;
    font-weight: 500;
    font-size: 18px;
}

.contentt .info .phone {
    display: block;
    color: #2de3dd;
    margin-bottom: 10px;
}
.contentt .info h4:nth-of-type(2) {
    margin-top: 90px;
}


body[lang="ar"]  .CONTACT {
   position: relative;
   top: 563px;
}
body[lang="ar"]  .CONTACT .contentt {
    position: relative;
    left: -200px;
}
@media (max-width: 767px){
 body[lang="ar"]   .CONTACT{
   position: relative; top: 2567px;
    left: 60px;
  }  
}
@media (max-width: 767px){
  body[lang="ar"]  .CONTACT .contentt {
    position: relative;
    top: -400px;
    left: -90px;
    gap: 30px;
   
  }   
}

/*end contact*/
/* لأجهزة الآيفون الصغيرة بس */
@media only screen and (max-width: 480px) {
  body.is-iphone .services {
     position: relative; top: -118.5px;
       
  }
  body.is-iphone .CONTACT {
     position: relative; top: 914.5px;
       
  }
}