@import url('https://fonts.googleapis.com/css2?family=Katibeh&family=Readex+Pro&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Zain", sans-serif;
    font-weight: 700;
    font-style: normal;
    background-color: #161616;
    justify-content: center;
    align-items: center;
}


/* إخفاء المحتوى الأول */
#content {
  text-align: center;
  margin-top: 50px;
}

.header {
    background-color: #0f0f0f;
    color: white;
    padding: 7px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    top: 0;
}
.logo {
    margin-right: 40px;
    height: 25px; /* ارتفاع الصورة */
}

.nav {
    display: flex;
    gap: 40px;
}
.nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-style: bold;
}
.menu-icon {
    color: rgba(255, 255, 255, 0.527);
    display: none;
    font-size: 24px;
    cursor: pointer;
    animation: move 2s ;
}

@media (max-width: 834px) {
    .nav {
        display: none;
        flex-direction: column;
        background-color: #000000;
        position: absolute;
        top: 40px; /* علشان نبعد القائمة عن الهدر */
        right: 0;
        width: 100%;
        padding: 20px;
        text-align: right; /* علشان نركز النص في شاشة الهاتف */
   height: 100vh;
    }
  
    .nav.active {
        display: flex;
    }
    .menu-icon {
        display: block;
    }
}
/* التعديل الجديد علشان الكلام يظهر في نص الشاشة */
@media (min-width: 834px) {
    .header {
        justify-content: center; /* علشان نركز العناصر في المنتصف */
    }
    .nav {
        margin-right: 20px; /* علشان نبعد القائمة عن اللوجو */
    }
}
.header2 {
    background-color: rgba(36, 36, 36, 0.4);
    backdrop-filter: blur(5px);
    color: white;
    padding: 7px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    position: sticky;
    top: 0;
    z-index: 1000; /* لضمان ظهوره فوق المحتوى */
    transition: margin-top 0.3s ease-in-out; /* تأثير ناعم عند تغيير المسافة */
    .nav.active + .header2 {
        margin-top: 100vh; /* يجعل الهيدر الثاني يظهر بعد القائمة */
    }
    
}
.header2-nav button {
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #1f53ff;
    color: white;
    border: none;
    padding: 5px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    margin-left: 40px;
    margin-right: 50px;
}
.header2-nav a {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.Social {
    text-decoration: none;
    color: white;
    font-size: 20px;
}
@media (max-width: 834px) {
    .header2-nav button {
        font-size: 12px;
        padding: 5px 12px;
        margin-left: 20px;
        margin-right: 0px;
    }

    .header2-nav a {
        font-size: 15px;
    }

    .Social {
        font-size: 16px;
    }
}
a{
  color: #1f53ff;
}
p {
    margin-top: 1%;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
}

.header + p {
  margin-top: 40px; /* Adjust this value as needed */
}

@media (max-width: 800px) {
  p {
      margin: 20px;
      margin-top: 5%;
      font-size: 14px;
  }
}



.contenar1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000000ee;
}
.contenar1 h1 {
    background: linear-gradient(to right, #007dc5, #ff0000); /* تدرج لوني */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 50px;
    margin-top: 20px;  
    margin-bottom: 10px;
    text-align: center;
    opacity: 0.3;
    transform: translateY(20px);
    animation: fadeInUp 2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.contenar1 p {
    color: #ffffff;
    font-size: 25px;
    text-align: center;
    color: #ffffff;
}

.contenar1 img {
    width: 70%;
    height: auto;

    transform: scale(0.8);
    transition: box-shadow 2s; /* تأثير ناعم عند تغيير الظل */
    animation: fadeIn 2s forwards, scaleUp 2s 2s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

.contenar1 button{
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #1f53ff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

.contenar1 h3 {

    background: linear-gradient(to right,#00a2ff,#8a0dff,#ff521d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 25px;
    margin-top: 20px;
   margin-bottom: 30px;
    text-align: center;
    
}
@media (max-width: 834px) {
    .contenar1 h1 {
        font-size: 30px;
        margin-bottom: 5px;
    }
    .contenar1 p {
        font-size: 18px;
    }
    .contenar1 button {
        font-size: 16px;
        padding: 8px 16px;
        margin-top: 10px;
    }
    .contenar1 h2 {
        font-size: 15px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .contenar1 h3 {
        font-size: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .contenar1 img {
        width: 100%;
    }
}

.contenar1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000ee;
}
.img-contenar2{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.img-contenar2 img{
    width: 20%;
    height: auto;

}
.text-contenar2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}
.nav-1 {
    display: flex;
    flex-direction: column; /* تعديل الاتجاه ليكون عموديًا للهواتف */
    justify-content: center;
    align-items: center;
    background-color: #000000;
    padding: 20px 15px; /* تقليل الحواف لتناسب الهواتف */
}

.nav-1 video {
    width: 90%; /* جعل الفيديو يأخذ عرض الشاشة تقريبًا */
    max-width: 800px;
    border-radius: 16px;
    display: block;
    margin: auto;
    background: black;
}

.text-1-nav-1 {
    flex-direction: column;
    text-align: center; /* توسيط النص */
}

.text-1-nav-1 h1 {
    font-size: 35px; /* تصغير حجم النص للهواتف */
    color: #ffffff;
    margin-top: 10px; /* إضافة مسافة أعلى النص */
}
.span-p-text-1-nav-1{
    background: linear-gradient(to right,#00a2ff,#8a0dff,#ff521d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (min-width: 834px) {
    .nav-1 {
        flex-direction: row; /* العودة للوضع الأفقي للشاشات الأكبر */
        justify-content: space-between;
        padding: 20px 30px;
    }

    .nav-1 h1 {
        font-size: 50px; /* إعادة حجم النص للشاشات الأكبر */
    }

    .nav-1 video {
        width: 30%; /* إعادة عرض الفيديو للشاشات الأكبر */
    }
}


.footer {
    padding: 50px;
        background: #1c1c1c;
        color: #fff;
        padding: 20px;
        text-align: right;
        direction: rtl;
    }
    .footer-top {
        padding-right: 95px;
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    .footer-top img{
        width: 40px;
    }
    .footer-container {
        padding-left: 50px;
        padding-right: 100px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .footer-column {
        width: 22%;
    }
    .footer-column h4 {
        cursor: pointer;
        margin-bottom: 10px;
        transition: color 0.3s ease;
    }
    .footer-column h4:hover {
        color: #d4d4d4;
    }
    .footer-list {
        list-style: none;
        padding: 0;
        display: block;
        transition: max-height 0.3s ease-out;
    }
    .footer-column ul li a {
        font-size: 18px;
        color: #ccc;
        text-decoration: none;
    }
    .footer-column ul li a:hover {
        text-decoration: underline;
        color: #fff;
    }
    .footer-bottom {
        text-align: center;
        margin-top: 60px;
        border-top: 1px solid #ccc;
        padding-top: 10px;
        font-size: 14px;
        color: #666;
    }

    .footer-bottom a {
        margin: 0 10px;
        text-decoration: none;
        color: #ffffff;
    }

    .footer-bottom a:hover {
        text-decoration: underline;
        color: #ffffff;
    }

    .footer-bottom .country {
        color: #ccc;
        margin-right: 300px;
    }

    .footer-bottom span {
        color: #cecece;
    }

    @media (max-width: 768px) {
        .footer-bottom .country {
            font-size: 12px;
            display: block;
            margin: 10px 0 0 0;
        }
    }
    @media (max-width: 768px) {
        .footer-top{
            padding-right: 0px;
            padding-top: 10px;
        }
        .footer-container {
            padding: 10px;
            flex-direction: column;
        }
        .footer-top img{
        width: 30px;
    }
        .footer-column {
            width: 100%;
        }
        .footer-list {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        .footer-column h4::after {
            content: " ▼";
            float: left;
            transition: transform 0.3s ease;
        }
        .footer-column.open h4::after {
            content: " ▲";
        }
        .footer-column.open .footer-list {
            max-height: 500px; /* Adjust as needed */
        }
    }