:root{
    --header-height: 80px;   /* عدّلي القيمة هنا على قد هيدرِك الحقيقى */
    --footer-height: 120px;  /* عدّلي لو الفوتر أطول/أقصر */
  }
  html { scroll-behavior: smooth; } 
* { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Cairo", sans-serif!important;
    background: linear-gradient(to right, #2C2A4A, #3B365D, #4A4171, #5A4C85, #7D5BA6)!important;
    position: relative;
      overflow-x: hidden;
    overflow: hidden; /* يمنع سكرول مزدوج */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
  }
/* 
.page-container {
  height: 100vh;
  overflow-y: auto;            
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y mandatory;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
} */

.page-container {
    height: 100vh;

    overflow-y: auto;
    /*-webkit-overflow-scrolling: touch;*/
    /*scroll-snap-type: y mandatory;*/
    scroll-padding-top: var(--header-height);
    scroll-padding-bottom: var(--footer-height);
    /* scroll-padding-top: 0;
    scroll-padding-bottom: 0; */
    position: relative;
    box-sizing: border-box;
  }


  .stars-container {
position: fixed; /* ثابتة على كل الموقع */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }
  
  .star {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    position: absolute;
    background-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 10px 0 rgba(255, 215, 0, 0.8), 0 0 20px 0 #FFFFFF;
    animation: twinkle 2s infinite ease-in-out alternate;
  }
  @keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
  }
  

  
  .star--medium {
    width: 6px;
    height: 6px;
  }
  
  .star--big {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 40px 0 #FFD700, 0 0 20px 0 #FFFFFF, inset 0 0 4px #FFFFFF;
  }
  

  .comet {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 40px 0 #FFD700, 0 0 20px 0 #FFFFFF, inset 0 0 8px rgba(255, 255, 255, 0.6);
    top: 0;
    left: 80%;
    opacity: 0.3;
    transform: rotate(-45deg) translate(0, -50px);
    animation: comet 6s infinite;
    position: fixed;
    z-index: 1;
  }
  .comet:after {
    content: '';
    width: 20vw;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
  }
  

  
  /* .star {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: absolute;
    background-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 40px 0 rgba(255, 215, 0, 0.8), 0 0 20px 0 #FFFFFF;
    animation: glow 5s infinite;
    animation: twinkle 2s infinite ease-in-out alternate;
    opacity: 0.8;
  }
      
      @keyframes twinkle {
        0%   { opacity: 0.2; transform: scale(0.8); }
        100% { opacity: 1;   transform: scale(1.2); }
      }
    
      
      .star--medium {
        width: 6px;
        height: 6px;
      }
      
      .star--big {
        width: 9px;
        height: 9px;
        box-shadow: 0 0 40px 0 #FFD700, 0 0 20px 0 #FFFFFF, inset 0 0 4px #FFFFFF;
      }
      
      /* المذنب */
      .comet {
        width: 6px;
        height: 6px;
        background-color: rgba(255, 255, 255, 0.6);
        box-shadow: 0 0 40px 0 #FFD700, 0 0 20px 0 #FFFFFF, inset 0 0 8px rgba(255, 255, 255, 0.6);
        top: 0;
        left: 80%;
        opacity: 0.3;
        transform: rotate(-45deg) translate(0, -50px);
        animation: comet 6s infinite;
        position: absolute;
      }
      
      .comet:after {
        content: '';
        width: 20vw;
        height: 6px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
        position: absolute;
        top: 0;
        left: 0;
      }
      
      /* تأثيرات الحركة */
      @keyframes glow {
        0% {
          opacity: 0.9;
        }
        50% {
          opacity: 0.2;
        }
        100% {
          opacity: 0.9;
        }
      }
      
      @keyframes comet {
        0% {
          transform: rotate(-45deg) translateX(0);
          opacity: 0.3;
        }
        10% {
          opacity: 1;
        }
        20% {
          transform: rotate(-45deg) translateX(-100vw);
          opacity: 0;
        }
        100% {
          transform: rotate(-45deg) translateX(-100vw);
          opacity: 0;
        }
      } */

 /* header */
    
/* General Navbar styling */
.header {
 position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(44, 42, 74, 0.9); /* خلفية شبه شفافة عشان النجوم تبان */

  backdrop-filter: blur(4px);
}


  

.navbar {
    padding: 20px;
    color: #D3D3D3!important;
  }
  
  .container-fluid {
    display: flex;
    justify-content: space-between; /* Space between the left and right-aligned sections */
    align-items: center;
  }
  
  /* Left-aligned navigation items */
  .navbar-nav {
    display: flex;
  }
  
  .navbar-nav .nav-item {
    margin-right: 20px; /* Spacing between nav items */
  }
  
  .navbar-nav .nav-link {
    color: #D3D3D3!important;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    color: #7D5BA6; /* Change color on hover */
  }
  
  /* Right-aligned "تواصل معنا" */
  .contactus a {
    background-color: #008080; /* Background color for "تواصل معنا" */
    color: #D3D3D3!important;
    padding: 10px 20px; /* Add padding around the link */
    border-radius: 5px; /* Rounded corners for the "Contact Us" link */
    transition: background-color 0.3s ease; /* Smooth transition on hover */
  }

  
  .contactus a:hover {
    background-color: #349c9c; /* Darker background color when hovered */
  }
  
  @media (max-width: 767px) {
    /* Adjust styles for smaller screens */
    .navbar-nav {
      flex-direction: column; /* Stack items vertically */
      align-items: flex-start; /* Align items to the left */
    }
  
    .navbar-nav .nav-item {
      margin-right: 0;
 
    }
  
    .navbar-toggler {
      border: none; /* Remove border around the hamburger icon */
    }
  }
  /* Optional: Add some margin to avoid content being hidden under the fixed header */
  
      /* //section1 */

      .intro-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        /* height: 100%;  */
        text-align: center;
        /* padding-top: 50px!important; */
        z-index: 1000!important;
      }
      
      .intro {
        text-align: center;
      }
      
      .text-align-center {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
      }
      
      .max-width-small {
        width: 100%;
        max-width: 1000px; /* Adjust this to your desired max width */
      }

      .intro-wrapper img{
        width: 50%;

      }

      .logotext{
        color: #D3D3D3;
        /* font-family: 'Montserrat', sans-serif; */
      }

/* whoweare */
      svg {
        width: 100%;
        height: auto;
        /* margin: 50px; */

        display: flex; justify-content: flex-end; align-items: flex-start;
    }

    .tabs_container {
        width: 100%;
        max-width: 120rem;
        margin-left: auto;
        margin-right: auto;
    }
    


    .tabs_component {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
    }

    .tabs_left {
        margin-bottom: 20px;
    }

    .tabs_right {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tabs_let-content {
        margin: 0 auto;
    }
    .tabs_line {
        width: 50px;
        height: 2px;
        background-color: #FFD700;
        margin: 20px auto;
    
    }


    .whoarewe {
        display: flex;
        justify-content: center!important;
        align-items: center!important;
        /* height: 100vh!important; */
        /* margin-top: 500px; */
        z-index: 1000!important;
    }

    .section2content, .section2title {
        margin:0px 20px;
    }

    .section2title{
        color: #D3D3D3;
        font-weight: bold;
        font-size: 60px;


    }

 .section2content{
    color: #D3D3D3;
    font-family: 'Tajawal', sans-serif!important;

 }


/* scrrol */

section {
    min-height: 100vh;

    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    position: relative;
    /*scroll-snap-align: start; */
    padding-top: 20px;
    padding-bottom: 20px;

  }



/* .page-container {
    display: flex;
    flex-direction: column;
    height: 100vh!important;
    scroll-snap-type: y mandatory; 
    overflow-y: scroll;
} */

 


.intro-wrapper, .whoarewe {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* section services */
.services{
    /* margin-top: 200px; */
    /* margin-bottom: 200px; */
    z-index: 1000!important;
}

.custom-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  height: 450px;
  overflow: hidden;
  transition: background 0.5s ease;
  cursor: pointer;
  background-color: #7D5BA6;
}

.custom-card h3 {
  z-index: 2;
  position: relative;
  margin-bottom: 30px;
}

.custom-card p, .contentlesec3 {
    z-index: 2;
    position: relative;
    display: block!important; /* يجعله عنصر كامل السطر */
    padding: 20px!important; /* مسافة داخلية حول النص */
    box-sizing: border-box!important; /* التأكد من أن padding و border يتم حسابهم ضمن حجم البوكس */
    width: fit-content!important; /* تأكد من أن العرض يتناسب مع محتوى النص */
    margin: 20px auto!important; /* لإعطاء هامش من الأعلى والأسفل وضبط النص في المنتصف */
    line-height: 1.6!important; /* زيادة المسافة بين الأسطر لتحسين وضوح النص */
    color: #D3D3D3;
    font-family: 'Tajawal', sans-serif!important;
font-size: 20px!important;
}

/* .bg-red {
  background-color: #7D5BA6;
}

.bg-green {
  background-color: #7D5BA6;
}

.bg-yellow {
  background-color: #7D5BA6;
} */

.custom-card .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

/* Hover effect */
.custom-card:hover .hover-img {
  opacity: 1;
  animation: zoomIn 0.8s ease forwards;
}
.custom-card .hover-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.519); /* طبقة سوداء شفافة */
  pointer-events: none;
  z-index: 2;
}

.custom-card:hover {
   
    .titlesec3{
        color: #D3D3D3;
        font-weight: bold;
        }
}

/* Optional animation */
@keyframes zoomIn {
  0% {
    transform: scale(1.05);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.titlesec3{
color: #2C2A4A;
font-weight: bold;
}



/* how we work section */

  
.howwework {
    /* display: flex; */
    justify-content: center!important;
    align-items: center!important;
    text-align: center!important;;
    /* height: 100vh!important; */
    /* margin-top: 100px; */
    z-index: 1000!important;
    position: relative;
}





.how-we-work {
    padding: 60px 0; 
    /* مسافة داخلية فوق وتحت السكشن */
    
    background-color: #f8f9fa; 
    /* لون خلفية السكشن */
    
    text-align: center; 
    /* جعل النصوص في المنتصف */
  }
  
  .how-we-work h2 {
    font-size: 32px; 
    /* حجم الخط للعنوان */
    
    margin-bottom: 40px; 
    /* مسافة تحت العنوان */
    
    color: #0f1724; 
    /* لون العنوان */
  }
  
  .steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* justify-content: center; */
    align-items: center!important;

    flex-direction: row!important; 
    /* gap: 10px; */
    align-items: center;
}


/* Ensure steps are responsive and take full width on smaller screens */
.step {
    width: 100%;  /* Take full width by default */
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* Ensure each step does not overflow in larger screens */
@media (min-width: 576px) {
    .step {
        width: 48%;  /* Two steps per row */
        margin-bottom: 20px;
    }
}

@media (max-width: 449px) {
    .step {
        width: 48%!important;  /* Three steps per row */
        margin-bottom: 20px;
    }
}

/* For larger screens, the steps can take up equal widths */
@media (min-width: 992px) {
    .step {
        width: 30%;  /* Three steps per row */
        margin-bottom: 20px;
    }
}

/* Style for the step number circle */
.step-number {
    display: inline-block;
    /* background-color: #f1f1f1; */
    /* border-radius: 50%; */
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: #008080!important;
}



  .step h3{
    color: #2C2A4A;
    font-weight: 500;

  }

  .step p{
    font-family: 'Tajawal', sans-serif!important;
    color: #4A4171;
    font-weight: 300;
  }
  
  .step {
    background: #D3D3D3; 

    
    padding: 20px; 

    
    border-radius: 12px; 

    width: 200px;
    height:300px;
    align-items: center;
  }
  
  .step:nth-child(2) {
    transition-delay: 200ms; /* ألوان متناوبة للوضوح */
  }
  .step:nth-child(3) {
    transition-delay: 400ms; /* ألوان متناوبة للوضوح */
  }
  .step:nth-child(4) {
    transition-delay: 600ms; /* ألوان متناوبة للوضوح */
  }
  .step-number {
    display: inline-block; 
    /* عرض inline لكن يمكن التحكم بالأبعاد */
    
    
    color: black; 
    /* لون الرقم داخل الدائرة */
    
    font-weight: bold; 
    /* جعل الرقم غامق */
    
    /* جعل الشكل دائري */
    
    display: flex; 
    /* استخدام flex لترتيب المحتوى */
    
    align-items: center; 
    /* محاذاة الرقم عموديًا في الوسط */
    
    justify-content: center; 
    /* محاذاة الرقم أفقيًا في الوسط */
    /* مسافة أسفل الدائرة */
  }
  
  /* .extra {
    height:3000px;
  }
   */
  .scroll-section {
    height: 500px;        
    /*overflow-y: auto;    */
    /* تفعيل التمرير العمودي */
    border: 1px solid #ccc; /* مجرد شكل */
    padding: 60px 0; 
    /* مسافة داخلية فوق وتحت السكشن */
    
    background-color: #160020; 
    position: relative;
    /* لون خلفية السكشن */
    
    text-align: center; 
    /* جعل النصوص في المنتصف */
  
  }
  
  .hidden{
    opacity: 0;
    transition: all 1.5s;
    filter: blur(5px);
    transform: translateY(100px);
  }
  
  .show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition: all 1.5s;
  }
  




/* //meet the teamsection */

.meettheteam {
    /* display: flex; */
    justify-content: center!important;
    align-items: center!important;
    /* height: 100vh!important; */
    /* margin-top: 500px; */
    /* margin-bottom: 300px; */
    z-index: 1000!important;
}

:root {
    --bg: #0f1115;
    --card: #151923;
    --text: #e7eaf3;
    --muted: #9aa3b2;
    --accent: #6aa3ff;
    --ring: 0 0 0 2px color-mix(in oklab, var(--accent) 35%, transparent);
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --radius: 18px;
    --speed: 260ms;
  }

  .wrap { max-width: 1100px; margin: 60px auto; padding: 0 20px; }
  /* header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
  h1 { font-size: clamp(24px, 3vw, 34px); margin: 0; font-weight: 700; letter-spacing: .3px; } */
  .grid { display: grid; gap: 150px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

  /* Card */
  .media-card {
    background: #FFFFFF;
    border: 1px solid #1f2633;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--speed) ease, box-shadow var(--speed) ease, border-color var(--speed) ease;
    cursor: pointer;
    position: relative;
    isolation: isolate;
    height: 450px;
  }
  .media-card:focus-visible { 
    outline: none; 
    box-shadow: var(--shadow), var(--ring); 
    
}
  .media-card:hover { 
    transform: translateY(-4px); 
    border-color: #273144; }

  .thumb {  aspect-ratio: 16/9; overflow: hidden; 
    justify-content: center!important; /* لتوسيط العنصر أفقيًا */
    align-items: center!important; /* لتوسيط العنصر عموديًا */
}

  .thumb img, .thumb video { 
    position: absolute;
     inset: 0; 
     width: 100%; 
     height: 100%!important; 
     object-fit:cover;
     background-color: #FFFFFF;
     /* object-position: center!important; */
     /* padding:40px ; */
     }

  .thumb img { filter: saturate(90%) contrast(1.02); transform: scale(1.02); 

}
  
  .thumb video { 
    opacity: 0; 
    transition: opacity var(--speed) ease;
    /* padding:40px ; */
 
 }

  .media-card:hover .thumb video { opacity: 1; }

  .content { padding: 14px 16px 16px; }
  .title { font-size: 18px; font-weight: 700; margin: 2px 0 6px; }
  .meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; }
  .dot { width: 4px; height: 4px; border-radius: 50%; background: #3a4356; }

  /* Modal */
  .modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(255, 255, 255, 0.55);
    z-index: 50;
    padding: 24px;
  }
  .modal.show { display: grid; animation: fadeIn var(--speed) ease; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  .dialog {
    width: min(980px, 100%);
    background: #ffffff;
     border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    overflow: hidden;
  }

  .dialog-grid { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 420px; }
  .dialog video { width: 100%; height: 100%; object-fit: cover; background: #ffffff; }

  .dialog-body { padding: 22px; display: flex; flex-direction: column; gap: 14px;  border-right: 3px solid #FFD700; justify-content: center; }
  .dialog h2 { margin: 0; font-size: 22px; color: #008080!important;   font-weight: 500; font-family: "Cairo", sans-serif!important; /* للعربي */}
  .dialog p { margin: 0; color: #4A4171; line-height: 1.5;     font-family: 'Tajawal', sans-serif!important;}
  .dialog .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
  .btn { appearance: none; border: none; border-radius: 14px; padding: 10px 14px; font-weight: 600; cursor: pointer; transition: transform var(--speed) ease, background var(--speed) ease, opacity var(--speed) ease; }
  .btn.primary { background: linear-gradient(180deg, #6aa3ff, #4b87ed); color: #0b0e14; }
  .btn.ghost { background: #1a2130; color: #c8d0e0; border: 1px solid #243049; }
  .btn:hover { transform: translateY(-1px); }

  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #121622;
    border: 1px solid #222a3a;
    cursor: pointer;
    transition: background var(--speed) ease;
  }
  .close:hover { background: #171d2b; }

  .close-icon {
    font-size: 20px;  /* حجم الخط */
    color: #ffffff;      /* اللون */
}

  @media (max-width: 860px) {
    .dialog-grid { grid-template-columns: 1fr; min-height: auto; }
    .dialog video { max-height: 40vh; }
  }

/* contactus */

.contactus {
    /* display: flex; */
    justify-content: center!important;
    align-items: center!important;
    /* text-align: center; */ 
    z-index: 1000!important;

    /* overflow-y: scroll; */


}
.contactusspace{
margin-top: 100px;
}

.social-icons {
    padding: 20px;
}

.social-icons a {
    font-size: 24px;
    margin: 0 3px;
    color: #000; /* تغيير اللون حسب رغبتك */
    text-decoration: none;
}

.social-icons a:hover {
    color: #007bff; /* اللون عند التحويم */
}

.contactus p {
font-size: 20px;
padding: 20px;
padding-top:  60px;

color: #D3D3D3;
}



.section2title2{
    color: #D3D3D3;
    font-weight: bold;
    font-size: 60px;
    margin:0px 20px;
    position: relative;
    display: inline-block; /* علشان يحتضن الكلمة */
    padding-bottom: 20px!important;

}

.section2title2 .tabs_line2 {
    position: absolute;
    bottom: -10px;  /* المسافة تحت الكلمة */
    left: 50%;
    transform: translateX(-50%);
    width: 40%; /* الطول بالنسبة للكلمة */
    height: 3px;
    background-color: #FFD700;
  

  }
.contentcontactus{
    align-items: center;
}
.logocontact img{
    width: 100%;
}
/* footer */
/* footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
 } */

 footer {
    position: relative;
    height: var(--footer-height);
    z-index: 10;
    color: #fff;
    text-align: center;
    /* padding: 2rem; */
    /* background: rgba(0,0,0,0.15); */
  }
