/* إزالة أي فراغات زائدة في الهيدر */
header {
    background: #2e2e2e;
    color: #fff;
    padding: 1.5rem 0; 
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%; /* ضمان أن الهيدر يغطي العرض بالكامل */
    left: 0;
  }
  
  /* إصلاح الحاوية الداخلية ومنع الفراغات */
  header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    padding: 0 20px; /* ضبط المسافات الداخلية */
    margin: 0 auto; /* منع أي فراغات جانبية */
  }
  
  /* إزالة أي margin أو padding زائدة من البودي */
  body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* منع التمدد الأفقي الزائد */
  }
  .wrapper {
    min-height: 100vh; /* يخلي الصفحة تاخذ ارتفاع كامل */
    display: flex;
    flex-direction: column;
  }
  
  /* الشعار */
  .logo {
    height: 85px;
    width: auto;
    margin-left: 0; /* دفعه إلى أقصى اليسار */
    display: block;
  }
  
  /* قائمة التنقل */
  nav {
    margin-left: auto; /* دفع القائمة إلى أقصى اليمين */
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 2rem; /* مسافة بين الروابط */
    margin: 0;
    padding: 0;
  }
  
  nav ul li {
    margin: 0;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem; /* تكبير خط الروابط */
    transition: color 0.3s;
  }
  
  nav ul li a:hover {
    color: #007bff;
  }
  /* =========================
     HERO SECTION
  ========================= */
  .hero {
    background: url("hero.jpg") center/cover no-repeat;
    color: #fff;
    padding: 8rem 0; /* جعل الـHero ينزل أكثر */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    filter: none;
  }
  
  .hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
  }
  
  /* زر عام */
  .btn {
    background: #ff9800;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    font-weight: 600;
    margin: 0 auto; /* لتوسيط الزر */
  }
  
  .btn:hover {
    background: #e68a00;
  }
  
  /* =========================
     SERVICES SECTION
  ========================= */
  .services {
    padding: 3rem 0;
    text-align: center;
  }
  
  .services h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
  }
  
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .service-card {
    background: #fff;
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .service-card h3 {
    margin-bottom: 1rem;
    color: #555;
  }
  
  .service-card p {
    color: #666;
    line-height: 1.5;
  }
  
  /* =========================
     ABOUT SECTION
  ========================= */
  .about {
    padding: 3rem 0;
    text-align: center;
  }
  
  .about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
  }
  
  .about p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    color: #555;
  }
  
  .about img {
    max-width: 100%;
    height: auto;
    margin-top: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  /* =========================
     CONTACT SECTION
  ========================= */
  .contact {
    padding: 3rem 0;
    text-align: center;
  }
 
  .contact h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
  }
  
  .contact p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
    color: #555;
  }
  
  .contact-info p {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
  }
  
  /* =========================
     FOOTER
  ========================= */
  
  footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 5rem 0;
    width: 100%;
    
  }
  .footer{
    position: relative;
    bottom: -200px;
  }
 
  footer p {
    font-size: 0.9rem;
    color: #bbb;
  }
  /* =========================
   HERO SECTION
========================= */
.hero {
  background: url("اسم-الصورة.jpg") center/cover no-repeat fixed; /* خلفية ثابتة */
  height: 100vh; /* يغطي الشاشة بالكامل */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 2rem;
}

/* تغطية داكنة خفيفة فوق الخلفية */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* زودت الغموقية شوي */
}

/* النص داخل الخلفية */
.overlay {
  position: relative;
  color: #f1f1f1; /* لون أفتح للوضوح */
  z-index: 2;
  max-width: 600px;
  text-align: center;
}

/* العنوان */
.overlay h2 {
  font-size: 3rem; /* شوي أكبر */
  margin-bottom: 1rem;
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* ظل خفيف */
}

/* النص */
.overlay p {
  font-size: 1.4rem; /* تكبير النص */
  margin-bottom: 2rem;
  line-height: 1.8;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5); /* ظل خفيف */
}

/* زر */
.btn {
  background: #1e90ff; /* لون الشعار */
  color: #fff;
  padding:0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
  font-weight: bold;
  font-size: 1rem;
}

.btn:hover {
  background: #1565c0; /* لون أزرق أغمق شوي */
  transform: scale(1.05);
}

/* =========================
   تثبيت الهيدر
========================= */
header {
  position: fixed; /* تثبيت الهيدر */
  top: 0;
  left: 0;
  width: 100%;
  background: #2e2e2e; /* نفس لون الهيدر */
  color: #fff;
  padding: 1.5rem 0;
  z-index: 1000;
}
/* جعل الخلفية تشمل كل الصفحة */
body {
  background: url("اسم-الصورة.jpg") no-repeat center center fixed;
  background-size: cover; /* تغطية كاملة */
  color: #fff; /* لون النص حتى يكون واضح */
}

/* إزالة أي خلفيات بيضاء للأقسام */
section {
  background: transparent; /* يخلي كل الأقسام شفافة */
}
/* إذا النص مو واضح، زيد التباين */
.services {
  text-align: center;
  padding: 20px;
}
.services h1 {
  font-size: 32px;
  font-weight: bold;
  color:#007BFF;
  margin-bottom: 20px;
}
.service-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.service-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  width: 30%; /* يضمن أن جميع الصناديق بنفس العرض */
  min-height: 480px; /* يضمن أن جميع الصناديق بنفس الطول */
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4 8px rgba(0, 0, 0, 0.1);
}

.service-box img {
  width: 100%;
  height: 200px; /* توحيد حجم الصور */
  object-fit: cover;
  border-radius: 10px;
}

.service-box h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #007BFF;
}

.service-box p {
  flex-grow: 1; /* يجعل النص يتمدد بالتساوي */
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.service-box a {
  display: inline-block;
  text-decoration: none;
  background-color: #007BFF;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: auto; /* يجعل الأزرار بنفس المستوى */
  border:2px solid #0056b3 ;
  transition: 0.3s;
}
.service-box a:hover {
background-color: #007BFF;
}

.about-us-box {
    width: 80%;
    margin: auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #007BFF;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.about-us-box h2 {
    color: #007BFF;
}

.about-us-box p {
    font-size: 16px;
    color: #333;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}
.contact-us-box {
  width: 80%;
  margin: 20px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 5px solid #007BFF;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-us-box h2 {
  color: #007BFF;
}

.contact-us-box p {
  font-size: 16px;
  color: #333;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
footer {
  width: 100%;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: auto;
}
.footer {
    background-color: #0B0D17;
    color: white;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-left {
    text-align: left;
}

.footer-left img.footer-logo {
    width: 150px;
    margin-bottom: 10px;
}
.footer-left p img{
  width: 20px;
  height: auto;
  display: inline-block;
}

.footer-left p {
    font-size: 14px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-left p img {
    width: 16px;
}

.footer-center {
    text-align: center;
    flex: 1;
}

.footer-center h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-center ul {
    list-style: none;
    padding: 0;
}

.footer-center ul li {
    margin-bottom: 8px;
}

.footer-center ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-center ul li a:hover {
    color: #007BFF;
}

.footer-center a img {
    width: 16px;
    margin-right: 5px;
}
.fas{
  color:white;
  margin-left: 8px;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* يضبط العناصر بمحاذاة الشعار */
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icons i {
  color: white; /* لون الأيقونات */
  font-size: 18px;
}

.linkedin-link {
  position: relative;
  top: -5px; /* رفع اللينكد إن */
}
footer a {
  color: white !important; /* اللون الأساسي أبيض */
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

footer a:hover,
footer a:focus {
  color: #007BFF !important; /* لما تمرر أو تضغط يتحول للأزرق */
}
/* تنسيق العناوين في الفوتر */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #0D0D0D; /* لون الفوتر */
  color: white;
}

.footer-section {
  flex: 1;
  text-align: center;
}

.footer-section h3 {
  font-size: 18px;
  color: white;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 5px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #0056b3; /* يتحول للأزرق عند التمرير عليه */
}

/* تنسيق صفحة About Us */
.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background-color: #f4f4f4;
  padding: 40px;
}

.about-box {
  background: white;
  padding: 30px;
  width: 60%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.about-title {
  color: #0056b3; /* لون الأزرق مثل الشعار */
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.about-box p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}
/* ======= الخدمات ======= */
.services {
  padding: 100px 20px; /* زودت الـ margin حتى تنزل شويه بالنص */
  text-align: center;
}

.service-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px; /* لتوسيط المربعات بالنص */
}

.service-box {
  width: 320px;
  text-align: center;
  padding: 20px;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.service-box img {
  width: 100%;
  height: 190px;
  border-radius: 5px;
}

.service-box h3 {
  color: #007BFF;
  margin: 15px 0;
}

.service-box p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

/* ===== تفعيل الـ View Details عند النقر ===== */
.service-box a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.service-box a:hover, .service-box a:focus {
  background: #0056b3;
  transform: scale(1.1);
}
.view-details.active {
  background: #0056b3 !important;
  transform: scale(1.1);
}
/* تصميم قسم الخدمات */
.services {
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f9fa; /* لون خلفية فاتح */
}

.services h1 {
  font-size: 28px;
  font-weight: bold;
  color: #007BFF;
  margin-bottom: 30px;
}

/* تصميم الحاوية الخاصة بالخدمات */
.service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

/* تصميم كل مربع خدمة */
.service-box {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  width: 350px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

/* الصور داخل الخدمات */
.service-box img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

/* عنوان كل خدمة */
.service-box h3 {
  color: #007BFF;
  font-size: 20px;
  margin: 15px 0;
}

/* نص كل خدمة */
.service-box p {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

/* زر View Details */
.service-box a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.service-box a:hover {
  background-color: #0056b3;
}

/* نزّل المربعات شويه بالنص */
.service-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Contact Page Styling */
.contact {
  text-align: center;
  padding: 50px 20px;
}

.contact h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
}

/* Contact Info Section */
.contact-info {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  max-width: 500px;
  margin: 0 auto 20px;
}

.contact-info p {
  font-size: 16px;
  margin: 8px 0;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-info i {
  color: #2f70c5;
  font-size: 20px;
  margin-right: 10px;
}

/* Contact Form */
.contact-container {
  max-width: 500px;
  margin: 0 auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact form {
  display: flex;
  flex-direction: column;
}

.input-box {
  margin-bottom: 15px;
  position: relative;
}

.input-box label {
  display: block;
  font-size: 14px;
  color: #444;
  margin-bottom: 5px;
  text-align: left;
}

.input-box input, 
.input-box textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 2px solid #2f70c5;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: #333;
}

.input-box input::placeholder,
.input-box textarea::placeholder {
  color: #aaa;
  font-size: 14px;
}

.input-box textarea {
  height: 80px;
  resize: none;
}

.btn {
  background-color: #2f70c5;
  color: white;
  font-size: 16px;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.btn:hover {
  background-color: #1e50a2;
}

.linkedin-link {
  font-size: 24px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.linkedin-link:hover {
  color: #0077b5; /* لون LinkedIn */
}

