/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #0a0a23;
  color: white;
}

/* Landing Page Layout */
.landing-page {
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.left-section, .right-section {
  flex: 1;
  min-width: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-left: -7px;
}

/* Background Images */
.left-section::before, .right-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  /* filter: blur(8px); */
  z-index: 1;
}

.left-section::before {
  content: "";
  position: absolute; /* تأكد أن الصورة ستكون في الموضع الصحيح */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('Assets/img/left.png');
  background-size: cover; /* لجعل الصورة تغطي كامل القسم */
  background-position: center; /* لتوسيط الصورة داخل القسم */
  z-index: -1; /* لجعل الصورة في الخلفية */
}


.right-section::before {
  content: "";
  position: absolute; /* تأكد أن الصورة ستكون في الموضع الصحيح */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('Assets/img/right.png');
  background-size: cover; /* لجعل الصورة تغطي كامل القسم */
  background-position: center; /* لتوسيط الصورة داخل القسم */
  z-index: -1;


}

/* Content Styling */
.left-section .content, .right-section .content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  width: 72%;
}

.left-section h1, .right-section h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.left-section p, .right-section p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.cta-btn {
  background: linear-gradient( #69CFF9, #B430F3);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

.cta-btn:hover {
  background: linear-gradient(90deg, #B430F3, #69CFF9);
}

/* Logo Position */
.logo {
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 2;
}

.logo img {
  width: 158px;
}

/* Navbar Styling */
.navbar {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}
.right-section {
  width: 100%; /* تأكد أن القسم يمتد على كامل العرض */
  position: relative; /* لجعل العنصر يتحكم في العناصر الفرعية */
}

.navbar {
  width: 100%; /* شريط التنقل سيأخذ العرض الكامل */
  display: flex; /* لاستخدام ترتيب مرن للعناصر */
  justify-content: center; /* لتوزيع العناصر بالتساوي */
  align-items: center; /* محاذاة العناصر بشكل عمودي في المنتصف */
}

.navbar a {
  color: rgb(184, 182, 182);
  text-decoration: none;
  padding: 10px 0px;
  font-size: 23px;

}



.navbar a:hover {
  color: #fff;
font-weight: bold;
  font-weight: 700;
}

/* Navigation Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 20px;
  font-size: 1.5rem;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  cursor: pointer;
  z-index: 2;
  transition: 0.3s;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .landing-page {
    flex-direction: column;
  }

  .navbar {
    justify-content: center;
  }

  .arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .left-section h1, .right-section h1 {
    font-size: 26px;
  }

  .cta-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}






/* تنسيق شاشة التحميل */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
  color: white;
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#loading-screen h2 {
  margin-top: 20px;
  font-size: 24px;
}

#loading-screen .fa-rocket {
  animation: spin 2s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* إخفاء navbar على الشاشات الصغيرة */
@media (max-width: 768px) {
  .navbar {
    display: none; /* إخفاء شريط التنقل */
  }
}



@media (max-width: 768px) {
  .left-section::before, .right-section::before {
     filter: blur(8px); 

  }
}


@media (max-width: 768px) {
  .left-section .content, .right-section .content{
width: auto;

  }
}

/* زر مخصص على الجانب الأيمن */
/* زر مخصص على الجانب الأيمن */
.custom-floating-icon {
  position: fixed;
  right: 10px;  /* المسافة من الحافة اليمنى */
  top: 50%;    /* في منتصف الشاشة عموديًا */
  transform: translateY(-50%);  /* محاذاة كاملة مع منتصف الشاشة */
  z-index: 10000;  /* تأكيد على أن الزر في الواجهة */
  text-decoration: none;
}

/* أنماط الزر */
.custom-arrow-button {
  background-color: #0000;
  border: none;
  padding: 0px;
  cursor: pointer;
  width: 45px;
  height: 296px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('Assets/img/r-i-2.png');
  background-size: cover;
  background-position: center;
}

/* الأيقونة داخل الزر */
.custom-arrow-icon {
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  margin-right: 10px;
}

/* تأثير hover على الزر */
.custom-floating-icon:hover .custom-arrow-button {
  filter: brightness(1.2);
  transform: scale(1.1);
  transition: all 0.3s ease;
}




/* تنسيق شاشة التحميل */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
  color: white;
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#loading-screen h2 {
  margin-top: 20px;
  font-size: 24px;
}

#loading-screen .fa-rocket {
  animation: spin 2s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}





/* إخفاء الزر والصورة على الشاشات الصغيرة */
@media (max-width: 768px) {
  .custom-floating-icon {
    display: none; /* إخفاء الزر تمامًا على الشاشات الصغيرة */
  }
}

/* إظهار الزر والصورة على الشاشات الكبيرة */
@media (min-width: 769px) {
  .custom-floating-icon {
    display: block; /* إظهار الزر على الشاشات الأكبر من 768px */
  }
}


/* زر مخصص على الجانب الأيسر */
.custom-floating-icon-left {
  position: fixed;
  left: 10px;  /* المسافة من الحافة اليسرى */
  top: 50%;    /* في منتصف الشاشة عموديًا */
  transform: translateY(-50%);  /* محاذاة كاملة مع منتصف الشاشة */
  z-index: 10000;  /* تأكيد على أن الزر في الواجهة */
  text-decoration: none;
}

/* أنماط الزر */
.custom-arrow-button-left {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 45px;
  height: 296px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('Assets/img/r-i.png'); /* تعيين الخلفية */
  background-size: cover;  /* لتغطية الزر بالصورة بشكل مناسب */
  background-position: center;  /* لتوسيط الصورة داخل الزر */
  margin-left: -8px;
}

/* الأيقونة داخل الزر */
.custom-arrow-icon-left {
  width: auto;  /* عرض الصورة داخل الزر */
  height: auto;  /* ارتفاع الصورة داخل الزر */
  display: block;
  object-fit: contain; /* تأكد من أن الصورة لا تتشوه وتبقى ضمن الحدود */
}

/* إخفاء الزر والصورة على الشاشات الصغيرة */
@media (max-width: 768px) {
  .custom-floating-icon-left {
    display: none; /* إخفاء الزر تمامًا على الشاشات الصغيرة */
  }
}

/* إظهار الزر والصورة على الشاشات الكبيرة */
@media (min-width: 769px) {
  .custom-floating-icon-left {
    display: block; /* إظهار الزر على الشاشات الأكبر من 768px */
  }
}
