
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');


html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
      font-family: "IBM Plex Sans Arabic", sans-serif;
        font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}


body {
     font-family: "IBM Plex Sans Arabic", sans-serif;
    color: rgb(255 255 255);
    background: #0d0d0d;
}

.logo img {
    width: 290px;
}

.hbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 15px 30px;
    margin-top: 20px;
  }
  
  .login-button a {
    background: linear-gradient(to bottom right, #1a1a1a, #2a2a2a);
    border: 1px solid #444;
    color: white;
    padding: 6px 20px;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
  }
  
  .login-button a:hover {
    background: linear-gradient(to bottom right, #2a2a2a, #3a3a3a);
  }
.mleft h1 {
    font-size: 3.75rem;
    line-height: 1;
    text-transform: uppercase;
      font-family: "IBM Plex Sans Arabic", sans-serif;

}

.mleft span {
    color: #eeeeeed9;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.mright {
    background-image: url(../img/blur-logo.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.main {
    display: grid
;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5rem;
    justify-content: space-around;
    align-items: center;
}

.servers {
    display: flex
;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.servers h5 {
      font-family: "IBM Plex Sans Arabic", sans-serif;

    font-weight: 700;
}

#mmaz {

    max-width: 1112px;

}
.team-card {
    position: relative;
    width: 220px;
    height: 320px;
    background-color: #1a1a1a;
    border-radius: 12px;
    text-align: center;
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    margin: 5px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 75% 100%, 25% 100%, 0 85%);
    
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  }
  .team-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 20px rgba(153, 205, 52, 0.05); 
    background: linear-gradient(160deg, #1a1a1a, #2c2c2c, rgba(153, 205, 52, 0.03));
  }
  
  
  
  .team-img {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
  }
  
  .team-img img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    background-color: #222;
  }
  
  .team-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
    z-index: 1;
  }
  
  .team-role {
    font-size: 0.95rem;
    color: #99cd34;
    z-index: 1;
  }
  
  

.on {
    --tw-shadow: 0px 4px 24px 0px rgba(135, 218, 33, .5);
    --tw-shadow-colored: 0px 4px 24px 0px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-radius: 99px;
    height: .75rem;
    width: .75rem;
    background: #88da21;
    animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}
.off {
    --tw-shadow: 0px 4px 24px 0px rgba(135, 218, 33, .5);
    --tw-shadow-colored: 0px 4px 24px 0px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-radius: 99px;
    height: .75rem;
    width: .75rem;
    background: #da3a21;
    animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes pulse {
    50% {
        opacity: .5
    }
}

.server {
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background: linear-gradient(86deg, #34491833, #5c822b33 47.5%, #34491833);
    border-radius: .25rem;
    display: flex
;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgb(25 40 6);
}

.slist {
    display: flex
;
    gap: 1em;
    align-items: center;
}

.server {
    font-size: .75rem;
    font-weight: 700;
}

.servers {
    margin-top: 5em;
}

.ablock h1 {
    color: #B6D32F;
    text-transform: uppercase;
    font-size: 3.75rem;
    line-height: 1;
      font-family: "IBM Plex Sans Arabic", sans-serif;

    text-align: right;
}

.ablock span {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #eeeeeed9;
      font-family: "IBM Plex Sans Arabic", sans-serif;

}

.about {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 1440px;
    margin: 2rem 0;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.ablock {
    width: 30%;
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* يجعل المحتوى داخل البلوك يصطف لليمين */
    gap: 2.5rem;
    text-align: right; /* يجعل النص داخل العناصر مثل <p>, <h2>... إلى اليمين */
}


.shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.mask1 {
    clip-path: polygon(45% 0%, 45% 66%, 20% 56%, 23% 22.5%, 45% 0%, 40% 0%, 0% 0, 0% 65%, 17% 56%, 20% 19%, 40% 0%);
    background-image: url(../img/mirage-1.webp);
    background-size: contain;
    background-position: left top;
}

.mask2 {
    clip-path: polygon(45% 100%, 45% 72%, 18% 60%, 0% 70%, 0% 100%);
    background-image: url(../img/mirage-3.webp);
    background-size: contain;
    background-position: 147% 112%;
    background-size: 60%;
}

.mask3 {
    clip-path: polygon(65% 50%, 65% 0%, 48% 0%, 48% 72%);
    background-image: url(../img/mirage-2.webp);
    background-size: 60%;
    background-position: 44% 0;
    background-repeat: no-repeat;
}

.mask4 {
    clip-path: polygon(48% 78%, 48% 100%, 100% 100%, 100% 80%, 66.5% 55%);
    background-image: url(../img/mirage-4.webp);
    background-size: contain;
    background-position: 193% -181%;
    background-size: 80%;
}
.cbtn {
    display: flex
;
    flex-direction: column;
    gap: 1rem;
}

.cbtn a {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
    background: linear-gradient(90deg, #fff3, #9993), #000c;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border: 1px solid rgb(66 63 63);
    border-radius: 1.5rem;
    color: #fff;
    text-decoration: none;
    display: flex
;
    align-items: center;
    justify-content: center;
}

.cbtn a:hover {
    border-color: #B6D32F;
}

.sublist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
}
.sub {
    background: linear-gradient(180deg, #18694d, #106547);
    padding: 2rem;
    min-height: 600px;
    overflow: visible;
    clip-path: polygon(60px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 60px);
    box-shadow: 0 0 0 3px rgb(25, 25, 24), 0 0 10px #26b080;
    display: flex;
    flex-direction: column;
    text-align:right;
    direction: rtl;
    
}

.sub::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: rgb(0, 85, 255);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

.corner-icon {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 40px;
    height: 40px;
    z-index: 2;
}


.sname {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    line-height: 150%;
    text-transform: uppercase;
}

.subtext {
    list-style: none;
    font-size: .875rem;
    line-height: 1.25rem;
    color: #ffffffe6;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 1em;
}


.subfooter {
    margin-top: auto;
    display: flex
;
    flex-direction: column;
}


.sub a {
    background: linear-gradient(180deg, #fff3, #9993);
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 10px 1.5rem;
    border-radius: 1.5rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    position: relative;
    bottom: -0.5em;
    display: inline-block;
    text-align: center;
    direction: rtl;
    width: 7vh;
}

.sub:nth-child(2) {
    background: linear-gradient(180deg, #c3a533, #74611b);
    box-shadow: 0 0 0 3px rgb(25, 25, 24), 0 0 10px #26b080;
}

.sub:nth-child(3) {
    background: linear-gradient(180deg, #B828E4, #601477);
    box-shadow: 0 0 0 3px rgb(25, 25, 24), 0 0 10px #d035ff;
}

.sublist {
    max-width: 80%;
    margin: 0 auto;
}

.subfooter h1 {
    font-size: 3rem;
    line-height: 1;
    direction :rtl;
}

.subscriptions h1 {
    font-size: 3.75rem;
    line-height: 1;
    
    text-transform: uppercase;
      font-family: "IBM Plex Sans Arabic", sans-serif;

}



.subscriptions span {
    color: #eeeeeed9;
    font-size: 1.125rem;
    line-height: 1.75rem;
      font-family: "IBM Plex Sans Arabic", sans-serif;

}

.subscriptions {
    display: flex
;
    flex-direction: column;
    align-items: center;
    margin-top: 10em;
    gap: 1em;
}

.joblist {
    max-width: 992px;
    display: flex
;
    gap: 1rem;
}

a.job img {
    width: -webkit-fill-available;
}

a.job {
    width: 320px;
}

.joblist {
    max-width: 992px;
    display: flex
;
    gap: 1rem;
    margin: 0 auto;
    margin-top: 1em;
}

.jobs h1 {
    font-size: 3.75rem;
    line-height: 1;
    text-transform: uppercase;
      font-family: "IBM Plex Sans Arabic", sans-serif;

    color: #99cd34;
}

.jobs span {
    color: #eeeeeed9;
    font-size: 1.125rem;
    line-height: 1.75rem;
      font-family: "IBM Plex Sans Arabic", sans-serif;

}

#fouders-headerr {
    font-size: 3.75rem;
    line-height: 1;
    text-transform: uppercase;
      font-family: "IBM Plex Sans Arabic", sans-serif;

    color: #99cd34;
}

#fouders-txt {
    color: #eeeeeed9;
    font-size: 1.125rem;
    line-height: 6.75rem;
      font-family: "IBM Plex Sans Arabic", sans-serif;

    margin-bottom: 3rem; /* أضف هذا السطر */
}

.jobs {
    display: flex
;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 10em;
    margin-bottom: 5em;
}

.flogo img {
    width: 291px;
}

.footer {
    border-top: 1px solid #383838;
    padding: 3em;
}

.footer .container {
    display: flex
;
}

.flinks a {
    color: #ffffffbf;
    text-decoration: none;
}

.flinks {
    display: flex
;
    flex-direction: column;
    gap: .5rem;
}

.fsocials a {
    color: #ffffffbf;
    text-decoration: none;
}

.fsocials {
    display: flex
;
    flex-direction: column;
    gap: .5rem;
}

.sep {
    width: 1px;
    height: 80%;
    background: #383838;
}

.fright {
    margin-left: auto;
    gap: 10em;
}

.fright {
    display: flex
;
}

@media (max-width: 991px) {
    .sublist {
        display: grid
    ;
        grid-template-columns: repeat(1, 1fr);
        gap: 2em;
    }

    .joblist {
        max-width: 992px;
        display: flex
    ;
        gap: 1rem;
        margin: 0 auto;
        margin-top: 1em;
        flex-direction: column;
    }

    .footer .container {
        display: flex
    ;
        flex-direction: column;
    }

    .fright {
        display: flex
    ;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .fright {
        margin-left: unset;
        gap: 1em;
        margin-top: 1em;
    }

    .sep {
        width: 100%;
        height: 1px;
        background: #383838;
    }

    .ablock {
        width: 30%;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 2.5rem;
        position: absolute;
        right: 0;
        text-align: right;
        /* text-align: left; */
    }
    .shape {
        display: none;
    }
}

.subscribe-btn:hover {
    background-color: linear-gradient(180deg, rgba(255, 255, 255, 0.392), rgba(153, 153, 153, 0.398));
    transform: scale(1.05); /* تكبير بسيط */
  }

.tooltip-custom {
    position: relative;
    display: inline-block;
  }
  
  .tooltip-custom .tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    position: absolute;
    z-index: 10;
  
    /* بدل bottom بخطوة جديدة */
    top: 125%; /* يظهر تحت العنصر */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
  }
  
  
  .tooltip-custom:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
  }
  
.rules {
    background: #ffffff0d;
    border-radius: 1.5rem;
    border: 1px solid rgb(255 255 255 / 10%);
    padding: 3rem;
    max-width: 56rem;
    margin: 0 auto;
    margin-top: 5em;
    margin-bottom: 5em;
}

#founders-hidden:not(.show) {
    height: 0 !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .toggle-wrapper {
    transition: transform 0.6s ease;
  }
  
  .toggle-wrapper.moved {
    transform: translateY(60px); /* ← هذا احذفه */
  }
  

  #founders-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  #founders-hidden.show {
    opacity: 1;
    pointer-events: auto;
  }

  #founders-hidden .team-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
  }

  #founders-hidden.show .team-card {
    opacity: 1;
    transform: translateY(0);
  }

  /* أنيميشن تدريجي لكل بطاقة */
  #founders-hidden.show .team-card:nth-child(1) { transition-delay: 0.1s; }
  #founders-hidden.show .team-card:nth-child(2) { transition-delay: 0.2s; }
  #founders-hidden.show .team-card:nth-child(3) { transition-delay: 0.3s; }
  #founders-hidden.show .team-card:nth-child(4) { transition-delay: 0.4s; }
  #founders-hidden.show .team-card:nth-child(5) { transition-delay: 0.5s; }
  #founders-hidden.show .team-card:nth-child(6) { transition-delay: 0.6s; }
  #founders-hidden.show .team-card:nth-child(7) { transition-delay: 0.7s; }
  #founders-hidden.show .team-card:nth-child(8) { transition-delay: 0.8s; }


  

  .scrollable-box {
    max-height: 400px; /* أو أي ارتفاع يناسبك */
    overflow-y: auto; /* يُظهر الشريط فقط عند الحاجة */
    padding-right: 10px;
  }
  
  /* تخصيص مظهر Scrollbar في المتصفحات المدعومة (مثل Chrome) */
  .scrollable-box::-webkit-scrollbar {
    width: 8px;
  }
  
  .scrollable-box::-webkit-scrollbar-track {
    background: #1a1a1a;
  }
  
  .scrollable-box::-webkit-scrollbar-thumb {
    background: #88da21;
    border-radius: 10px;
  }
  
  .scrollable-box::-webkit-scrollbar-thumb:hover {
    background: #aaff33;
  }
  