  :root {
      --bg-main: #020617;
      --bg-section: #0B1220;
      --bg-card: #0F172A;
      --text-main: #F8FAFC;
      --text-muted: #94A3B8;
      --button:#22c55e23;
      --primary: #3B82F6;
      --primary-hover:#22C55E;
      --success: #22C55E;
      --border-soft: rgba(255,255,255,0.06);
      --selec-bg: #22c55e23
    }
*{
    text-decoration: none;
        list-style: none;
}
::selection{
  background-color: var(--success);
  color: var(--text-main);

}
img{
  max-width: 100%;
  height: auto;
}

body{
    margin: 0;
    padding: 0;
    direction: rtl;
    background-color: var(--bg-main);
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:"slnt" 0;
    box-sizing: border-box;


}
nav{
    width: 100%;
    height: 100px;
    background-color: var(--bg-section) ;
    position: fixed;
    top: 0;
    z-index: 11111;
    

}
.header img{
    width: 90px;
    height: 90px;
    margin: 10px;
}
.header {
    display: flex;
     align-content: center;
    justify-content: space-between ;
    position: relative;

}
.header ul {
    display: flex;
    align-items: space-between;
    text-align: center;
}
.header ul li{
    margin: 20px;
    
    

}
.header ul li a{
   color: var(--text-main);
       font-size: 17px;


}
.header ul li a:hover{
    color: var(--primary-hover);
    border-bottom: var(--primary-hover)solid 2px;
}
.header .login-item{
    position: absolute;
    left: 25px;
    height: 45px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #22C55E ;
    background-color: #22c55e23;   
     border-radius: 10px;
    font-size: 18px;
    line-height: 10px;

}
.login i{
    color: var(--text-main);
    
}
.login span a{
 color: var(--text-main);


}
.login span{
    display: inline-block;
        font-weight: 400;

}
.main-page{
    width: 100%;
    height: 600px;
    background-color: var(--bg-section);
    color: var(--text-main);
    display: flex;
    position: relative;
    align-items: center;
}
.page-info{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 100px;
}
.page-info h1{
    position: absolute;
    top: 150px;
    right: 140px;
    font-size: 35px;
    font-weight: 700;
    color: var(--text-muted);
}

.page-info h1 span{
    color: #22C55E;
}
.page-info .about{
    margin: 30px;
    font-size: 21px;
    font-weight: 400;
    color: var(--text-muted);
}
.page-info .about span{
    color: #22C55E;
}
.page-info .for-who{
    
    font-size: 21px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0 30px;
}
.page-info .for-who span{
    color: var(--text-main);
    margin-left: 6px;
    color: #22C55E;
}
.fancy{
    width: 400px;
    height: 450px;
    background-color: var(--bg-card);
    background-repeat: no-repeat;

    border-radius: 56% 44% 67% 33% / 65% 70% 30% 35% ;
}
.fancy-border{
    position: absolute;
    top: 120px;
    left: 45px;
    
}
.fancy-border img{
    width: 350px;
    position: absolute;
    top: 140px;
    left: 30px;

}
.main-page .wave img{
    position: relative;
    width: 100%;
    height: 200px;
    
}
.three-features{
    color: var(--text-main);
    width: 90%;
    height: 300px;
    display: flex;
    margin: 10px auto;    

}
 .three-features div{
 background-color: var(--bg-section);
 width: calc(90%/3);
 height: 95px;
 margin: 20px;
 padding: 5px;
 border-radius: 15px;
border: 1px solid var(--border-soft);
transition: 0.3s;

 
}
.center{
    display: flex;
    justify-content: center;
    color: var(--text-main);
    font-size: 35px;
    
}
.center span{
    margin: 0 6px;
    color: var(--primary-hover);
 }
 .three-features div p{
    margin: 10px;
 }
 .three-features p{
    font-size: 16px;
 }
 .three-features p i{
    font-size: 28px;
    margin: 8px;
      color: #22C55E;

 }
 .three-features div .icon{
    font-size: 23px;
 }
 .three-features div .icon span{
    margin: 2px;
 }
  .three-features div:hover{
    border: 1px solid #22C55E ;
    background-color: #22c55e23;
    transform: translateY(-10px);

  }
.levels .level{
    width: 90%;
    height: 700px;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    margin: 0 65px;
    position: relative;
}
.level-address{
    display: flex;
    justify-content: center;
    align-content: center;
    border-radius: 15px;
    width: 270px;
    height: 60px;
    margin: 100px;
    padding: 5px;
    color: var(--text-main);
    background-color: var(--bg-section);
    border: 2px solid var(--border-soft);
}
.level-address h3{
    margin: 8px auto;
    font-size: 26px;


}
.level-address span{
    color: var(--primary-hover);
}
.level-address i{
    margin-left: 10px;
    color: var(--primary-hover);
}
.levels .level .year-one,
.levels .level .year-two,
.levels .level .year-three,
.levels .level .year-four{
    display: flex;
    flex-direction: column;
    width: calc(80%/3);
    height: 480px;
    background-color: var(--bg-card);
    margin: 20px;
    border-radius: 15px;
    border: 1px solid var(--border-soft);
    transition: 0.3s;
}
.levels .level h4{
    color:var(--text-main);
    padding-right: 20px;
    font-size: 26px;


}
.levels .level p{
    color: var(--text-muted);
    padding-right: 20px;
     font-size: 16px;


}
.levels .level hr{
    width: 90%;
    border: none;
    height: 2px;
    background-color: var(--primary-hover);
}
.levels .level div:hover{
    border: 1px solid #22C55E ;
    background-color: #22c55e23;
    transform: translateY(-10px);
  }
  .level div{
    position: relative;
  }

  .levels .level div img{
    width: 100% ;
    height: 250px;
    border-radius:   15px  15px 0 0;
    
}
 .levels .level span i{
    margin-right: 5px;

 }
 .level a{
    color: var(--text-main);
     position: absolute;
    bottom: 15px;
    left: 35px;
    width: 50px;
    height: 20px;
    padding: 5px;
    margin: 10px auto;
    text-align: center;
    line-height: 8px;
    background-color: var(--primary-hover);
    border-radius: 10px;
    border: 1px solid var(--border-soft);
 }
 .footer{
    width: 100%;
    height: 400px;
    background-color: var(--bg-section);
 }
 .footer .join-problem{
    display: flex;
    justify-content: center;
 }
 .footer .join-problem {
    
    display: flex;
    justify-content: center; 
    align-items: center;     
    gap: 60px;              
 } 

 .join-problem button{
      width: 200px;
      height: 50px;
      border-radius: 10px;
      margin-top: 100px;
      border: 1px solid #22C55E ;
    background-color: #22c55e23;
      padding: 5px;
      font-weight: 500;
      outline: none;
 }
 .join-problem i{
    color: var(--primary-hover);
 }
 
 .join-problem button{
    color: var(--text-main);
    font-size: 18px;
    font-weight: 700;
 }
 
 .join-problem i{
    font-size: 20px;
    margin: 5px;
    font-weight: 700;

 }
 
 .developer{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    
 }
 .developer .mades{
    color: var(--text-muted);
    font-size: 20px;
 }
 .developer .deve{
    color: #9786ba;
    font-size: 23px;

 }
 .deve span{
     color: #6c39af;;
 }
 .deve a{
    color: var(--text-muted);
 }




  .overlay ,.overlays{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
  }

  .modal,.modals {
    background: var(--bg-section) ;
    padding: 20px;
    border-radius: 15px;
    width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: red;

  }
  .modal,.modals{
    color: var(--text-main);
    font-weight: 500;
    font-size: 18px;

  }

  input,select {
    width: 80%;
    padding: 8px;
    margin: 10px auto;
    border-radius: 5px;
    border: none;
     border: 1px solid #22C55E ;
    background-color:var(--text-main);
    outline: none;
            font-size: 18px;

  

    
  }
input,select::placeholder{
        font-size: 18px;
}
  .actions,.actionss {
    display: flex;
    gap: 10px;
  }
   textarea {
    width: 100%;
    height: 100px;
    padding: 8px;
    margin: 10px 0;
    border-radius: 10px;
     border: 1px solid #22C55E ;
  }
  footer{
    background-color: var(--bg-section);
    width: 100%;
    height: 450px;
  }
  .soon .but{
    width: 250px;
    height: 40px;
    font-size: 18px;
    background-color: var(--primary-hover);
    border-radius: 10px;
  }
  .but a {
    color: var(--text-main);
    text-align: center;
  }
@media (max-width: 768px){

  .header{
    position: sticky;
    display: flex;
    flex-direction: column;
  }

  .menu-toggle,
  .login{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 3000;
  }

  .menu-toggle{
    left: 32px;          
    font-size: 26px;
    color: #fff;
    cursor: pointer;
  }

  .login a{
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
  }

  .nav-bar .links{
    display: none !important;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #0b1220;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    z-index: 2000;
  }

  .nav-bar .links.active{
    display: flex !important;
  }
  .header .login-item{
    position: relative;
    margin-left: -40px;
    height: 45px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #22C55E ;
    background-color: #22c55e23;   
     border-radius: 10px;
    font-size: 18px;
    line-height: 10px;
   

}
.login i{
    color: var(--text-main);
    
}
.login span a{
 color: var(--text-main);


}

.main-page{
    width: 100%;
    height: 1300px;
    background-color: var(--bg-section);
    color: var(--text-main);
    display: flex;
    position: relative;
    align-items: center;
}
.page-info{
    display: flex;
    flex-direction: column;
        margin-top: -400px;
}
.page-info h1{
    position: absolute;
    top: 100px;
    right: 140px;
    font-size: 35px;
    font-weight: 700;
    color: var(--text-muted);
}
.page-info p{
    display: inline;
    width: 100%;
    margin: 10px auto;
        position: relative;
        right: -30px;
    font-size: 40px;
    font-weight: 900;
    color: var(--text-muted);

}


.page-info .about span{
    color: #22C55E;
}

.page-info .for-who span{
    color: var(--text-main);
    margin: 5px;
    color: #22C55E;
}
.fancy{
    width: 350px;
    height: 350px;
    background-color: var(--bg-card);
    background-repeat: no-repeat;

    border-radius: 56% 44% 67% 33% / 65% 70% 30% 35% ;
}
.fancy-border{
    position: absolute;
    top: 610px;
    left: 30px;
    margin: 0;
    
}
.fancy-border img{
    width: 270px;
    position: absolute;
    top: 129px;
    left: 30px;

}
.main-page .wave img{
    position: relative;
    width: 100%;
    height: 300px;
    
}
.three-features{
    color: var(--text-main);
    width: 90%;
    height: 650px;
    display: flex;
    margin: 10px auto;  
    display: flex;
    flex-direction: column;
   align-items: center;
}
 .three-features div{
    
 background-color: var(--bg-section);
 width: 300px;
 height: 120px;
 margin: 20px;
 padding: 10px;
 border-radius: 15px;
border: 1px solid var(--border-soft);
}
.three-features div p{
    font-size: 16px;
}
.levels .level{
    width: 90%;
    height: 2300px;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
   align-items: center;
    margin: 5px auto;
    position: relative;
}
.level-address{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    border-radius: 15px;
    width: 250px;
    height: 60px;
    margin: 10px auto;
    padding: 5px;
    color: var(--text-main);
    background-color: var(--bg-section);
    border: 2px solid var(--border-soft);
}
.level-address h3{
    margin: 4px auto;
    font-size: 18px;


}

.levels .level .year-one,
.levels .level .year-two,
.levels .level .year-three,
.levels .level .year-four{
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 480px;
    background-color: var(--bg-card);
    margin: 20px;
    border-radius: 15px;
    border: 1px solid var(--border-soft);
}

 .footer{
    width: 100%;
    height: 380px;
    background-color: var(--bg-section);
 }


 .join-problem button{
      width: 150px;
      height: 65px;
      border-radius: 10px;
      margin-top: 15px;
      border: 1px solid #22C55E ;
    background-color: #22c55e23;
      padding: 5px;
      font-weight: 500;
      outline: none;
 }
 
 .join-problem button{
    color: var(--text-main);
    font-size: 16px;
    font-weight: 700;

 }
 
 .join-problem i{
    font-size: 16px;
    margin: 5px;
    font-weight: 700;


 }
 
 .developer{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    
 }
 .developer .mades{
    color: var(--text-muted);
    font-size: 16px;
        width: 340px;

 }
 .developer .deve{
    color: #9786ba;
    font-size: 16px;
    margin: 5px auto;
    width: 340px;

 }
 




}

/* From Uiverse.io by andrew-manzyk */ 
.loader {
  --fill-color: #5c3d99;
  --shine-color: #5c3d9933;
  transform: scale(0.5); /* You can change the size */
  width: 100px;
  height: auto;
  position: relative;
  filter: drop-shadow(0 0 10px var(--shine-color));
}

.loader #pegtopone {
  position: absolute;
  animation: flowe-one 1s linear infinite;
}

.loader #pegtoptwo {
  position: absolute;
  opacity: 0;
  transform: scale(0) translateY(-200px) translateX(-100px);
  animation: flowe-two 1s linear infinite;
  animation-delay: 0.3s;
}

.loader #pegtopthree {
  position: absolute;
  opacity: 0;
  transform: scale(0) translateY(-200px) translateX(100px);
  animation: flowe-three 1s linear infinite;
  animation-delay: 0.6s;
}

.loader svg g path:first-child {
  fill: var(--fill-color);
}

@keyframes flowe-one {
  0% {
    transform: scale(0.5) translateY(-200px);
    opacity: 0;
  }
  25% {
    transform: scale(0.75) translateY(-100px);
    opacity: 1;
  }
  50% {
    transform: scale(1) translateY(0px);
    opacity: 1;
  }
  75% {
    transform: scale(0.5) translateY(50px);
    opacity: 1;
  }
  100% {
    transform: scale(0) translateY(100px);
    opacity: 0;
  }
}

@keyframes flowe-two {
  0% {
    transform: scale(0.5) rotateZ(-10deg) translateY(-200px) translateX(-100px);
    opacity: 0;
  }
  25% {
    transform: scale(1) rotateZ(-5deg) translateY(-100px) translateX(-50px);
    opacity: 1;
  }
  50% {
    transform: scale(1) rotateZ(0deg) translateY(0px) translateX(-25px);
    opacity: 1;
  }
  75% {
    transform: scale(0.5) rotateZ(5deg) translateY(50px) translateX(0px);
    opacity: 1;
  }
  100% {
    transform: scale(0) rotateZ(10deg) translateY(100px) translateX(25px);
    opacity: 0;
  }
}

@keyframes flowe-three {
  0% {
    transform: scale(0.5) rotateZ(10deg) translateY(-200px) translateX(100px);
    opacity: 0;
  }
  25% {
    transform: scale(1) rotateZ(5deg) translateY(-100px) translateX(50px);
    opacity: 1;
  }
  50% {
    transform: scale(1) rotateZ(0deg) translateY(0px) translateX(25px);
    opacity: 1;
  }
  75% {
    transform: scale(0.5) rotateZ(-5deg) translateY(50px) translateX(0px);
    opacity: 1;
  }
  100% {
    transform: scale(0) rotateZ(-10deg) translateY(100px) translateX(-25px);
    opacity: 0;
  }
}
/* header animation */
nav::before{
    content: "";
    position: absolute;
    height: 5px;
    width: 100%;
    background-color:var(--button);
    bottom: 0px;
}
nav::after{
    content: "";
    position: absolute;
    height: 3px;
    width: 10%;
    background-color: var(--success);
    bottom: .5px;
    border-bottom-left-radius: 9px;
    border-top-left-radius: 9px;
    animation-name: line;
    animation-iteration-count: infinite;
    animation-duration: 9s;
    animation-delay: .5s;
    animation-timing-function: linear ;
    animation-direction:alternate ;
}
@keyframes line{
    10%{
        width: 10%;
    }
    20%{
        width: 20%;
    }
    30%{
        width: 30%;
    }
    40%{
        width: 40%;
    }
    50%{
        width: 50%;
    }
    60%{
        width: 60%;
    }
    70%{
        width: 70%;
    }
    80%{
        width: 80%;
    }
    90%{
        width: 90%;
    }
    100%{
        width: 100%;
    }
}
/* end header animation */

 
.fancy-border img {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
#installBtn{
padding:10px 20px;
border-radius:8px;
border:none;
background:#22c55e;
color:white ;
font-size:16px;
cursor:pointer;
/* margin: 90px auto 0px auto; */
font-weight: 600;
  transition: 0.3s;

}
#installtn:hover{
  transform: translateY(-10px);
}
button{
        cursor: pointer

}