/* ====== RESET ====== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }






/* =========================================
   RTL MODE WHEN LANGUAGE = AR
   ========================================= */

/* GENERAL RTL */
/* body.ar-active {
    direction: rtl;
    text-align: right;
} */
/* ABOUT DETAIL فقط ينعكس اتجاهه لما تكون اللغة عربية */

/* ====== FIX PROCESS TITLE RTL ISSUE ====== */
body.ar-active .process-section .process-title {
    text-align: center !important;
    direction: ltr !important; /* يبقي كلمة PROCESS مرتبة */
}

body.ar-active .process-section .process-title span {
    direction: ltr;
}
/* ====== FIX SERVICES TITLE & SUBTITLE RTL ====== */
body.ar-active .services-section .services-title,
body.ar-active .services-section .services-desc {
    text-align: center !important;
    direction: ltr !important; 
}

body.ar-active .services-section .services-title span {
    direction: ltr !important;
}
/* عندما تكون اللغة عربية + صفحة التفاصيل مفتوحة */
/* عندما تكون اللغة عربية: غيّر اتجاه نص صفحة التفاصيل فقط */
body.ar-active #about-detail-page .detail-content p,
body.ar-active #about-detail-page p {
    direction: rtl !important;
    text-align: right !important;
}

/* العنوان يبقى في الوسط حتى بالعربي */
body.ar-active #about-detail-page h2 {
    text-align: center !important;
    direction: ltr !important;
}

/* SERVICES RTL عند اللغة العربية */
/* body.ar-active .services-section {
    direction: rtl;
    text-align: right;
} */

body.ar-active .services-grid {
    direction: rtl;
}

/* نصوص داخل كروت الخدمات */
body.ar-active .service-card h3,
body.ar-active .service-card .card-text {
    text-align: right;
}

/* صفحات تفاصيل الخدمات RTL */
body.ar-active .service-detail-page {
    direction: rtl;
    text-align: right;
}

body.ar-active .service-detail-text p,
body.ar-active .service-features li {
    text-align: right;
}

/* PROCESS SECTION RTL */
body.ar-active .process-section {
    direction: rtl;
    text-align: right;
}

body.ar-active .process-box h3,
body.ar-active .process-box p {
    text-align: right;
}

/* SECTION: ABOUT — النص فقط يتحول */
body.ar-active .about-left p,
body.ar-active .detail-content p {
    text-align: right;
    direction: rtl;
}

/* READ MORE PAGE — RTL */
body.ar-active .about-detail-page p {
    text-align: right;
    direction: rtl;
}

/* SERVICES SECTION RTL */
body.ar-active .services-section {
    direction: rtl;
    text-align: right;
}

body.ar-active .services-grid {
    direction: rtl;
}

/* PROCESS SECTION RTL */
body.ar-active .process-section {
    direction: rtl;
    text-align: right;
}

body.ar-active .process-container {
    direction: rtl;
}












    body {
      background: #fff;
      color: #333;
      overflow-x: hidden;
    }

    /* ====== HEADER ====== */
   /* ===== HEADER ===== */
/* ====== HEADER - MOBILE FIXED ====== */
#header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  min-height: 70px; /* ارتفاع ثابت للهيدر */
}

#header.scrolled {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  min-height: 60px; /* ارتفاع أقل عند التمرير */
}

/* Logo - أصغر في الجوال */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-container .logo {
  height: 50px; /* أصغر في الجوال */
  display: flex;
  align-items: center;
}

.logo-container .logo img {
  height: 100%;
  width: auto;
  max-width: 80px; /* أصغر في الجوال */
  object-fit: contain;
}

/* إخفاء اسم الشركة في الجوال */
.company-name {
  display: flex;
  flex-direction: column;
}

.company-name .main {
  font-size: 12px;
  font-weight: 700;
  color: #433b97;
  line-height: 1.2;
}

.company-name .sub {
  font-size: 10px;
  color: #433b97;
  font-weight: 500;
}

/* زر القائمة أصغر */
#mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 4px;
}

#mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #433b97;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* القائمة المنسدلة - تصميم مضغوط */
#main-nav.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-height: 70vh; /* ارتفاع محدود */
  overflow-y: auto; /* إمكانية التمرير إذا كانت طويلة */
}

#main-nav ul {
  flex-direction: column;
  gap: 0;
  padding: 10px;
  margin: 0;
}

#main-nav ul li {
  padding: 10px 15px;
  border-bottom: 1px solid #f0f0f0;
}

#main-nav ul li:last-child {
  border-bottom: none;
}

#main-nav ul li a {
  padding: 8px 0;
  font-size: 14px;
}

/* زر اللغة أصغر */
.lang-btn {
  padding: 8px 16px;
  min-width: 70px;
  font-size: 12px;
}

/* ===== RESPONSIVE DESIGN - IMPROVED ===== */
@media (max-width: 1200px) {
  #header {
    padding: 12px 30px;
  }
}

@media (max-width: 992px) {
  #header {
    padding: 10px 20px;
  }
  
  .company-name .main {
    font-size: 11px;
  }
  
  .company-name .sub {
    font-size: 9px;
  }
}

@media (max-width: 768px) {
  #header {
    padding: 8px 15px;
    min-height: 60px; /* أصغر في الجوال */
    flex-wrap: nowrap; /* منع التفاف العناصر */
  }
  
  .logo-container {
    flex: 0 0 auto; /* لا يتمدد */
  }
  
  .logo-container .logo {
    height: 45px;
  }
  
  .logo-container .logo img {
    max-width: 70px;
  }
  
  /* إخفاء اسم الشركة في الجوال */
  .company-name {
    display: none;
  }
  
  #mobile-menu-btn {
    display: flex;
    flex: 0 0 auto; /* لا يتمدد */
  }
  
  #main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    display: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-height: 65vh; /* ارتفاع محدود */
    overflow-y: auto; /* إمكانية التمرير */
  }
  
  #main-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  #main-nav ul {
    padding: 8px;
  }
  
  #main-nav ul li {
    padding: 8px 12px;
  }
  
  #main-nav ul li a {
    font-size: 14px;
    padding: 6px 0;
  }
  
  .language-switcher {
    margin: 10px 0 0 0;
    width: 100%;
  }
  
  .lang-btn {
    width: 100%;
    margin: 5px 0;
  }
}

@media (max-width: 480px) {
  #header {
    padding: 6px 10px;
    min-height: 55px; /* أصغر في الشاشات الصغيرة */
  }
  
  .logo-container .logo {
    height: 40px;
  }
  
  .logo-container .logo img {
    max-width: 60px;
  }
  
  #mobile-menu-btn {
    width: 30px;
    height: 30px;
  }
  
  #mobile-menu-btn span {
    width: 18px;
    height: 2px;
  }
  
  #main-nav ul {
    padding: 5px;
  }
  
  #main-nav ul li {
    padding: 6px 10px;
  }
  
  #main-nav ul li a {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  #header {
    padding: 5px 8px;
    min-height: 50px;
  }
  
  .logo-container .logo {
    height: 35px;
  }
  
  .logo-container .logo img {
    max-width: 50px;
  }
}

/* تقليل المساحة العلوية للمحتوى */
body {
  padding-top: 70px; /* أقل من السابق */
}

@media (max-width: 768px) {
  body {
    padding-top: 60px; /* أقل في الجوال */
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 55px; /* أقل في الشاشات الصغيرة */
  }
}
/* ====== LAPTOP FIXES (992px - 1200px) ====== */
@media (min-width: 769px) and (max-width: 1200px) {
  #header {
    padding: 12px 30px;
    min-height: 75px;
  }

  .logo-container .logo {
    height: 65px;
  }

  .logo-container .logo img {
    max-width: 100px;
  }

  .company-name .main {
    font-size: 13px;
  }

  .company-name .sub {
    font-size: 11px;
  }

  #main-nav ul {
    gap: 20px; /* تقليل المسافة بين عناصر القائمة */
  }

  #main-nav ul li a {
    font-size: 13px;
    padding: 8px 5px;
  }

  .lang-btn {
    padding: 8px 18px;
    min-width: 80px;
    font-size: 13px;
  }

  /* إظهار اسم الشركة في اللابتوب */
  .company-name {
    display: flex;
  }
}

/* ====== DESKTOP (1201px and above) ====== */
@media (min-width: 1201px) {
  #header {
    padding: 15px 60px;
    min-height: 80px;
  }

  .logo-container .logo {
    height: 70px;
  }

  .logo-container .logo img {
    max-width: 50px;
  }

  .company-name .main {
    font-size: 14px;
  }

  .company-name .sub {
    font-size: 12px;
  }

  #main-nav ul {
    gap: 30px;
  }

  #main-nav ul li a {
    font-size: 14px;
    padding: 8px 0;
  }

  .lang-btn {
    padding: 10px 22px;
    min-width: 90px;
    font-size: 14px;
  }

  /* إخفاء زر القائمة في الديسكتوب */
  #mobile-menu-btn {
    display: none;
  }

  /* إظهار القائمة العادية في الديسكتوب */
  #main-nav {
    display: flex !important;
    position: static;
    background: transparent;
    box-shadow: none;
    max-height: none;
    overflow-y: visible;
  }

  #main-nav ul {
    flex-direction: row;
    padding: 0;
  }

  #main-nav ul li {
    border-bottom: none;
    padding: 0;
  }

  .language-switcher {
    margin: 0 0 0 5px;
    width: auto;
  }

  .lang-btn {
    width: auto;
    margin: 0;
  }
}

/* ====== TABLET (769px - 991px) ====== */
@media (min-width: 769px) and (max-width: 991px) {
  #header {
    padding: 10px 20px;
    min-height: 70px;
    flex-wrap: nowrap;
  }

  .logo-container {
    flex: 0 0 auto;
  }

  .logo-container .logo {
    height: 55px;
  }

  .logo-container .logo img {
    max-width: 90px;
  }

  .company-name {
    display: none; /* إخفاء اسم الشركة في التابلت */
  }

  #main-nav ul {
    gap: 15px;
  }

  #main-nav ul li a {
    font-size: 12px;
    padding: 8px 3px;
  }

  .lang-btn {
    padding: 7px 15px;
    min-width: 75px;
    font-size: 12px;
  }
}

/* ====== MOBILE (768px and below) ====== */
@media (max-width: 768px) {
  #header {
    padding: 8px 15px;
    min-height: 60px;
  }

  .logo-container .logo {
    height: 45px;
  }

  .logo-container .logo img {
    max-width: 70px;
  }

  .company-name {
    display: none; /* تأكيد إخفاء اسم الشركة في الموبايل */
  }

  #mobile-menu-btn {
    display: flex;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-height: 65vh;
    overflow-y: auto;
  }

  #main-nav.active {
    display: block;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px;
  }

  #main-nav ul li {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
  }

  #main-nav ul li:last-child {
    border-bottom: none;
  }

  .language-switcher {
    margin: 10px 0 0 0;
    width: 100%;
  }

  .lang-btn {
    width: 100%;
    margin: 5px 0;
  }
}

/* ====== BODY PADDING FOR ALL SCREENS ====== */
body {
  padding-top: 80px; /* للديسكتوب */
}

@media (max-width: 1200px) {
  body {
    padding-top: 75px; /* لللابتوب */
  }
}

@media (max-width: 991px) {
  body {
    padding-top: 70px; /* للتابلت */
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px; /* للموبايل */
  }
}

   /* ====== HERO SECTION - UPDATED ====== */
.hero {
  width: 100%;
  height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
}

/* حاوية النصوص */
.hero-texts {
  position: relative;
  width: 55%;
  min-height: 100px;
  margin: 20px auto;
}

.hero-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.35s ease;
  pointer-events: none;
}

.hero-text.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* إضافة طبقة تدرج لوني فوق الصور */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(214, 61, 46, 0.2), rgba(138, 42, 140, 0.2));
  z-index: -1;
}

.hero h1 {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease 0.2s forwards; /* كان 1s و0.5s */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  margin-top: 20px;
  padding: 14px 45px;
  background: #e74939;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease 0.35s forwards; /* كان 1s و1.1s */
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(231, 73, 57, 0.4);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: #c62828;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(198, 40, 40, 0.5);
}

/* SLIDER DOTS */
.slider-dots {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.4s forwards; /* كان 1s و1.4s */
  z-index: 2;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot:hover {
  transform: scale(1.3);
  background: rgba(255, 255, 255, 0.8);
}

.dot.active {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.dot.active::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid white;
  animation: ripple 1.5s infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 40px;
  }
  
  .hero-texts {
    width: 80%;
  }
  
  .hero-text p {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-texts {
    width: 90%;
    min-height: 80px;
  }
  
  .hero-text p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 16px;
  }
}
/* ====== ADVANTAGES SECTION ====== */
 .advantages {
            text-align: center;
            padding: 80px 0;
            background: #fff;
            max-width: 1400px;
            margin: 0 auto;
        }

        .advantages h2 {
            font-size: 42px;
            font-weight: 800;
            margin-bottom: 20px;
        }

        .advantages h2 span {
            color: #433b97;
        }

        .adv-desc {
            width: 65%;
            margin: 0 auto 50px;
            color: #666;
            line-height: 1.6;
            font-size: 16px;
        }

        .adv-container {
            display: flex;
            justify-content: center;
            gap: 25px;
            padding: 0 40px;
            flex-wrap: wrap;
        }

        .adv-box {
            width: 220px;
            text-align: center;
            flex-shrink: 0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-radius: 10px;
            padding: 15px;
            cursor: pointer;
        }

        .adv-box:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .adv-box img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            margin-bottom: 20px;
            object-fit: cover;
            /* border: 3px solid #f0f0f0; */
            transition: border-color 0.3s ease;
        }






        .adv-box:hover img {
            border-color: #433b97;
        }

        .adv-box h3 {
            margin-bottom: 12px;
            font-size: 18px;
            font-weight: bold;
            color: #433b97;
            transition: color 0.3s ease;
        }

        .adv-box:hover h3 {
            color: #2a2461;
        }

        .adv-box p {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }

        /* التصميم المتجاوب */
        @media (max-width: 1200px) {
            .adv-container {
                gap: 20px;
                padding: 0 30px;
            }
            
            .adv-box {
                width: 200px;
            }
            
            .adv-box img {
                width: 180px;
                height: 180px;
            }
        }

        @media (max-width: 992px) {
            .adv-container {
                gap: 18px;
                padding: 0 20px;
            }
            
            .adv-box {
                width: 180px;
            }
            
            .adv-box img {
                width: 160px;
                height: 160px;
            }
        }

        @media (max-width: 768px) {
            .advantages {
                padding: 60px 0;
            }
            
            .advantages h2 {
                font-size: 36px;
            }
            
            .adv-desc {
                width: 80%;
                margin-bottom: 40px;
            }
            
            .adv-container {
                gap: 15px;
                padding: 0 15px;
            }
            
            .adv-box {
                width: 160px;
            }
            
            .adv-box img {
                width: 140px;
                height: 140px;
            }
            
            .adv-box h3 {
                font-size: 16px;
            }
            
            .adv-box p {
                font-size: 12px;
            }
        }

        @media (max-width: 576px) {
            .adv-container {
                justify-content: flex-start;
                padding: 0 10px;
            }
            
            .adv-box {
                width: 150px;
            }
            
            .adv-box img {
                width: 130px;
                height: 130px;
            }
            
            .advantages h2 {
                font-size: 32px;
            }
            
            .adv-desc {
                width: 90%;
            }
        }

        /* نمط الصفحة المستهدفة */
        .target-page {
            max-width: 1000px;
            margin: 50px auto;
            padding: 20px;
            text-align: center;
        }

        .target-page img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }

        .back-btn {
            display: inline-block;
            padding: 10px 20px;
            background-color: #433b97;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            margin-top: 20px;
            transition: background-color 0.3s ease;
        }

        .back-btn:hover {
            background-color: #2a2461;
        }
/* ====== ABOUT SECTION (improved for exact look) ====== */
          .about {
            position: relative;
            padding: 60px 60px 80px;
            background: #fff;
            overflow: hidden;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Background image covering 50% of the section (reduced from 70%) */
        .about::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 50%; /* تغيير من 70% إلى 50% */
            height: 100%;
            background-image: url('img/Jpegs for website-07.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 1;
        }

        /* Overlay to improve text readability */
        .about::after {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 50%; /* تغيير من 70% إلى 50% */
            height: 100%;
            z-index: 2;
        }

        /* optional soft geometric shapes like in the design */
        .about .bg-shape-1,
        .about .bg-shape-2 {
            content: "";
            position: absolute;
            pointer-events: none;
            opacity: 0.07;
            background: linear-gradient(120deg, #ddd 0%, #f6f3f2 100%);
            z-index: 0;
        }
        .about .bg-shape-1 {
            width: 60%;
            height: 60%;
            top: -10%;
            right: -20%;
            transform: rotate(-20deg);
        }
        .about .bg-shape-2 {
            width: 80%;
            height: 40%;
            bottom: -10%;
            left: -20%;
            transform: rotate(10deg);
        }

        /* Title centered across full width (ABOUT US) */
        .about-title {
            width: 100%;
            text-align: center;
            font-size: 48px;
            font-weight: 900;
            margin: 0 0 30px;
            letter-spacing: 1px;
            color: #222;
            position: relative;
            z-index: 3;
        }
        .about-title span {
            color: #433b97; /* purple word */
        }

        /* inner two-column layout */
        .about-inner {
            display: flex;
            gap: 30px;
            align-items: center;
            justify-content: space-between;
            position: relative;
            z-index: 3;
        }

        /* left text column - زيادة العرض لأن الخلفية أصبحت أصغر */
        .about-left {
            width: 58%; /* زيادة من 48% إلى 58% */
            max-width: 800px;
        }
        .about-left p {
            color: #4b4b4b;
            line-height: 1.7;
            margin-bottom: 18px;
            font-size: 15px;
        }

        /* right image column - تقليل العرض لأن الخلفية أصبحت أصغر */
        .about-right {
            width: 42%; /* تقليل من 52% إلى 42% */
            /* This column is now empty but maintains layout structure */
            visibility: hidden;
        }

        /* red button with purple bottom line/shadow like reference */
        .about-btn {
            display: inline-block;
            margin-top: 18px;
            background: #d63d2e;
            color: #fff;
            padding: 14px 34px;
            font-size: 16px;
            border: none;
            cursor: pointer;
            position: relative;
            border-radius: 2px;
            font-weight: 600;
            transition: background-color 0.3s ease;
            z-index: 3;
        }

        .about-btn:hover {
            background: #c03527;
        }

        /* purple thin shadow/border below the button (as seen in design) */
        .about-btn::after {
            content: "";
            position: absolute;
            left: 6px;
            right: 6px;
            bottom: -6px;
            height: 5px;
            background: #433b97;
            border-radius: 2px;
            z-index: -1;
        }

        /* Page for detailed about information */
        .about-detail-page {
            max-width: 1200px;
            margin: 50px auto;
            padding: 40px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            display: none;
        }

        .about-detail-page h2 {
            text-align: center;
            font-size: 36px;
            margin-bottom: 30px;
            color: #222;
        }

        .about-detail-page h2 span {
            color: #433b97;
        }

       .detail-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 30px;
    justify-content: center;
}

.detail-image {
    flex: 1;
    max-width: 800px;
}

.detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


        .back-btn {
            display: inline-block;
            padding: 12px 25px;
            background-color: #433b97;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
        }

        .back-btn:hover {
            background-color: #2a2461;
        }

        .btn-container {
            text-align: center;
            margin-top: 30px;
        }

        /* responsive adjustments */
        @media (max-width: 1000px) {
            .about::before {
                width: 100%;
                height: 40%; /* تقليل الارتفاع في الشاشات الصغيرة */
                top: 0;
                opacity: 0.4;
            }
            
            .about::after {
                width: 100%;
                height: 40%; /* تقليل الارتفاع في الشاشات الصغيرة */
                top: 0;
            }
            
            .about-inner {
                flex-direction: column;
                gap: 30px;
            }
            .about-left, .about-right {
                width: 100%;
            }
            .about-right {
                display: none;
            }
            .about-title {
                font-size: 36px;
            }
            
            .detail-content {
                flex-direction: column;
            }
        }

        @media (max-width: 768px) {
            .about {
                padding: 40px 20px;
            }
            
            .about-detail-page {
                padding: 20px;
            }
            
            .about::before {
                height: 35%; /* تقليل أكثر في الشاشات الصغيرة جداً */
            }
            
            .about::after {
                height: 35%; /* تقليل أكثر في الشاشات الصغيرة جداً */
            }
            
            .about-left {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .about-title {
                font-size: 32px;
            }
            
            .about-btn {
                padding: 12px 28px;
                font-size: 15px;
            }
        }
/* ====== SERVICES SECTION ====== */
  .services-section {
            text-align: center;
            padding: 70px 40px 100px;
            /* background: #fff; */
        }

        .services-title {
            font-size: 40px;
            font-weight: 800;
            margin-bottom: 8px;
        }
        .services-title span { color: #433b97; }

        .services-desc {
            color:#2b2523;
            width: 60%;
            margin: 10px auto 40px;
            line-height: 1.6;
            font-size: 15px;
        }

        /* grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
            align-items: start;
            padding: 10px 30px 0;
        }

        /* card */
        .service-card {
            background: #f6f3f2;
            border-radius: 6px;
            padding: 48px 24px 36px;
            position: relative;
            box-shadow: 0 2px 0 rgba(0,0,0,0.03);
            text-align: center;
            min-height: 220px;
            transition: transform 220ms ease, box-shadow 220ms ease;
        }

        /* red circular icon that sits above the card */
        .icon-wrap {
            position: absolute;
            top: -28px;
            left: 50%;
            transform: translateX(-50%);
            width: 66px;
            height: 66px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* inline svg sized */
        .icon-circle { width: 66px; height: 66px; display: block; }

        /* card title + text */
        .service-card h3 {
            margin-top: 26px;
            font-size: 16px;
            font-weight: 700;
            color: #222;
            margin-bottom: 12px;
            text-transform: uppercase;
        }
        .card-text {
            font-size: 13px;
            color: #b3a9aa;
            line-height: 1.5;
            margin-bottom: 16px;
        }

        /* read more link */
        .read-more {
            color: #433b97;
            text-decoration: underline;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .read-more:hover {
            color: #2a2461;
        }

        /* subtle hover */
        .service-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 18px rgba(67,59,151,0.06);
        }

        /* Service Detail Pages */
        .service-detail-page {
            max-width: 1200px;
            margin: 50px auto;
            padding: 40px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            display: none;
        }

        .service-detail-page h2 {
            text-align: center;
            font-size: 36px;
            margin-bottom: 30px;
            color: #222;
        }

        .service-detail-page h2 span {
            color: #433b97;
        }

        .service-detail-content {
            display: flex;
            gap: 40px;
            align-items: flex-start;
            margin-bottom: 30px;
        }

        .service-detail-image {
            flex: 1;
        }

        .service-detail-image img {
            width: 100%;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .service-detail-text {
            flex: 1;
            text-align: left;
        }

        .service-detail-text h3 {
            color: #433b97;
            margin-bottom: 15px;
            font-size: 24px;
        }

        .service-detail-text p {
            margin-bottom: 20px;
            line-height: 1.7;
            color: #4b4b4b;
        }

        .service-features {
            list-style: none;
            margin: 20px 0;
        }
.service-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.service-link:hover h3 {
  color: #433b97; /* نفس لون الهوفر عندك */
}

        .service-features li {
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
            color: #4b4b4b;
        }

        .service-features li:before {
            content: "✓";
            color: #433b97;
            font-weight: bold;
            margin-right: 10px;
        }

        .back-btn {
            display: inline-block;
            padding: 12px 25px;
            background-color: #433b97;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
        }

        .back-btn:hover {
            background-color: #2a2461;
        }

        .btn-container {
            text-align: center;
            margin-top: 30px;
        }

        /* responsive */
        @media (max-width: 1100px) {
            .services-grid { 
                grid-template-columns: repeat(2, 1fr); 
                gap: 22px; 
                width: 92%; 
                margin: 0 auto; 
            }
            .services-desc { width: 85%; }
            
            .service-detail-content {
                flex-direction: column;
            }
        }
        
        @media (max-width: 640px) {
            .services-grid { 
                grid-template-columns: 1fr; 
                gap: 18px; 
            }
            .services-title { font-size: 32px; }
            .service-card { padding: 56px 20px 28px; }
            .icon-wrap { top: -32px; width: 72px; height: 72px; }
            .icon-circle { width: 72px; height: 72px; }
            
            .service-detail-page {
                padding: 20px;
            }
        }
/* ============================
   PORTFOLIO SECTION
============================ */

.portfolio {
  background: #2b2523;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.portfolio h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.portfolio h2 span {
  color: #524d9b; /* اللون البنفسجي */
}

.portfolio-desc {
  color: #cfcfcf;
  font-size: 15px;
  max-width: 650px;
  margin: 0 auto 40px;
}

/* Menu */
.portfolio-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.portfolio-menu li {
  color: #d1d1d1;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}
/* 
.portfolio-menu li.active {
  color: #524d9b;
} */

/* Grid */
.portfolio-grid {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.port-box {
  padding: 50px 20px;
  text-align: center;
}

.port-box img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.port-box h3 {
  font-size: 22px;
  margin-bottom: 5px;
  color: #3b3b3b;
}

.port-box p {
  color: #6a6a6a;
}

/* Background color variations */
.white {
  background: #f3f1ef;
}

.dark {
  background: #6b635e;
}

.soft {
  background: #d5cec9;
}
/* process-section */
.process-section {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    font-family: Arial, sans-serif;
}

.process-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-title span {
    color: #4A3DB8;
}

.process-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.process-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
}

.process-box {
    width: 15%;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 150px;
    height: 150px;
    
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
   
    
}

.number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #E43D2F;
    color: #fff;
    width: 35px;
    height: 35px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 10;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.process-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
}

.process-box h3 {
    font-size: 16px;
    margin-top: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
    line-height: 1.3;
}

.process-box p {
    margin-top: 8px;
    color: #777;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

/* التصميم المتجاوب */
@media (max-width: 1200px) {
    .process-container {
        justify-content: center;
        gap: 30px;
    }
    
    .process-box {
        width: 28%;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .process-box {
        width: 45%;
        min-width: 170px;
    }
    
    .circle {
        width: 130px;
        height: 130px;
    }
    
    .process-img {
        width: 120px;
        height: 120px;
    }
    
    .process-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .process-box {
        width: 100%;
        max-width: 250px;
    }
    
    .process-container {
        gap: 40px;
    }
    
    .process-section {
        padding: 40px 15px;
    }
}

/* people-section */
.people-section {
    padding: 40px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.people-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.people-title span {
    color: #4A3DB8;
}

.people-subtitle {
    color: #6d6d6d;
    font-size: 14px;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.people-grid {
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
}

.person-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 25px 20px;
    background: #fafafa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.person-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #eee;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.person-info {
    width: 100%;
}

.person-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.person-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
    max-height: 200px;
    overflow-y: auto;
    padding: 0 5px;
}

/* إخفاء الخط الأفقي في الجوال */
.divider {
    display: none;
}

/* النقاط أسفل */
.dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #4A3DB8;
    transform: scale(1.2);
}

/* ===== RESPONSIVE DESIGN ===== */

/* تابلت (768px - 991px) */
@media (min-width: 768px) {
    .people-section {
        padding: 50px 30px;
    }
    
    .people-title {
        font-size: 36px;
    }
    
    .people-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .person-box {
        flex-direction: row;
        text-align: left;
        padding: 30px 25px;
    }
    
    .person-img {
        width: 90px;
        height: 90px;
        flex-shrink: 0;
    }
    
    .person-info p {
        max-height: 150px;
        text-align: left;
    }
    
    .divider {
        display: block;
        grid-column: span 2;
        height: 1px;
        background: #e0e0e0;
        margin: 10px 0;
    }
}

/* لابتوب (992px وما فوق) */
@media (min-width: 992px) {
    .people-section {
        padding: 60px 40px;
    }
    
    .people-title {
        font-size: 40px;
    }
    
    .people-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 50px;
        column-gap: 40px;
    }
    
    .person-box {
        gap: 25px;
        padding: 35px 30px;
    }
    
    .person-img {
        width: 100px;
        height: 100px;
    }
    
    .person-info h3 {
        font-size: 17px;
    }
    
    .person-info p {
        font-size: 14px;
        max-height: 180px;
    }
}

/* شاشات كبيرة (1200px وما فوق) */
@media (min-width: 1200px) {
    .people-grid {
        width: 90%;
        max-width: 1200px;
    }
}

/* تحسينات للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .people-section {
        padding: 30px 15px;
    }
    
    .people-title {
        font-size: 28px;
    }
    
    .people-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }
    
    .person-box {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .person-img {
        width: 80px;
        height: 80px;
    }
    
    .person-info h3 {
        font-size: 16px;
    }
    
    .person-info p {
        font-size: 13px;
        max-height: 150px;
        line-height: 1.5;
    }
}

/* تحسينات للعربية */
body.ar-active .person-info p {
    text-align: right;
}

body.ar-active .person-box {
    text-align: right;
}

@media (min-width: 768px) {
    body.ar-active .person-box {
        text-align: right;
    }
}

/* تأثيرات تفاعلية */
.person-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.person-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* شريط التمرير للنص الطويل */
.person-info p::-webkit-scrollbar {
    width: 4px;
}

.person-info p::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.person-info p::-webkit-scrollbar-thumb {
    background: #4A3DB8;
    border-radius: 10px;
}

.person-info p::-webkit-scrollbar-thumb:hover {
    background: #3a2d98;
}
/* skills-section  */
.partners-section {
    padding: 70px 0;
    text-align: center;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #f7f5ff 0%, #ffffff 45%, #f8f9ff 100%);
}

.partners-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 1px;
}

.partners-title span {
    color: #4A3DB8;
}

.partners-subtitle {
    max-width: 750px;
    margin: 12px auto 35px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* الغلاف العام للسلايدر */
.partners-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 40px;
}

/* السلايدر نفسه – قابل للسحب */
.partners-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 5px 20px;
}

/* إخفاء السكروول الشريط */
.partners-carousel::-webkit-scrollbar {
    height: 6px;
}
.partners-carousel::-webkit-scrollbar-track {
    background: transparent;
}
.partners-carousel::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 10px;
}

/* كل بطاقة شريك */
.partner-card {
    flex: 0 0 auto;
    scroll-snap-align: center;
    min-width: 180px;
    max-width: 220px;
    height: 110px;
    border-radius: 20px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(25, 10, 70, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.partner-card img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(40%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* تأثير جميل عند الهوفر */
.partner-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 35px rgba(25, 10, 70, 0.15);
    background: rgba(255,255,255,1);
}

.partner-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* أزرار اليمين واليسار */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(74, 61, 184, 0.12);
    color: #4A3DB8;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 2;
}

.carousel-btn.prev {
    left: 5px;
}

.carousel-btn.next {
    right: 5px;
}

.carousel-btn:hover {
    background: rgba(74, 61, 184, 0.9);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.97);
}

/* النص الإرشادي */
.drag-hint {
    margin-top: 15px;
    font-size: 13px;
    color: #999;
}





/* project-section */
.project-section {
    padding: 70px 0;
    text-align: center;
    background: linear-gradient(90deg, #e53935, #7b1fa2);
    color: white;
    font-family: Arial, sans-serif;
}

.project-title {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 40px;
}

.project-form {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.project-form input {
    width: 230px;
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-size: 15px;
    outline: none;
}



.project-form button {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    background: #e53935;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
}

.project-form button:hover {
    background: #c62828;
}

.project-text {
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}



/* ===== FIXED BACKGROUND FROM ADVANTAGES → PARTNERS ===== */
.fixed-bg-wrapper {
    position: relative;
    background-image: url('img/ChatGPT\ Image\ 24\ نوفمبر\ 2025،\ 05_14_50\ م.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 0;
}

/* طبقة التعتيم فوق الخلفية */
.fixed-bg-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 254, 254, 0.70); /* 👈 0.35 = شفافية 35% */
    z-index: 0;
}

/* محتوى الأقسام فوق الطبقة */
.fixed-bg-wrapper > * {
    position: relative;
    z-index: 2;
}





/* contacts-section */
.contacts-section {
    text-align: center;
    /* padding: 60px 0; */
    font-family: Arial, sans-serif;
        /* background: #e4e0df; */
}

.contacts-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
}

.contacts-title span {
    color: #4a3c97;
}

.contacts-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 15px;
    color: #6d6d6d;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ci-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    color: #333;
}

.icon {
    width: 24px;
    height: 24px;
}

.world-map {
    position: relative;
    width: 90%;
    margin: auto;
}



.contacts-map {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.map-wrapper {
    position: relative;
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.map-img {
    width: 100%;
    opacity: 0.25; /* نفس ستايل الصورة في النموذج */
}

/* النقطة */
.pin {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #4a3c97;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.4);

    /* مكان السعودية */
     top: 42%;
    left: 60%;
}
/* تنسيقات الفوتر */
.footer {
    background: #2b2523;
    color: #fff;
    padding: 40px 0 0;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo img {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.company-info h3 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 18px;
}

.company-info p {
    color: #ccc;
    line-height: 1.6;
    font-size: 14px;
}

.footer-links h4,
.footer-social h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
}

.footer-links h4::after,
.footer-social h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #433b97;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #433b97;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #433b97;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #2a2461;
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 14px;
}

.contact-item span {
    font-size: 16px;
    margin-top: 2px;
}

.copyright {
    border-top: 1px solid #444;
    margin-top: 40px;
    padding: 20px 0;
    background: #1a1614;
}

.copyright-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.copyright p {
    color: #999;
    margin: 5px 0;
    font-size: 14px;
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-info {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-links h4::after,
    .footer-social h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 0;
    }
    
    .footer-container {
        padding: 0 15px;
        gap: 25px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
}
/* ===== HEADER ===== */
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
header .logo {
  height: 80px;
  display: flex;
  align-items: center;
}
header .logo img {
  height: 100%;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  transition: all 0.3s ease;
}
header .logo img:hover {
  transform: scale(1.05);
}

/* Company Name */
.company-name {
  display: flex;
  flex-direction: column;
}
.company-name .main {
  font-size: 14px;
  font-weight: 700;
  color: #433b97;
  line-height: 1.2;
  text-align: center;
}
.company-name .sub {
  font-size: 14px;
  color: #433b97;
  font-weight: 500;
}

/* Navigation Bar */
nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  font-weight: 600;
  font-size: 14px;
}

nav ul li {
  position: relative;
  cursor: pointer;
  padding: 8px 0;
  transition: all 0.3s ease;
  color: #333;
}
nav ul li:hover {
  color: #433b97;
}
nav ul li::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background: #433b97;
  transition: width 0.3s ease;
}
nav ul li:hover::after {
  width: 100%;
}

/* ===== LANGUAGE SWITCHER BUTTON ===== */
.language-switcher {
  margin-left: 5px;
}

.lang-btn {
  background: linear-gradient(135deg, #433b97, #2a2461);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 90px;
  justify-content: center;
}

.lang-btn:hover {
  background: linear-gradient(135deg, #2a2461, #433b97);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 59, 151, 0.3);
}

.lang-icon {
  font-size: 16px;
}

.lang-text {
  font-weight: bold;
}

/* ===== Responsive for Mobile ===== */
@media (max-width: 768px) {
  header {
    padding: 12px 20px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .language-switcher {
    margin-top: 8px;
  }

  .lang-btn {
    padding: 8px 16px;
    font-size: 12px;
    min-width: 75px;
  }
}
/* Pages toggle */
.target-page { display: none; }
.target-page.is-active { display: block; }

.advantages.is-hidden { display: none !important; }
