@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sixtyfour+Convergence&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lalezar&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');
  
  
@font-face {
  font-family: 'code';
  src: url(../Fonts/CascadiaCode-Regular.woff2);
}
  
  



#circle {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  pointer-events: none;
  background-color: #8a8a8a74;
  top: 0px;
  left: 0px;
  transform: translate(-50%, -50%);
  opacity: 0 ;
  transition: opacity 0.2s ease;
  z-index: 99;
}


 /*                            loader اكواد خااصة بــــ                         */

#loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: #212121;
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999999;
}



.textWrapper {
  height: fit-content;
  min-width: 3rem;
  width: fit-content;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.25ch;
  position: relative;
  z-index: 0;
  color: white;

}

.invertbox {
  position: absolute;
  height: 100%;
  aspect-ratio: 1/1;
  left: 0;
  top: 0;
  border-radius: 20%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: invert(100%);
  animation: move 2s ease-in-out infinite;
}

@keyframes move {
  50% {
    left: calc(100% - 3rem);
  }
}

 /*                           loader اكواد خااصة بــــ                             */








  
  
  
  
  
  
  
  .dropdown-item {
            opacity: 0;
            transform: scale(0.95); /* حجم أصغر قليلاً في البداية */
            transition: opacity 0.3s ease-out, transform 0.3s ease-out;
        }
        /* لإظهار العناصر عند إضافة الكلاس */
        .dropdown-item.is-visible {
            opacity: 1;
            transform: scale(1);
        }




    
/*                     اكواد خاصة بشكل اايقونة القائمة في شاشات االهواتف                      */
.menu-icon {
    display: inline-block;
    cursor: pointer;
    width: 20px; /* يمكن تعديل العرض ليناسب تصميمك */
    position: relative;
}

.menu-icon div {
    width: 19px;
    height: 3px; /* سمك الخط */
    margin: 4px 0; /* المسافة بين الخطوط */
    transition: 0.4s; /* مدة الانتقال للأنميشن */
    border-radius: 10px;
}

/* التحول إلى X عند الفتح */
.menu-icon.change .bar1 {
    transform: translate(0, 6px) rotate(-45deg);
    background-color: red;
}

.menu-icon.change .bar2 {
    opacity: 0; /* إخفاء الخط الأوسط */
}

.menu-icon.change .bar3 {
    transform: translate(0, -6px) rotate(45deg);
    background-color: red;
}
.menu-xxxs {
  margin-right:3px ;
}

@media (min-width:300px) {
  .menu-icon div {
    width: 23px;
    height: 4px; /* سمك الخط */
}
.menu-icon.change .bar1 {
    transform: translate(0, 8px) rotate(-43deg);
}
.menu-icon.change .bar3 {
    transform: translate(0, -8px) rotate(43deg);
}
.menu-xxxs {
  margin-right:7px ;
}
}
@media (min-width:400px) {
  .menu-icon div {
    width: 27px;
    height: 5px; /* سمك الخط */
}
.menu-icon.change .bar1 {
    transform: translate(0, 9px) rotate(-42deg);
}
.menu-icon.change .bar3 {
    transform: translate(0, -9px) rotate(42deg);
}
.menu-xxxs {
  margin-right:9px ;
}
}


/*                   انتهاء ااكواد خاصة بشكل اايقونة القائمة                       */



  /* اكواد خاصة للشاشات الصغيرة */

.full-dropdown-wrapper {
    overflow: hidden;
    transition: max-height 0.7s ease-in-out, opacity 0.7s ease-in-out; /* مدة أقصر وتحديد الخصائص */
    max-height: 0;
    opacity: 0;
    /* تم إزالة visibility من هنا، سيتم التحكم بها بواسطة JavaScript */
}
.full-dropdown-wrapper.open {
    /* تم إزالة visibility من هنا */
    opacity: 1;
    max-height: 100%;
}

    .full-dropdown {
      width: 100%;
      box-sizing: border-box;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.455);
    }

    .dropdown-links {
      display: flex;
      flex-direction: column;
      text-align: center;
    }

    .dropdown-links a  {
      width: 100%;
      height: 45px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.07);

    }
    .dropdown-links a:hover  {
      transition: all 0.4s ease-in-out;
      background-color: #d1d5db;
    }
    .dropdown-links a p {
      transition: color 0.5s ease-in-out, transform 0.3s ease-in-out;
      width: 100%;
      font-weight: 600;
      height: 100%;
            display: flex;
      justify-content: center;
      align-items: center;
    }

    .dropdown-links a p:hover {
      transform: scale(0.93);
      
    }
    .active-a:hover {
      background-color: gray !important;
    }
    .active-menu:hover {
      color: white !important;
    }

    .page-content {
      padding: 20px;
      max-width: 800px;
      margin: auto;
      line-height: 1.6;
      transition: margin-top 0.6s ease-in-out;
    }


  /* اكواد خاصة للقائمة في الشاشات الصغيرة */












/* تنسيقات شريط التنقل */

         .nav-item {
            position: relative;
            transition: color 0.3s ease-in-out;
            cursor: pointer;
        }
        .active-underline {
            position: absolute;
            bottom: -8px;
            height: 3px;
            transition: left 0.8s ease-in-out, width 5s ease-in-out;
            z-index: 10;
            /* مخفي في البداية حتى يتم تحديد موقعه الأول */
            width: 0;
            border-radius: 100px;
            transition: 0.5s ease-in-out;
            cursor: pointer;
        }

















footer {
  padding: 10px;
  padding-bottom: 0;
  margin-top: 20px;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 400% auto;
  box-shadow: 0 -10px 10px #ffffff20;
  display: block;
}



footer:hover {
  background-position: -30%;
  text-decoration: none;
}


footer .footer-s {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 0;
  justify-content: space-between;

}
.footer-1 {
    gap: 0px 0px !important;
    
}



.footer-2 a {
  transition: all 0.5s;
}
.footer-2 a:hover {
  transform: scale(1.09);
}
.footer-3 a:hover {
  transform: scale(1.09);
}

.a-socil-1 , .a-socil-2 , .a-socil-3 ,.a-socil-4 {
  transition: all 0.5s ease-in-out;
}
.a-socil-1:hover {
  color: #ff0000;
}
.a-socil-2:hover {
  color: #c135b4 ;
}
.a-socil-3:hover {
  color: #0088cc ;
}
.a-socil-4:hover {
  color:#25D366 ;
}




@media (max-width:992px) {
  .example-2 .icon-content .tooltip {
 
    left: -220px !important;
    
  }
  
  footer {
    background-size: 800% auto;
  }


  footer:hover {
    transition: all 0.8s;
    background-position: -15%;

  }
}
@media (max-width:300px) {
  .example-2 .icon-content .tooltip {
 
    left: -140px !important;
    
  }
  

}


.footer-4 {
  align-items: end;

}







/*                                                               button                                */
.button {
  --white: #ffe7ff;
  --bg: #080808;
  --radius: 100px;
  outline: none;
  cursor: pointer;
  border: 0;
  position: relative;
  border-radius: var(--radius);
  background-color: var(--bg);
  transition: all 0.2s ease;
  box-shadow:
    inset 0 0.3rem 0.9rem rgba(255, 255, 255, 0.3),
    inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.7),
    inset 0 -0.4rem 0.9rem rgba(255, 255, 255, 0.5),
    0 3rem 3rem rgba(0, 0, 0, 0.3),
    0 1rem 1rem -0.6rem rgba(0, 0, 0, 0.8);
}

.button .wrap {
  font-size: 25px;
  font-weight: 500;
  color: rgb(255, 255, 255);
  padding: 5px 35px;
  border-radius: inherit;
  position: relative;
  overflow: hidden;
}

.button .wrap p span:nth-child(2) {
  display: none;
}

.button:hover .wrap p span:nth-child(1) {
  display: none;
}

.button:hover .wrap p span:nth-child(2) {
  display: inline-block;
}

.button .wrap p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  transition: all 0.2s ease;
  transform: translateY(2%);
  mask-image: linear-gradient(to bottom, white 40%, transparent);
}

.button .wrap::before,
.button .wrap::after {
  content: "";
  position: absolute;
  transition: all 0.3s ease;
}

.button .wrap::before {
  left: -15%;
  right: -15%;
  bottom: 25%;
  top: -100%;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
}

.button .wrap::after {
  left: 6%;
  right: 6%;
  top: 12%;
  bottom: 40%;
  border-radius: 22px 22px 0 0;
  box-shadow: inset 0 10px 8px -10px rgba(255, 255, 255, 0.8);
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0) 100%);
}

.button:hover {
  box-shadow:
    inset 0 0.3rem 0.5rem rgba(255, 255, 255, 0.4),
    inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.7),
    inset 0 -0.4rem 0.9rem rgba(255, 255, 255, 0.7),
    0 3rem 3rem rgba(0, 0, 0, 0.3),
    0 1rem 1rem -0.6rem rgba(0, 0, 0, 0.8);
}

.button:hover .wrap::before {
  transform: translateY(-5%);
}

.button:hover .wrap::after {
  opacity: 0.4;
  transform: translateY(5%);
}

.button:hover .wrap p {
  transform: translateY(-4%);
}

.button:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 0.3rem 0.5rem rgba(255, 255, 255, 0.5),
    inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.8),
    inset 0 -0.4rem 0.9rem rgba(255, 255, 255, 0.4),
    0 3rem 3rem rgba(0, 0, 0, 0.3),
    0 1rem 1rem -0.6rem rgba(0, 0, 0, 0.8);
}

/*                                                               button                                */






.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}

.example-2 .icon-content {
  position: relative;
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: -150px;
  left: 120%;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: 50%;
  transform: translateY(-50%);
  
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  
}

.example-2 .icon-content i {

  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}



.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  
}

.example-2 .icon-content a:hover {
  color: white;
  transform: scale(1.2);
}

.example-2 .icon-content i:hover {
  font-weight: 500;
  color: white !important;
  z-index: 999;

}

.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #e8e8e8;
  transition: all 0.3s ease-in-out;
  
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
  
}




.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"]~.tooltip {
  background: linear-gradient(45deg,
      #405de6,
      #5b51db,
      #b33ab4,
      #c135b4,
      #e1306c,
      #fd1f1f);
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"]~.tooltip {
  background-color: #ff0000;
}





.example-2 .icon-content a[data-social="telegram"] .filled,
.example-2 .icon-content a[data-social="telegram"]~.tooltip {
  background-color: #0088cc;
}




.example-2 .icon-content a[data-social="discord"] .filled,
.example-2 .icon-content a[data-social="discord"]~.tooltip {
  background-color: #7289da;
}


.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"]~.tooltip {
  background-color: #25D366;
}







/* اكواد خاصة في ااخفاء واظهار النص  */


        .text-content {
            cursor: pointer;
        }


        .text-content.expanded {
            -webkit-line-clamp: unset; /* إلغاء التقييد عند التوسع */
            line-clamp: unset;
            display: block; /* التأكد من عرضه ككتلة عند التوسع */
        }

        .toggle-button {
            color: #ffffff;
            font-weight: bold;
            border-radius: 9999px; /* شكل دائري للزر */
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease-in-out; /* تأثير عند التحويم */
            display: none; /* إخفاء الزر افتراضيًا */
        }
        @media (max-width:750px) {
        .toggle-button {
          display: none !important; /* إخفاء الزر افتراضيًا */
        }
        }
        @media (max-width:750px) {
        .toggle-button {
          display: none !important; /* إخفاء الزر افتراضيًا */
        }
        }

        .toggle-button.visible {
            display: block; /* إظهار الزر عند الحاجة */
        }


#dropdownMenu {
  z-index: 100;
}