@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Noto Kufi Arabic", sans-serif;
  }

  body{
    background-color: #222831;
    
  }
  
header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin: 2rem auto;
   padding: 1rem;
   max-width: 1200px;
   /* اضافة مني مش من التوتوريال  للشعار */
    img {
        height: 40px;   /* ارتفاع مناسب للشعار */
        width: auto;    /* يحافظ على التناسب */
        object-fit: contain; /* يمنع التشويه */}
.navigation ul {
    display: flex;
    flex-direction: row;  /* صف أفقي */
    direction: rtl;       /* يضبط الاتجاه من اليمين لليسار */
    justify-content: flex-start; /* يبدأ من اليمين */
    list-style-type: none;
    gap: 2rem;
}
   /*شؤيط اللي فوق لونه */

.navigation a {
    text-decoration: none;
    color: #eeeeee;
  }
.navigation a:hover {
  color: #00adb5;
}
}
hr{
    opacity: 10%;
   
}

.hero {
  display: flex;
  flex-direction: row-reverse;
  align-items: center; 
  margin: 3rem ;
  padding: 1rem auto;
  gap: 60px;                   /* مسافة بين الصورة والنصوص */
  max-width: 1200px;
}
.Frontimage {
  max-width: 40%;   /* الصورة تأخذ 40% من عرض السكشن */
  height: auto;     /* يحافظ على التناسب */
}

/* النصوص + شعارات المتاجر */
.heroSub {
  flex: 1;
  display: flex;
  text-align: right;      /* محاذاة النصوص لليمين */
  flex-direction: column; /* النصوص فوق بعض */
  gap: 16px;
}

.heroSub .name {
  font-size: 4rem;
  margin: 0;
  color: #00adb5;
}

.heroSub .title {
  font-size: 1.2rem;
  margin: 0;
  color: #eeeeee;
}

/* شعارات المتاجر */
.heroBtns {
  justify-content: center;
  display: flex;
  gap: 20px;         /* مسافة بين الشعارات */
  margin-top: 20px;
}

.ValueProp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5rem auto;
  max-width: 1200px;
  gap: 10rem;
}
.ValuePropimage{
    max-width: 40%;   /* الصورة تأخذ 40% من عرض السكشن */
  height: auto; 
}
.textContainer {
  display: flex;
  flex-direction: column;
}
.textTitle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 2rem;
  color: #eeeeee;
}
.whyPar {
   text-align: justify;
  color: rgba(238, 238, 238, 0.75);

}

.aboutName {
  color: #eeeeee;}
  
.features-section {
  text-align: center; /* يخلي كل المحتوى داخل القسم في النص */

  background-image: url(Assets/hjk10.svg);
   display: grid;
  place-items: center;     /* يوسّط كل المحتوى أفقيًا وعموديًا */
  min-height: 70vh;       /* يخلي السكشن ياخذ طول الشاشة */
  text-align: center;      /* يوسّط النصوص داخل السكشن */
  padding: 40px 20px;      /* يضيف مساحة داخلية */
  box-sizing: border-box; 
}

.section-title{

  display: flex;
  justify-content: center;
  text-align: center; 
  align-items: center;
  gap: 5px;
  font-size: 4rem;
   margin: auto;
   margin-bottom: 50px;
  color: #eeeeee;
  padding: 100px 20px;
}


.features-container {

  display: grid;
  
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-columns: repeat(3, 1fr); /* 3 عناصر في كل صف */
  gap: 30px; /* المسافة بين العناصر */
  gap: 20px;
  max-width: 1200px;
margin: auto;
  width: 90%;
  margin-bottom: 100px;
}

.feature-box {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: #e0f7fa;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: #00796b;
}

.feature-text {
  font-size: 18px;
  color: #333333;
}

.contactContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
}
.contactTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
  font-size: 2rem;
}
.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5rem;
  gap: 20rem;
}
.contact h3,
.contact a {
  color: #eeeeee;
  text-decoration: none;
}
.emailAndPhone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.socialMedia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.socialMedia a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background-color: rgba(57, 62, 70, 0.5);
  backdrop-filter: blur(4px);
  padding: 1rem;
}
.socialMedia img {
  width: 24px;
  height: 24px;
}
footer {
  color: #eeeeee;
  padding: 4rem;
  text-align: center;
  font-size: 22px; /* حجم أكبر من المعتاد */

}
@media (max-width: 1023px) {
  header {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .hero {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .heroImg {
    width: 400px;
  }
  .name,
  .title {
    font-size: 2rem;
  }
  .arrow {
    display: none;
  }
  .aboutMe {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
  }
  .textContainer {
    align-items: center;
    margin: 0rem 5rem;
    gap: 1rem;
  }
  .aboutName,
  .aboutTitle {
    font-size: 2rem;
  }
  .light {
    width: 60px;
  }
  .aboutMeImg {
    width: 400px;
  }
  .works {
    padding: 0;
  }
  .worksContainer {
    padding: 5rem 0rem;
    gap: 3rem;
  }
  .projectTitle {
    margin-left: 1rem;
  }
  .works ul {
    flex-direction: column;
    gap: 1rem;
  }
  .contactContainer {
    margin: 10rem 5rem;
    gap: 2rem;
  }
  .contact {
    flex-direction: column;
    gap: 1rem;
    margin-right: 0;
  }
}