/* ===== Google Font Import - Poppins ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Harmattan:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gulzar&family=Harmattan:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s ease;;
}


/* ===== Colours ===== */
:root{
  --col-deepblue:#5e60ce;
    --body-color: #E4E9F7;
    --nav-color: #4070F4;
    --side-nav: #010718;
    --text-color: #FFF;
    --search-bar: #F2F2F2;
    --search-text: #010718;
    
      --bg-color: #1b1b1b;
  --second-bg-color: #2e2e2e;
  --K-bg-color: #383838;
  --logo1-text: #8848c3;
  --logo2-text: #66cdaa;
  --logo-text: #5e60ce;
  --mult-text: #ffcc00;
  --main-color: #0ef;
  --soc-color: #0e100f
}

body{
  margin: 0;
  background-color: #eeeeee;
}
body.dark{
  margin: 0;
  background-color: #18191A;
  --logo2-text: #FFCB6B;
    --body-color: #18191A;
    --nav-color: #242526;
    --side-nav: #242526;
    --text-color: #ffff;
    --head-color: #FF5370;
    --search-bar: #242526;
  --soc-color: #7f8c8d
}

nav{
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    background-color: var(--nav-color);
    z-index: 100;
}
nav .nav-bar .sidebarOpen{
    color: var(--text-color);
    font-size: 25px;
    padding: 5px;
    cursor: pointer;
    display: none;
}
nav .nav-bar .logo a{
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 600;
    font-size: 40px;
    color: var(--text-color);
    text-decoration: none;
}
.nav-bar .nav-links{
    display: flex;
    align-items: center;
}

nav .nav-bar{
    position: relative;
    height: 100%;
    max-width: 1000px;
    width: 100%;
    background-color: var(--nav-color);
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
body.dark nav{
    border: 1px solid #393838;

}




.menu .logo-toggle{
    display: none;
}


.nav-bar .nav-links li{
    margin: 0 5px;
    list-style: none;
}

.nav-links li a{
    position: relative;
    font-size: 17px;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
}

.nav-links li a::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: var(--text-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-links li:hover a::before{
    opacity: 1;
}

.nav-bar .darkLight-togle{
    display: flex;
    align-items: center;
}

.darkLight-togle .dark-light{
    height: 40px ;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}
.ser{
      right: -1rem;
    top: -10px;
}
.dark-light i{
    position: absolute;
    color: var(--text-color);
    font-size: 30px;

    cursor: pointer;
    transition: all 0.3s ease;
}
.notification i{
  font-size: 1.8rem;
  padding-top: 10px;
  color: var(--text-color);
}
.dark-light i.sun{
    opacity: 0;
    pointer-events: none;
}

.dark-light.active i.sun{
    opacity: 1;
    pointer-events: auto;
}

.dark-light.active i.moon{
    opacity: 0;
    pointer-events: none;
}


@media screen and (min-width: 768px) {
.school-image{
  width: 100%;
  padding: 4px;
}
body{
  overflow-x: hidden;
}


 .pc{
  height: 100vh;
    background-color: #fff;
}
body.dark .pc{
  height: 100vh;
    background-color: #414045;
}

}
@media (max-width: 790px) {
    nav .nav-bar .sidebarOpen{
        display: block;
    }
    .menu{
        position: fixed;
        height: 100%;
        width: 320px;
        left: -100%;
        top: 0;
        padding: 20px;
        background-color: var(--side-nav);
        z-index: 100;
        transition: all 0.4s ease;
    }

    nav.active .menu{
        left: -0%;
    }

    nav.active .nav-bar .navLogo a{
        opacity: 0;
        transition: all 0.3s ease;
    }

    .menu .logo-toggle{
        display: block;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-toggle .siderbarClose{
        color: var(--text-color);
        font-size: 24px;
        cursor: pointer;
    }

    .nav-bar .nav-links{
        flex-direction: column;
        padding-top: 30px;
    }

    .nav-links li a{
        display: block;
        margin-top: 20px;
    }
.card{
    margin-bottom: 20px;
    margin-top: -.5rem;
    margin: 0 1rem 1rem;
    padding: 4px;
}
body.dark .card{
    margin-bottom: 20px;
    margin-top: -.5rem;
    margin: 0 1rem 1rem;
    padding: 4px;
}

}


body.dark .head-font{
    color: #fff;
}
.head-font{
  color: #000;
}
body.dark .head-fontB{
    color: #fff;
}
.head-fontB{
  color: #000;
}
.card-p{
  font-size: 2rem;
  margin-top: 6rem;
  text-align: center;
}
.card{
   color: #000;
   font-size: 1rem;
   text-decoration: none;
   background-color: #E3F2FD;
   display: flex;
   flex-direction: column;
   align-items: center;
   border-radius: 20px;
   border: 2px solid #121212;
   padding-bottom: 2vh;
   overflow: hidden;
   max-width: 600px;
}
body.dark .card{
   color: #dbdbdb;
   font-size: 1rem;
   text-decoration: none;
   display: flex;
   flex-direction: column;
   align-items: center;
   background-color:#363942;
   border-radius: 20px;

}
.abihamed-card{
   color: #000;
   font-size: 1rem;
   overflow-x: hidden;
  text-decoration: none;
  display: flex;
    background-color: #F5F5F5;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(10, 10, 10, 0.7);
  margin-bottom: 20px;
  margin: 0 1rem 1rem;
}
body.dark .abihamed-card{
   color: #dbdbdb;
   font-size: 1rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
 background-color:#363942;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(10, 10, 10, 0.7);
  margin-bottom: 20px;
  margin: 0 1rem 1rem;
}
.card-description {
    font-family: 'Lateef', serif; 
    color: #fff;
    padding: 20px;
    text-align: center;
    direction: rtl ;
}

.school-image {
  display: block;
  width: 100%;
  border-radius: 16px;
}

  .Services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    min-height: 100vh;
    margin-top: 5rem;
    overflow-x: hidden;
  }
  
  .Services-container .Services-box{
    flex: 1 1 30rem;
    margin: 0 3.5rem;
    padding: 2rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
  } 
  
   .Services-container .Services-box:hover{
     border-color: var(--logo2-text);
     transform: scale(1.02);
   }
  
  .Services-box h3 {
    font-size: 1.6rem;
  }
  .Services-box p {
    font-size: 1rem;
    margin: 1rem 0 3rem;
  }
  
  .btn{
      display: inline-block;
      padding: 1rem 2.8rem;
      border: 2px solid var(--soc-color);
      border-radius: 10px;
      font-size: 1rem;
      text-decoration: none;
      color: var(--side-nav);
      letter-spacing: .1rem;
      font-weight: 60;
      transition: .5s ease;
}
.btn:hover{
  box-shadow: none;
}

.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 20px;
  text-align: center;
}
.elghazali-container {
  overflow-x: hidden;
  max-width: 100%;
  margin: 50px auto 0rem;
  padding: 10 20px;
  text-align: center;
      background: ;
    text-align:right;
      border-radius: 17px;
    direction: rtl;
    
}
.elghazali-info{
animation: fadeIn 2s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 70px;  border-radius: 17px;
}
.text-container {
  margin-top: 20px;
}

.text-container p {
  margin-bottom: 0px;
}
.harmattan-bold span{
  color: red;
  font-size: 1rem;
}
body.dark .harmattan-bold span{
  color: #FF5370;
  font-size: 1rem;
}



/*---- help full ----*/
.a {
  font-size: 1.5rem;
  color:#0000;
  text-decoration:none;
}
.p{
  font-size: 1.3rem;
}
footer {
  width:100vw;
  position:block;
  margin-bottom:-1rem;
}
footer div {
  background-color: var(--col-deepblue);
  margin: -5px 0px 0px 0px;
  padding:0px;
  text-align:center;
}
svg {
  width:100%;
  overflow:visible;
}
.wave {
  animation: wave 3s linear;
  animation-iteration-count:infinite;
  fill: #4478e3;
}
.drop {
  fill: var(--col-deepblue);
  xfill: #99000055;
  animation: drop 3.2s linear infinite normal;
  stroke: var(--col-deepblue);
  stroke-width:0.5;
  transform: translateY(25px) ;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.drop1 {
  
}
.drop2 {
  animation-delay: 3s;
  animation-duration:3s;
}
.drop3 {
  animation-delay: -2s;
  animation-duration:3.4s;
}
.drop4 {
  animation-delay: 1.7s;
}
.drop5 {
  animation-delay: 2.7s;
  animation-duration:3.1s;
}
.drop6 {
  animation-delay: -2.1s;
  animation-duration:3.2s;
}
.gooeff {
    filter: url(#goo);
}
#wave2 {
  animation-duration:5s;
  animation-direction: reverse;
  opacity: .6
}
#wave3 {
  animation-duration: 7s;
  opacity:.3;
}
@keyframes drop {
  0% {
    transform: translateY(25px); 
  }
  30% {
    transform: translateY(-10px) scale(.1);
  }
  30.001% {
    transform: translateY(25px) scale(1); 
  }
  70% {
    transform: translateY(25px); 
  }
  100% { 
    transform: translateY(-10px) scale(.1);  
  }
}
@keyframes wave {
  to {transform: translateX(-100%);}
}


/*---- font ----*/
.gulzar-regular {
  font-family: "Gulzar", serif;
  font-weight: 600;
  font-size: 3rem;
}


.harmattan-bold, .head-font {
  font-family: "Harmattan", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}
 .head-fontB {
  font-family: "Harmattan", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.head-fontB span{
  font-size: 1.6rem;
}





.kalam-light {
  font-family: "Kalam", cursive;
  font-weight: 300;
  font-style: normal;
}

.kalam-regular {
  font-family: "Kalam", cursive;
  font-weight: 400;
  font-style: normal;
}

.kalam-bold {
  font-family: "Kalam", cursive;
  font-weight: 700;
  font-size: 1.2rem;
}



   /*----body dark---*/
body.dark .Services-container .Services-box{
    flex: 1 1 30rem;
    margin: 0 3.5rem;
    padding: 2rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.2px solid #eeeeee;
    transition: .5s ease;
   } 
  body.dark .Services-box h3, 
  body.dark .Services-box p,
  body.dark .gulzar-regular,
  body.dark .row p,
  body.dark .footer{
    color: var(--text-color);
  }
  
   
.underline {
  text-decoration-line: underline;
  color: #0ef;
}
.fps{
  height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 0 4rem;
}
.iframe{
  align-items: center;
}
.gif{
  width: 100%;
  top: 0;
}
.gifd{
  width: 100%;
  display: none;
}
body.dark .gifd{
  display: block;
  width: 100%;
}
body.dark .gif{
  display: none;
}
body.dark .dark-light {
  background-color: #fff !important;
}
.dark-light {
    position: fixed;
    bottom: 20px;    
    right: 10px;
    z-index: 1000; 
   width: 60px !important;
    height: 60px !important;
    background-color: #000000b7 !important;
    border-radius: 50% !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; /* إضافة ظل */
    cursor: pointer !important;
}

.dark-light i {
    font-size: 24px !important;
    cursor: pointer;
    font-size: 35px !important;  
    margin: 0 5px; 
}

.bx-moon{
  color: #0ef !important;
}
.bx-sun{
  color: #8848c3 !important;
}

.gif-footer{
  width: 100%;
}
.blue{
  padding: 0 0 1.4rem;
  background-color: #4578e3;
}
.move-icon {
            display: inline-block;
            font-size: 48px;
            animation: move-left-right 2s infinite;
        }

        @keyframes move-left-right {
            0% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(20px);
            }
            100% {
                transform: translateX(0);
            }
        }
        @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.bounce-icon {
    animation: bounce 1s infinite;
}
@keyframes scale-shadow {
    0% { transform: scale(1); box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); }
    50% { transform: scale(1.2); box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); }
    100% { transform: scale(1); box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); }
}

.scale-shadow-icon {
    animation: scale-shadow 1.5s ease-in-out infinite;
}
.homepage{
  margin-top: 8rem;
  display: flex;
  justify-content: center;
  align-content: center;
}