/* Import Arabic Fonts */
/* Import Arabic Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/* Root Variables - Ãƒâ„¢Ã¢â‚¬Â¦ÃƒËœÃ‚ÂªÃƒËœÃ‚ÂºÃƒâ„¢Ã…Â ÃƒËœÃ‚Â±ÃƒËœÃ‚Â§ÃƒËœÃ‚Âª ÃƒËœÃ‚Â¹ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Â¦ÃƒËœÃ‚Â© Ãƒâ„¢Ã¢â‚¬Å¾Ãƒâ„¢Ã¢â‚¬Å¾Ãƒâ„¢Ã¢â‚¬Â¦Ãƒâ„¢Ã‹â€ Ãƒâ„¢Ã¢â‚¬Å¡ÃƒËœÃ‚Â¹ */
:root {
  --primary-color: #a833fa;
  --secondary-color: rgb(242, 243, 247);
  --background-gradient: linear-gradient(135deg, #1e1e1e, #333);
  --card-background: rgba(30, 30, 30, 0.9);
  --card-hover-background: rgba(45, 45, 45, 0.9);
  --text-color: rgb(0, 0, 0);
  --text-secondary: #ccc;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --transition-speed: 0.4s;
  --glow-effect: 0 0 15px var(--primary-color);
  --light-gray: #f8f9fa;
  --swiper-navigation-color: #c41dbd;
  --primary-rgb: 255, 72, 0;
  --transition: all 0.3s ease;
  --accent-color: #ff6b6b;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --text-primary: #fafafa;
  --background: #ffffff;
  --light-text: #f0e7e7ef;
  --gradient-1: linear-gradient(135deg, #a833fa 0%, #4a90e2 100%);
  --color-button: linear-gradient(97.52deg, #a833fa 11.82%, #5366e3 55.83%);
  --text-white:#ffffff;
  /* Fonts */
  --font-primary: 'Cairo', sans-serif;
  --font-secondary: 'Tajawal', sans-serif;

  /* Ãƒâ„¢Ã¢â‚¬Â¦ÃƒËœÃ‚ÂªÃƒËœÃ‚ÂºÃƒâ„¢Ã…Â ÃƒËœÃ‚Â±ÃƒËœÃ‚Â§ÃƒËœÃ‚Âª ÃƒËœÃ‚Â¥ÃƒËœÃ‚Â¶ÃƒËœÃ‚Â§Ãƒâ„¢Ã‚ÂÃƒâ„¢Ã…Â ÃƒËœÃ‚Â© Ãƒâ„¢Ã¢â‚¬Å¾Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚ÂªÃƒËœÃ‚Â¨ÃƒËœÃ‚Â§ÃƒËœÃ‚Â¹ÃƒËœÃ‚Â¯ Ãƒâ„¢Ã‹â€ Ãƒâ„¢Ã¢â‚¬Â ÃƒËœÃ‚ÂµÃƒâ„¢Ã‚Â ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾Ãƒâ„¢Ã¢â‚¬Å¡ÃƒËœÃ‚Â·ÃƒËœÃ‚Â± (Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â¬Ãƒâ„¢Ã¢â‚¬Â¦Ãƒâ„¢Ã…Â ÃƒËœÃ‚Â¹ ÃƒËœÃ‚Â£Ãƒâ„¢Ã¢â‚¬Å¡ÃƒËœÃ‚Â³ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Â¦ ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾Ãƒâ„¢Ã¢â‚¬Â¦Ãƒâ„¢Ã‹â€ Ãƒâ„¢Ã¢â‚¬Å¡ÃƒËœÃ‚Â¹) */
  --border-radius: 16px;
  --section-padding-y: clamp(1rem, 8vh, 1.5rem);
  --item-gap: clamp(1.5rem, 4vw, 3rem);
  --content-padding: clamp(1.5rem, 4vw, 2.5rem);
}


/* Reset & Global Settings */
*, *::before, *::after {
  box-sizing: border-box;
  text-transform: none;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  color: var(--text-color);
  direction: rtl;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* ØªØ·Ø¨ÙŠÙ‚ Ø§Ù„Ø®Ø·ÙˆØ· Ø§Ù„Ø¬Ø¯ÙŠØ¯Ø© Ø¹Ø¨Ø± Ø§Ù„Ø¹Ù†Ø§ØµØ± */
body, input, textarea, select, button {
  font-family: var(--font-primary) !important;
}
h1, h2, h3, h4, h5, h6, .nav-link, .btn, .mega-menu-item h3 {
  font-family: var(--font-secondary) !important;
}
h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem;
  }
  
  h2 {
    font-size: clamp(1.3rem, 3.8vw, 2.2rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.9rem;
  }
  
  h3 {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem) !important;
    line-height: 1.4 !important;
    margin-bottom: 0.8rem;
  }
  
  h4 {
    font-size: clamp(1.1rem, 3.2vw, 1.8rem) !important;
    line-height: 1.5 !important;
    margin-bottom: 0.75rem;
  }
  
  h5 {
    font-size: clamp(1rem, 2.8vw, 1.5rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 0.7rem;
  }
  
  h6 {
    font-size: clamp(0.9rem, 2.5vw, 1rem) !important;
    line-height: 1.7 !important;
    margin-bottom: 0.65rem;
  }
  
  a {  
    text-decoration: none; /* ÙŠØ²ÙŠÙ„ Ø§Ù„Ø®Ø· ØªØ­Øª Ø§Ù„Ø±Ø§Ø¨Ø· */  
}  

/* Container â€“ Responsive */
.container {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  @media (min-width: 640px) {
    .container {
      max-width: 640px;
    }
  }
  
  @media (min-width: 768px) {
    .container {
      max-width: 768px;
    }
  }
  
  @media (min-width: 1024px) {
    .container {
      max-width: 1024px;
    }
  }
  
  @media (min-width: 1280px) {
    .container {
      max-width: 1280px;
    }
  }
  
  @media (min-width: 1536px) {
    .container {
      max-width: 1536px;
    }
  }
  

/* Responsive Navbar & Toggle Button */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  margin-right: 1rem;
  background: transparent;
  transition: all 0.3s ease;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.hamburger-icon {
  width: 30px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}
/* Hamburger Animation */
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:first-child {
  transform: translateY(9px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

/* Enhanced Mobile Menu */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 80vh;
    overflow-y: auto;
    /* Smooth Scrolling */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
  }
  .navbar-collapse::-webkit-scrollbar { width: 4px; }
  .navbar-collapse::-webkit-scrollbar-track { background: transparent; }
  .navbar-collapse::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 20px;
  }
  .mega-menu-item {
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: var(--border-radius);
    background: rgba(var(--primary-rgb), 0.03);
  }
  .mega-menu-item h3 {
    font-size: 0.9rem;
  }
  .mega-menu-item h3 i {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  .navbar-right {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1rem;
  }
}

/* Cross-Browser Compatibility for backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .navbar-glass, .dropdown-menu, .navbar-collapse {
    background: rgba(255, 255, 255, 0.98) !important;
  }
}

/* Better Touch Experience & Reduced Motion */
@media (hover: none) {
  .mega-menu-item { cursor: default; }
  .mega-menu-item:active { transform: scale(0.98); }
}
@media (prefers-reduced-motion: reduce) {
  .mega-menu-item, .hamburger-icon span, .ripple {
    transition: none !important;
    animation: none !important;
  }
}

/* RTL Support */
[dir="rtl"] .mega-menu-item:hover { transform: translateX(5px); }
[dir="rtl"] .hamburger-icon { margin-right: 0; }

/* Dropdown Menu â€“ ØªÙ… Ø¯Ù…Ø¬ Ø§Ù„ØªØ¹Ø±ÙŠÙØ§Øª */
.dropdown-menu {
  min-width: 250px;
  padding: 0.5rem;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: #0d0f39e0;
  backdrop-filter: blur(10px);
  animation: gradientBG 5s ease infinite;
}
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mega Menu Item */
.mega-menu-item {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.mega-menu-item::before {
  /* Ø¥Ø°Ø§ Ø£Ø±Ø¯Øª ØªÙØ¹ÙŠÙ„ Ø§Ù„Ù…Ø­ØªÙˆÙ‰ ÙŠÙ…ÙƒÙ†Ùƒ Ø¥Ø²Ø§Ù„Ø© Ø§Ù„ØªØ¹Ù„ÙŠÙ‚ */
  /* content: ''; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0));
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.mega-menu-item:hover::before { transform: translateX(0); }
.mega-menu-item:hover { transform: translateX(-5px); }
.mega-menu-item a {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  margin: 0;
}
.mega-menu-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse 2s infinite;
}
.mega-menu-item:hover h3 i {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary-color);
  color: white;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.2); }
  70% { box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

/* Dropdown Divider */
.dropdown-divider {
  margin: 0.25rem 0;
  opacity: 0.1;
  background: linear-gradient(to right, transparent, rgba(var(--primary-rgb), 0.2), transparent);
}

/* Animation */
@keyframes slideIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate.slideIn { animation: slideIn 0.3s ease forwards; }

/* Mobile Specific Styles for Dropdown & Mega Menu */
@media (max-width: 991.98px) {
  .dropdown-menu {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
  .mega-menu-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
  }
  .mega-menu-item:hover { transform: none; }
  .dropdown-divider { display: none; }
}

/* Nav Wrapper */
.nav-wrapper {
  max-width: 1440px;
  padding: 0 2rem;
}

/* Brand/Logo Styles */
.brand-container {
  position: relative;
  display: flex;
  align-items: center;
}
.logo {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}
.brand-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: brandPulse 2s infinite;
}
@keyframes brandPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* Navigation Items */
.nav-icon {
  font-size: 1.2rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: rgb(242, 243, 247);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s ease;
}
.nav-link:hover::before,
.nav-link.active::before { transform: translateX(0); }
.nav-link:hover .nav-icon { transform: translateY(-2px); }

/* Mega Dropdown & Menu */
.mega-dropdown { position: static; }
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
}
.mega-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Service & Featured Project Styles */
.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-icon i { color: white; font-size: 1.5rem; }
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
.service-link {
  color: var(--primary-color);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}
.service-link:hover { gap: 1rem; }
.mega-menu-feature {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: var(--border-radius);
  padding: 2rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-content { text-align: center; }
.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Navbar Right Section */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-search-btn {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.nav-search-btn:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}
.search-content {
  width: 100%;
  max-width: 600px;
  padding: 2rem;
}
.search-form { position: relative; }
.search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.2rem;
}
.search-submit {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}
.close-search {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Button Effects */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}
@keyframes shine {
  0% { left: -50%; }
  100% { left: 150%; }
}
.btn-glow { animation: glow 2s infinite; }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(var(--primary-rgb), 0.5); }
  50% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.8); }
}

/* Mobile Specific Styles */
@media (max-width: 991.98px) {
  .nav-wrapper { padding: 0 1rem; }
  .mega-menu {
    position: static;
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .mega-menu-grid { grid-template-columns: 1fr; }
  .mega-menu-feature { display: none; }
  .navbar-right {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1rem;
  }
  .nav-buttons { display: flex; gap: 0.5rem; }
}

/* Section Headers */
.section-header { margin-bottom: 3rem; text-align: center; }
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  position: relative;
}
/* .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 1rem auto;
} */
.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* Navbar Styles */
.navbar {
  padding: 1rem 0;
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
  color: white;
}
.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
}
.navbar-brand { display: flex; align-items: center; padding: 0; }
.logo {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}
.navbar.scrolled .logo { height: 35px; }
.navbar-toggler {
  padding: 0.5rem;
  border: none;
  background: transparent;
  transition: all 0.3s ease;
}
.navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  background-image: none;
  position: relative;
  transition: all 0.3s ease;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  left: 0;
  transition: all 0.3s ease;
}
.navbar-toggler-icon::before { top: 0; transform-origin: center; }
.navbar-toggler-icon::after { bottom: 0; transform-origin: center; }
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}
.navbar-nav { margin-right: 2rem; }
.nav-item { position: relative; margin: 0 0.5rem; }
.nav-link {
  color: rgb(242, 243, 247) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 80%;
}
.nav-link:hover, .nav-link.active { color: #ffffff !important; }
.navbar .btn {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.navbar .btn-primary {
  background: linear-gradient(45deg, var(--primary-color), #ff6b00);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 72, 0, 0.2);
}
.navbar .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 72, 0, 0.3);
}
.navbar .btn-outline-primary {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  margin-right: 1rem;
}
.navbar .btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #101156;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 1rem;
  }
  .nav-item { margin: 0.5rem 0; }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  .navbar .btn {
    margin: 0.5rem 0;
    display: block;
    text-align: center;
  }
  .navbar .btn-outline-primary { margin-right: 0; }
}
.navbar .nav-link.has-indicator {
  position: relative;
}
.navbar .nav-link.has-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(38, 198, 218, 0.05) 0%, rgba(103, 58, 183, 0.05) 100%);
}
.floating-shapes div {
  position: absolute;
  background: linear-gradient(135deg, rgba(38, 198, 218, 0.1) 0%, rgba(103, 58, 183, 0.1) 100%);
  border-radius: 50%;
  filter: blur(20px);
}

/* Hero Content */
.hero-features {
  display: flex;
  gap: 5px;
  margin-bottom: 2rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-item i {
  color: var(--primary-color);
  font-size: 16px;
}
.feature-item span {
  color: #2d3436;
  font-weight: 500;
}

/* Footer */
.footer {
  color: #ffffff;
  padding: 40px 0 0;
  position: relative;
  overflow: hidden;
}



.footer-about p,
.footer-links a {
  color: #ffffff;
}



@media (min-width: 468px) {
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}
.footer-about { margin-bottom: 30px; }
.footer-logo { height: 50px; margin-bottom: 20px; }
.footer h4 {
  color: #ffffff;
  font-size: 1rem !important;
  font-weight: 600;
  margin-bottom: 0px;
  position: relative;
  padding-bottom: 10px;
}
/* .footer h4::after { ... } */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 2px; }
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  padding-right: 0px;
}
.footer-links a:hover {
  transform: translateX(-5px);
}
.footer-links a::before {
  content: '\f054';
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  opacity: 0;
  transition: all 0.3s ease;
}
.footer-links a:hover::before { opacity: 1; }
.footer-bottom {
  padding: 8px 0;
  border-top: 1px solid rgb(255, 255, 255);
}
.copyright { margin: 0; color: #ffffff; }
.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}
.footer-bottom-links a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-bottom-links a:hover { color: var(--swiper-navigation-color); }
.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}
.social-icon {
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.107);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;

  transition: all 0.3s ease;
}
.social-icon:hover {
  background: var(--primary-color);
  color: #fff !important;
  transform: translateY(-3px);
}
@media (max-width: 991px) {
  .footer { padding-top: 60px; }
  .footer-about, .footer h4 { margin-bottom: 20px; }
  .footer-bottom-links { justify-content: center; }
  .copyright { text-align: center; }
}
@media (max-width: 576px) {
  .footer { padding-top: 40px; }
  .footer-bottom { margin-top: 15px; text-align: center; }
  .footer-bottom-links {
    align-items: center;
    gap: 10px;
  }
}
@media (max-width: 991px) {
  .footer {
    padding-top: 60px;
  }
  .footer-about {
    margin-bottom: 40px;
    text-align: center;
  }
  .footer-about p {
    max-width: 600px;
    margin: 0 auto;
  }
  .footer h4 {
    margin-bottom: 20px;
    text-align: right;
  }
  .footer .row { display: flex; }
  .footer .col-lg-4 {
    order: 1;
  }
  .footer .col-lg-2, .footer .col-lg-3 {
    order: 2;
    width: 50%;
    margin-bottom: 15px;
    padding: 0 15px;
  }
  .footer-links { text-align: right; }
  .footer .col-lg-3:last-child {
    width: 100%;
    order: 3;
  }
}
@media (max-width: 576px) {
    
  .footer {
    padding-top: 40px;
  }

  .footer .col-lg-2 {
    padding: 0 15px 0 0 !important;
  }

  .footer .col-lg-3{
    padding: 0 !important;
  }
  .footer-about p {
    font-size: 14px;
    line-height: 1.6;
  }
  .footer-logo { height: 40px; margin-bottom: 15px; }
  .footer h4 {font-size: 1rem;margin-bottom: 2px;}
  .footer-bottom { margin-top: 40px; text-align: center; }
  .footer-bottom-links {
    align-items: center;
    gap: 10px;
  }
}

/* Back-to-Top Button */
.back-to-top.active {
  opacity: 1;
  visibility: visible;
  bottom: 25px;
}
.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: white;
}
.back-to-top i { font-size: 20px; }

/* Testimonials Section Styles */
/* Projects Section */





:root {
    /* ... (نفس المتغيرات للألوان، الخطوط، الظلال، إلخ من المثال السابق) ... */

    --border-color-subtle: #E5E7EB;
    --border-color-medium: #D1D5DB;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;
    --border-radius-xl: 16px;
    --border-radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-base: all 0.3s ease-in-out;
}


/* Enhanced About Us Section Styles */
/* --- قسم "من نحن" المعزز --- */
.about-us {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-light); /* خلفية فاتحة ونظيفة */
    padding: clamp(3rem, 8vh, 6rem) 0; /* زيادة الحشوة الرأسية */
}

.about-us .container {
    max-width: 1200px; /* عرض قياسي للحاوية */
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

.about-us-grid {
    display: grid;
    grid-template-columns: 1fr; /* عمود واحد افتراضيًا */
    gap: clamp(2rem, 5vw, 4rem); /* فجوة مرنة */
    align-items: center;
}

/* تخطيط عمودين للشاشات الأكبر */
@media (min-width: 768px) { /* استخدام نقطة توقف أكبر (lg) */
    .about-us-grid {
        grid-template-columns: repeat(2, 1fr); /* عمودين متساويين */
        gap: clamp(1rem, 6vw, 3rem); /* زيادة الفجوة للشاشات الكبيرة */
    }
    /* تبديل ترتيب الصورة والمحتوى اختياريًا */
    .about-content {
        order: 1; /* المحتوى أولاً (يمين في RTL) */
    }
    .about-image-container {
        order: 2; /* الصورة ثانيًا (يسار في RTL) */
    }
}

.about-content {
    position: relative;
    z-index: 1;
    text-align: right; /* محاذاة النص لليمين */
}

/* --- شارة التعريف --- */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* فجوة بين الأيقونة والنص */
    padding: clamp(0.4rem, 1vw + 0.2rem, 0.6rem) clamp(0.8rem, 2vw + 0.4rem, 1.2rem);
    margin-bottom: clamp(0.8rem, 2vh, 1.2rem); /* هامش سفلي مرن */
    background-color: rgba(var(--primary-rgb, 99, 102, 241), 0.1); /* استخدام RGB من المتغير الأساسي */
    border-radius: var(--border-radius-full); /* حواف دائرية بالكامل */
    /* إزالة ::before و animation shine لمظهر أنظف */
}

.about-badge span {
    font-size: clamp(0.8rem, 1.5vw + 0.5rem, 0.9rem);
    color: var(--primary); /* لون النص الأساسي */
    font-weight: 600; /* وزن أثقل قليلاً */
}

.about-badge i {
    font-size: 1em; /* حجم الأيقونة بنفس حجم الخط */
    color: var(--primary);
    /* إزالة margin-left (أو margin-right لـ LTR) لأن gap يعالج الفجوة */
}

/* --- عنوان القسم --- */
.about-title {
    font-size: clamp(1.8rem, 5vw + 0.5rem, 2.8rem); /* حجم خط مرن وكبير */
    font-weight: 700; /* أو 800 */
    line-height: 1.3; /* تحسين تباعد الأسطر */
    margin-bottom: clamp(1rem, 3vh, 1.5rem); /* هامش سفلي مرن */
    color: var(--text-primary);
    /* إزالة التأثير المعقد على span::after */
}

/* تمييز جزء من العنوان (اختياري وبسيط) */
.about-title .highlight {
    color: var(--primary);
    /* يمكن إضافة تأثير سفلي بسيط جدًا إذا رغبت */
    /* border-bottom: 3px solid var(--primary-light); */
    /* padding-bottom: 2px; */
}

/* --- وصف القسم --- */
.about-description {
    font-size: clamp(0.95rem, 2vw + 0.5rem, 1.1rem); /* حجم خط مقروء ومرن */
    line-height: 1.7; /* زيادة تباعد الأسطر للقراءة المريحة */
    color: var(--text-secondary);
    margin-bottom: clamp(1.5rem, 4vh, 2rem); /* هامش سفلي قبل أي عناصر تالية */
    max-width: 65ch; /* تحديد عرض أقصى لأسطر النص لتحسين القراءة */
}

/* --- حاوية الصورة --- */
.about-image-container {
    position: relative;
    
}

.about-image-container {  
    position: relative;  
    width: 100%; /* العرض يتغير حسب التصميم */  
    height: 400px; /* الارتفاع ثابت، يمكنك تعديله حسب الحاجة */  
    overflow: hidden; /* التأكد من إخفاء أي أجزاء زائدة من الصورة */  
}  
.about-image-wrapper {
    position: relative;
    width: 100%;

    width: 100%; /* العرض يتغير حسب التصميم */  
    height: 400px; /* الارتفاع ثابت، يمكنك تعديله حسب الحاجة */  
    
    /* padding-top يتم حسابه في HTML بناءً على أبعاد الصورة */
    border-radius: var(--border-radius-xl); /* زيادة نصف القطر للمسة عصرية */
    overflow: hidden; /* ضروري لإخفاء أي تجاوز للصورة عند التحجيم */
    box-shadow: var(--shadow-lg); /* ظل بارز وعصري */
    transition: var(--transition-base); /* انتقال للظل عند المرور */
}

.about-image-wrapper:hover {
     box-shadow: 0 20px 30px -10px rgba(var(--primary-rgb, 99, 102, 241), 0.25); /* تغيير لون الظل للون الأساسي */
     transform: translateY(-5px); /* رفع طفيف */
}

.about-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* أو contain حسب الحاجة - cover يملأ المساحة */
    transition: transform 0.4s ease-out; /* انتقال منفصل للتحجيم */
    border-radius: inherit; /* تأخذ نفس نصف قطر الحاوية */
}

/* تحجيم الصورة عند المرور على الحاوية */
.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}
  






/* --- تعديلات الاستجابة الإضافية --- */
@media (max-width: 991px) {
    .about-content {
        text-align: right; /* توسيط المحتوى في الشاشات الأصغر */
        max-width: 700px; /* تحديد عرض أقصى للمحتوى */
        margin-left: auto;
        margin-right: auto;
    }
    .about-description {
        max-width: none; /* إزالة تحديد العرض الأقصى للوصف عند التوسيط */
    }

    .about-badge {
        /* يمكن توسيط الشارة أيضًا إذا كان النص مركزيًا */
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) { /* نقطة توقف أصغر (sm) */
    .about-title {
        font-size: clamp(1.6rem, 6vw + 0.5rem, 2rem); /* تصغير العنوان أكثر */
    }
    .about-description {
        font-size: clamp(0.9rem, 2.5vw + 0.5rem, 1rem); /* تصغير الوصف */
    }
    .about-badge {
        padding: clamp(0.3rem, 1vw + 0.1rem, 0.5rem) clamp(0.6rem, 2vw + 0.3rem, 1rem);
        margin-bottom: 0.8rem;
    }
    .about-us-grid {
        gap: 1.5rem; /* تقليل الفجوة أكثر */
    }
}










  .experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
  }
  
  .experience-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgb(234 17 17 / 10%), transparent);
    animation: shine 3s infinite;
    z-index: 1;
  }
  
  .experience-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg,
        var(--primary-color),
        var(--secondary-color));
        /*
    -webkit-background-clip: text;
    */
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
  }
  
  .experience-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 2;
  }
  
  .floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
  }
  
  .shape {
    position: absolute;
    background: linear-gradient(135deg,
        rgba(var(--primary-color-rgb), 0.1),
        rgba(var(--secondary-color-rgb), 0.1));
    border-radius: 50%;
    animation: float 20s infinite;
  }
  
  .shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
  }
  
  .shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
  }
  
  .shape:nth-child(3) {
    width: 70px;
    height: 70px;
    bottom: 20%;
    left: 15%;
    animation-delay: -10s;
  }
  
  @keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
  }
  
 
  
  
  
  
  
  .floating-shapes .shape {  
  background-color: color-mix(in srgb, var(--color-white) 50%, transparent);  
  }
  
  
   /* ðŸŒ€ Ø§Ù„Ø­Ø§ÙˆÙŠØ© Ø§Ù„Ø£Ø³Ø§Ø³ÙŠØ© */
   .about-video-container {
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
    position: relative;
  }
  
  /* ðŸŽ¨ ØªØ£Ø«ÙŠØ± Ø§Ù„Ù†ÙŠÙˆÙ† ÙˆØ§Ù„Ø¥Ø·Ø§Ø± */
  .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Ù†Ø³Ø¨Ø© 16:9 */
    border-radius: 25px;
    overflow: visible; /* âœ… Ø§Ù„Ø³Ù…Ø§Ø­ Ù„Ù„Ø³ÙŠØ§Ø±Ø© Ø¨Ø§Ù„Ø¸Ù‡ÙˆØ± Ø®Ø§Ø±Ø¬ Ø§Ù„Ø¥Ø·Ø§Ø± */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 50px rgba(150, 0, 250, 0.5);
    border: 10px solid transparent;
    background: linear-gradient(45deg, #ff00ff, #6600ff);
    background-clip: padding-box;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    animation: glowingEffect 6s infinite alternate;
    z-index: 1; /* âœ… Ø¬Ø¹Ù„Ù‡ ÙÙŠ Ù…Ø³ØªÙˆÙ‰ Ø£Ø¯Ù†Ù‰ Ù…Ù† Ø§Ù„Ø³ÙŠØ§Ø±Ø© */
  }
  
  /* ðŸ’¡ ØªØ£Ø«ÙŠØ± Ø§Ù„Ù†ÙŠÙˆÙ† */
  @keyframes glowingEffect {
    0% { box-shadow: 0 0 20px rgba(150, 0, 250, 0.7); }
    100% { box-shadow: 0 0 40px rgba(150, 0, 250, 1); }
  }
  
  /* ðŸŽ¥ Ø¶Ø¨Ø· Ø§Ù„ÙÙŠØ¯ÙŠÙˆ */
  .video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .responsive-video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    position: relative;
    z-index: 1; /* âœ… ØªØ£ÙƒÙŠØ¯ Ø£Ù† Ø§Ù„ÙÙŠØ¯ÙŠÙˆ Ø®Ù„Ù Ø§Ù„Ø³ÙŠØ§Ø±Ø© */
  }
  
  /* ðŸš— Ø¥Ø¹Ø¯Ø§Ø¯ Ø§Ù„Ø³ÙŠØ§Ø±Ø© Ù„ØªØ¸Ù‡Ø± ÙÙˆÙ‚ Ø§Ù„Ø¥Ø·Ø§Ø± */
  .car-container {
    position: absolute;
    width: 70px; /* âœ… Ø¶Ø¨Ø· Ø­Ø¬Ù… Ø§Ù„Ø³ÙŠØ§Ø±Ø© */
    height: 40px;
    top: -30px; /* âœ… Ø¬Ø¹Ù„Ù‡Ø§ Ù…Ù„Ø§ØµÙ‚Ø© Ù„Ù„Ø¥Ø·Ø§Ø± */
    left: -30px;
    animation: followFrame 6s linear infinite;
    z-index: 1000; /* âœ… ØªØ£ÙƒØ¯ Ù…Ù† Ø£Ù† Ø§Ù„Ø³ÙŠØ§Ø±Ø© ØªØ¸Ù‡Ø± ÙÙˆÙ‚ ÙƒÙ„ Ø´ÙŠØ¡ */
  }
  
  /* ðŸš— ØµÙˆØ±Ø© Ø§Ù„Ø³ÙŠØ§Ø±Ø© */
  .car {
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease-in-out;
  }
  
  /* ðŸ”¥ Ø­Ø±ÙƒØ© Ø§Ù„Ø³ÙŠØ§Ø±Ø© Ø­ÙˆÙ„ Ø§Ù„Ø¥Ø·Ø§Ø± Ø§Ù„Ø®Ø§Ø±Ø¬ÙŠ */
  @keyframes followFrame {
    0%   { top: -30px; left: -30px; }
    24%  { top: -30px; left: 100%; }
    25%  { transform: rotate(90deg); } /* ØªØ¯ÙˆØ± Ø¹Ù†Ø¯ Ø§Ù„Ø²Ø§ÙˆÙŠØ© */
    49%  { top: 100%; left: 100%; }
    50%  { transform: rotate(180deg); } /* ØªØ¯ÙˆØ± Ø¹Ù†Ø¯ Ø§Ù„Ø²Ø§ÙˆÙŠØ© */
    74%  { top: 100%; left: -30px; }
    75%  { transform: rotate(270deg); } /* ØªØ¯ÙˆØ± Ø¹Ù†Ø¯ Ø§Ù„Ø²Ø§ÙˆÙŠØ© */
    99%  { top: -30px; left: -30px; }
    100% { transform: rotate(360deg); } /* ØªØ¯ÙˆØ± Ø¹Ù†Ø¯ Ø§Ù„Ø²Ø§ÙˆÙŠØ© ÙˆØªØ¹ÙˆØ¯ Ù„Ù„ÙˆØ¶Ø¹ Ø§Ù„Ø·Ø¨ÙŠØ¹ÙŠ */
  }





  






/* --- services --- */
