/* Reset & Base Styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Aref Ruqaa', serif;
}

body, html {
  height: 100%;
  margin: 0;
  direction: rtl;
}

/* Navigation Styles (ابق كما هو) */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5%;
  background-color: #2c3e50;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  direction: rtl;
}

nav.scrolled {
  background-color: rgba(44, 62, 80, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 10px 5%;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 1;
  justify-content: flex-start;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  font-family: 'Arial', 'Helvetica', sans-serif;
  color: #ecf0f1;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: #3498db;
  color: white;
}

/* Phone Number */
.ast-builder-html-element {
  flex: 1;
  text-align: center;
}

.ast-builder-html-element h2 {
  font-size: 28px;
  color: #00ccff;
  margin: 0;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: inline-block;
}

.ast-builder-html-element h2:hover {
  background-color: #bdc3c7;
  color: #2c3e50;
}

/* Logo */
nav img {
  flex: 1;
  text-align: end;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}
/* تحسين قسم الخدمات */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  background-image: url('image/fffff.webp');
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
  min-height: 100vh;
}

.service {
  width: calc(50% - 40px);
  margin: 20px;
  padding: 30px;
  border-radius: 10px;
  background-color: rgba(245, 245, 245, 0.95); /* زيادة الشفافية */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 1 !important; /* إجبار الظهور */
  transform: none !important; /* إزالة أي تحويلات */
  transition: all 0.3s ease;
}

/* إزالة أي تأثيرات للظهور التدريجي */
.service, .service * {
  animation: none !important;
}

.service h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #2c3e50;
  font-family: 'Aref Ruqaa', serif;
  text-align: center;
}

.service p {
  font-size: 16px;
  color: #333;
  text-align: center;
  line-height: 1.6;
}

/* Footer */
.footer {
  position: relative;
  width: 100%;
  background-color: #2c3e50;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 30px 30px 0 0;
  margin-top: 50px;
}

.social-icon, .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.social-icon__item, .menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 5px;
  display: inline-block;
  transition: all 0.3s ease;
}

.social-icon__link:hover {
  transform: translateY(-10px);
  color: #3498db;
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: all 0.3s ease;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
  padding: 5px 10px;
}

.menu__link:hover {
  opacity: 1;
  color: #3498db;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

.elementor-link {
  text-align: center;
  text-decoration: none;
  color: aliceblue;
  font-size: 18px;
  font-weight: bold;
  background-color: #3498db;
  padding: 12px 24px;
  border: 2px solid #3498db;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: inline-block;
}

.elementor-link:hover {
  background-color: darkgreen;
  border-color: darkgreen;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media screen and (min-width: 250px) and (max-width: 768px) {
  nav {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 10px 5%;
      flex-wrap: nowrap;
  }
  
  nav ul {
      order: 3;
      width: auto;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      margin: 0;
      padding: 0;
      flex: 1;
  }
  
  nav ul li {
      margin: 0 5px;
      display: inline-block;
  }
  
  nav ul li a {
      font-size: 14px;
      padding: 8px 10px;
  }
  
  .ast-builder-html-element {
      order: 2;
      width: auto;
      flex: none;
      margin: 0 10px;
  }
  
  .ast-builder-html-element h2 {
      font-size: 18px;
      padding: 8px 12px;
  }
  
  nav img {
      order: 1;
      width: auto;
      flex: none;
      margin: 0;
      max-height: 60px;
  }
  
  .service {
      width: calc(100% - 20px);
      margin: 10px auto;
  }
  
  .footer {
      padding: 20px 10px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .service {
      width: calc(50% - 30px);
  }
}
/* ===== SERVICES & ABOUT PAGE ADDITIONS ===== */
.sayed { min-height: 80px; height: auto; background-image: none; }

.services-hero {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  text-align: center;
  padding: 60px 20px 40px;
}
.services-hero h1 {
  font-family: 'Aref Ruqaa', serif;
  font-size: clamp(2em, 5vw, 3.5em);
  margin-bottom: 20px;
}
.services-intro {
  max-width: 750px;
  margin: 0 auto;
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: 1.1em;
  line-height: 1.8;
  opacity: 0.9;
}
.service-icon { font-size: 2.5em; margin-bottom: 15px; }
.service h2 { font-size: 1.5em; color: #2c3e50; margin-bottom: 12px; }
.service p { font-family: 'Arial','Helvetica',sans-serif; font-size: 1em; color: #555; line-height: 1.8; }
.highlight-service { background: linear-gradient(135deg,#ebf5fb,#d6eaf8); border-left: 5px solid #3498db; }
.service-cta {
  display: inline-block;
  margin-top: 15px;
  background: #3498db;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.service-cta:hover { background: #2980b9; }
