@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&family=Almarai:wght@300;400;700;800&family=Cairo:wght@200..1000&family=El+Messiri:wght@400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet"');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    /* font-family: "Inter",sans-serif; */
    font-family: "Almarai", sans-serif;
    /* font-family: "El Messiri", sans-serif; */
}

:root{
    /* --main_color:#63179e; */
    --main_color:#732ebc;
    --scand_color:#000abf;
    --p_color:#e2e2e2;
    --bg_color:#1F1F1F;
    --white_color:#fff;
    --black_color:#070707;
    --border-color: rgba(255, 255, 255, 0.1);
}

body  {
    background: #131313;
    
}
body .allcode{
    z-index: -10;
    background: url(/img/wibsite.png)no-repeat center center/cover;
    
    width: 100%;
    height: 100vh;
}
body .allcode::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index: 1; */
    /* background: rgba(0, 0, 0, 0.4); */
    /* box-shadow: -4px 2px 100px  , inset -5px 3px 100px rgb(115, 46, 188,.2); */
}

.container{
    z-index: 2;
    width: 80%;
    margin: auto;
    max-width: 1500px;
}

section{
    padding: 80px 0;
}

img{
    width: 100%;
}

h1,h2,h3,h4,h5,h6{
    color: var(--white_color);
    font-family: "Almarai", sans-serif;
    z-index: 2;
}

span{
    color: var(--main_color);
}
p{
    color: var(--p_color);
}
/* ---------- scrollbat--------------------- */
::-webkit-scrollbar{
    width: 5px;
}
::-webkit-scrollbar-track{
    background:var(--bg_color);
}
::-webkit-scrollbar-thumb{
     background-image: linear-gradient(var(--main_color),var(--scand_color));
}
/* ---------- scrollbat end--------------------- */


/* --------btns-------------- */ 

.btns{
    display: flex;
    align-items: center;
    gap: 20px;
}
.btn{
    background: var(--main_color);
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--black_color);
    transition: 0.3s;
}
.btn:hover{
    scale: 1.1;
}

.btn_no_bg{
    color: var(--white_color);
    text-transform: capitalize;
    text-decoration: underline;
    transition: 0.3s;
}

.btn_no_bg:hover{
    color: var(--main_color);
}


.bg-lines span{
    position: fixed;
    top: 0;
    z-index: -9;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    width: 1px;
    -webkit-animation: left_Right 18s infinite;
    animation: left_Right 18s infinite;
}
.bg-lines span:nth-child(1){
    left: 10%;
}
.bg-lines span:nth-child(2){
    left: 20%;
}
.bg-lines span:nth-child(3){
    left: 30%;
}
.bg-lines span:nth-child(4){
    left: 40%;
}
.bg-lines span:nth-child(5){
    left: 50%;
}
.bg-lines span:nth-child(6){
    left: 60%;
}
.bg-lines span:nth-child(7){
    left: 70%;
}
.bg-lines span:nth-child(8){
    left: 80%;
}
.bg-lines span:nth-child(9){
    left: 90%;
}


@keyframes left_Right {
    0%{
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    50%{
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
    }
    100%{
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}


/* background lines */

.top_section{
    text-align: center;
    margin-bottom: 100px;
    z-index: 2;
}
.top_section h2{
    font-size: 30px;
    z-index: 20;
}





/* Start Header */

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    transition: 0.3s;
    z-index: 1000;

}
header.active{
    background: rgb(19, 19, 19,.888);
    border-bottom: 1px solid rgba(86, 86, 86, 0.592);
    backdrop-filter: blur(10px);
}
header nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    direction: rtl;
}
header nav .logo img{
    width: 250px;
}
header nav .links{
    display: flex;
    gap: 40px;
}
header nav .links a{
    color: var(--white_color);
    text-transform: capitalize;
    font-size: 18px;
    transition: 0.3s ;
}
header nav .links a:hover{
    color: var(--main_color);
}
header nav .icons{
    display: flex;
    gap: 30px;
}
header nav .icons a{
    color: var(--main_color);
    font-size: 28px;
    transition: 0.3s;
}

header nav .icons a:hover{
    scale: 1.4;
}



/* ---------------------start hero --------------------------*/ 

.hero{
    padding-top: 100px;
    height: 100vh;
    display: flex;
    /* direction: rtl; */
    justify-content: center;
    align-items: center;
}

.hero .container{
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero .div_Text{
    /* width: 50%; */
    position: relative;
    /* margin: 0 26%; */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    /* margin-top: 9rem; */
}
.hero .div_Text h4{
    color: var(--p_color);
    font-size: 35px;
    margin-bottom: 15px;
     font-weight: bold;
     text-shadow: .5px .5px 5px var(--main_color);
}
.hero .div_Text h1{
    font-size: 50px;
    font-weight: bold;
    text-shadow: .5px .5px 4px var(--main_color),.5px .5px 5px var(--scand_color);
}
.hero .div_Text h2{
    font-size: 18px;
    font-weight: normal;
    line-height: 1.1;
    font-weight: bold;
    text-shadow: 3px 3px 4px var(--black_color);
}
.hero .div_Text h2 span{
    font-size: 18px;
    font-weight: normal;
    line-height: 0.9;
    color:var(--main_color);

}
.hero .div_Text p{
    margin: 30px 0;
    font-size: 13px;
    width: 80%;
    color: #fff;
    line-height: 1.7;
    font-weight: bold;
    text-shadow: 3px 3px 5px var(--black_color);
    
}
.hero .div_Text p span{
    margin: 30px 0;
    font-size: 15px;
    width: 80%;
    color:var(--main_color);
    line-height: 1.7;
}
.hero .btn{
    font-size: 20px;
    padding: 18px 50px;
    color: #fff;
    margin-top: 99%;
    margin-bottom: -150px;
    background-image: linear-gradient(-120deg ,var(--main_color),var(--scand_color));

}


/* -----------------Start services------------------- */ 
.services .contant{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    direction: rtl;
}
.services .boxs{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    flex-direction: row;
    direction: rtl;
}

.services .boxs .box{
    width: 22em;
    text-align: center;
    padding: 38px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    margin: 15px;
    line-height: 2.1em;
}
.services .boxs .box i{
    color: var(--main_color);
    font-size: 70px;
    margin-bottom: 30px;
    transition: 0.3s;
}
.services .boxs .box h3{
    font-size: 25px;
    margin-bottom: 20px;
}
.services .boxs .box p{
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.7;
}
.services .boxs .box:hover{
    border-color: var(--main_color);
}

.services .boxs .box:hover i{
    scale: 1.3;
}


/* End Services */ 


/*--------------------------- Start projects -------------------------*/ 


.projects .project_box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}
.projects .project_box img{
    width: 45%;
}
.projects .project_box .text{
    margin-left: 100px;
    width: calc(50% - 100px);
}
.projects .project_box .text h4{
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: normal;
}
.projects .project_box .text h3 a{
    font-size: 40px;
    color: var(--white_color);
    transition: 0.5s;
}
.projects .project_box .text h3 a:hover{
    color: var(--main_color);
}
.projects .project_box .text p{
    margin: 30px 0 50px;
    line-height: 1.8;
}

.projects .project_box .text .link{
    display: block;
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color);
    color: var(--black_color);
    font-size: 20px;
    background: var(--main_color);
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    rotate: 45deg;
    transition: 0.3s ease-in-out;
}
.projects .project_box .text .link:hover{
    scale: 1.2;
}

.projects .project_box.project_box_2{
    flex-direction: row-reverse;
}


/*---------- End projects -------------------*/ 
/* --------------------------- product ---------------------- */
.wrapper {
  max-width: 1100px;
  padding: 20px 10px;
  margin: 0 60px 35px;
  overflow: hidden;

}
.wrapper .card {
  /* background: #fff; */
  display: flex;
  height: auto;
  flex-direction: column;
  border: 1px solid var(--main_color);
  border-radius: 20px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.wrapper .card:hover {
  transform: translateY(-10px);
  border-color: var(--scand_color);
}
.card .card-image {
  position: relative;
}
.card .card-image img {
  width: 100%;
  padding: 10px;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 11 / 11;
}
.card .card-image .card-tag {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 0.75rem;
  color: #6366f1;
  padding: 5px 15px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 12px 25px;
}
.card .card-content .card-title {
  color: var(--white_color);
  font-size: 1.25rem;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.card .card-content .card-text {
  color: var(--p_color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  direction: rtl;
  line-height: 2em;
}
.card .card-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  padding-top: 15px;
  justify-content: space-between;
  border-top: 1px solid rgb(99, 102, 241,0.3);
}
.card .card-footer .card-profile {
  display: flex;
  align-items: center;
}
.card .card-profile .card-profile-info {
  display: flex;
  flex-direction: column;
}
.card .card-profile .card-profile-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--white_color);
}
.card .card-profile .card-profile-role {
  font-size: .8rem;
}

.card .card-profile img {
  width: 35px;
  height: 35px;
  margin-right: 10px;
  object-fit: cover;
  border-radius: 50%;
  /* border: 1px solid #fff; */
  /* box-shadow: 0 2px 5px rgb(99, 102, 241,0.3); */
}
.card .card-button {
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}
.card .card-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}
.wrapper .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
  opacity: 1;
  overflow: hidden;
  position: relative;
  background: #B1B3F8;
}
.wrapper .swiper-pagination-bullet-active {
  background: #a4a7fd;
}
/* Auto-play loading indicator */
.wrapper .swiper-pagination-bullet-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #6366f1;
  transform-origin: left center;
  transform: scaleX(0);
  animation: autoplay-loading 5s linear forwards;
}
.container:hover .wrapper .swiper-pagination-bullet-active::before {
  animation-play-state: paused;
}
@keyframes autoplay-loading {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
.wrapper :where(.swiper-button-prev, .swiper-button-next) {
  color: #6366f1;
  margin-top: -35px;
  transition: all 0.3s ease;
}
.wrapper :where(.swiper-button-prev, .swiper-button-next):hover {
  color: #8b5cf6;
}

/* --------------------------Start  contact -------------------------------------------- */ 

.contact .container{
    display: flex;
    justify-content: space-between;
}

.contact .top_section{
    margin-bottom: 100px;
    
}
.contact  .soial_contact{
    width: 30%;
}

.contact  .soial_contact h2{
    color: var(--white_color);
    margin-bottom: 40px;
    
}

.contact  .soial_contact .links{
    display: flex;
    flex-direction: column;
}

.contact  .soial_contact .links a{
    color: var(--white_color);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    left: 0;
    transition: 0.3s;
}

.contact  .soial_contact .links a i{
    color: var(--bg_color);
    margin-right: 5px;
    width: 45px;
    height: 45px;
    background: var(--main_color);
    text-align: center;
    line-height: 45px;
    border-radius: 5px;
}
.contact  .soial_contact .links a:hover{
    left: 15px;
}



.contact form{
    width: 60%;
    text-align: center;
}

.contact form .inpts_form{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact form .inpts_form input,
.contact form .inpts_form textarea{
    border-radius: 5px;
    padding: 20px;
    outline: none;
    background-color: var(--bg_color);
    color: white;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.contact form .inpts_form input{
    width: 48%;
}
.contact form .inpts_form textarea{
    width: 100%;
}

.contact form .inpts_form input:focus,
.contact form .inpts_form textarea:focus{
    border-color: var(--main_color);
}

.contact .btn{
    outline: none;
    padding: 15px 35px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
.contact .btn:hover{
    scale: 1.1;
}

/*--------------------------- End contact */ 



/* Start Responsive */ 

.close_menu,
header .links .logo,
.icon_menu{
    display: none;
}


@media (max-width:1250px) {
    .container{
        width: 90%;
    }
}

@media (max-width:1000px) {
    header nav .links{
        position: fixed;
        top: 0;
        flex-direction: column;
        width: 400px;
        background: var(--black_color);
        left: -400px;
        padding: 50px 0;
        height: 100%;
        border-right: 1px solid var(--border-color);
        text-align: center;
        transition: 0.3s ease-in-out;
    }
    header nav .links.active{
        left: 0;
    }
    .close_menu{
        display: block;
        font-size: 28px;
        position: absolute;
        top: 30px;
        right: 30px;
    }
    header .links .logo{
        display: block;
    }
    .icon_menu{
        display: block;
        font-size: 28px;
    }
}

@media (max-width:500px){
    
   body .allcode{
    background: url(/img/mobile.png)no-repeat center center/cover;
}
    header nav .icons a{
        font-size: 27px;
    }
    header nav .icons{
        gap: 15px;
        align-items: center;
    }
    header nav .logo img{
        width: 199px;
    }
    header nav .links{
        width: 100%;
        left: -100%;
    }
    .icon_menu {
        margin-left: 15px;
    }
    /* ---------slider hero------------- */
    .hero .container{
        display: flex;
        flex-direction: column;
    }
    .hero .div_Text h4{
    color: var(--p_color);
    font-size: 2em;
    margin-bottom: 10px;
}
.hero .div_Text h1{
    font-size: 3em;
}
.hero .div_Text h2{
    font-size: 2em;
    font-weight: normal;
    line-height: 1.1;
}
.hero .div_Text h2 span{
    font-size: 20px;
    font-weight: normal;
    line-height: 0.9;
    color:var(--main_color);

}
.hero .div_Text p{
    margin: 30px 0;
    font-size: 1.6em;
    width: 80%;
    color: #fff;
    line-height: 1.7;
}
.hero .div_Text p span{
    margin: 30px 0;
    font-size: 17px;
    width: 80%;
    color:var(--main_color);
    line-height: 1.7;
}
.hero .btn{
    font-size: 1.5em;
    padding: 10px 30px;
    margin-bottom:-10px;
}


.hero .div_img{
    width: 80%;
    position: relative;
    border-radius: 0 0 1200px 1200px;

    overflow: hidden;
}
.hero .div_img .bg_img{
    position: absolute;
    bottom: 0;
    /* top: 155px; */
    left: 0;
    z-index: -1;
}

    /* --------- services------------- */
   section .boxs{
       display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .services .boxs .box{
    display: flex;
    height: 30%;
    width: 21em;
    
    /* justify-content: space-between; */
    flex-wrap: wrap;
    /* display: grid; */
    grid-template-columns: repeat(2 , 1fr);
    /* margin-top: 2rem; */
    gap: 2rem;
    justify-content: center;
}
/* ----------------project --------------------------*/

.projects .project_box{
    display: flex;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    flex-direction: column;
    /* background-color: #1324a4; */
}
.projects .project_box img{
    width: 22em;
}
.projects .project_box .text{
    /* text-align: center; */
    margin-left: 0px;
    /* align-items: center; */
    /* width: calc(100% - 100px); */
    width: 22em;
}
.projects .project_box .text h4{
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: normal;
    margin-top: 10px;
}
.projects .project_box .text h3 a{
    font-size: 20px;
    color: var(--white_color);
    transition: 0.5s;
    text-align: center;
}
.projects .project_box .text h3 a:hover{
    color: var(--main_color);
}
.projects .project_box .text p{
    margin: 10px 0 10px;
    line-height: 1.8;
}

.projects .project_box .text .link{
    display: block;
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    color: var(--black_color);
    font-size: 18px;
    background: var(--main_color);
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    rotate: 45deg;
    transition: 0.3s ease-in-out;
    
}
.projects .project_box .text .link:hover{
    scale: 1.2;
}
.projects .project_box .text a{
    text-align: center;
    display: block;
}

.projects .project_box.project_box_2{
    flex-direction:column; 
}
/* ----------------------------product ----------------------------- */
 .wrapper {
    margin: 0 10px 25px;
  }
  .wrapper :where(.swiper-button-prev, .swiper-button-next) {
    display: none;
  }
/* ----------------------------contact----------------------------------- */
.contact form{
    display: none;
    /* width: 60%;
    text-align: center; */
}
.contact .container{
    display: flex;
    justify-content: space-between;
}
.contact  .soial_contact{
    width: 100%;
    text-align: center;
}
.contact  .soial_contact .links{
    display: flex;
    flex-direction: column;
    
   
}

}