   /*  Reset / Base  */
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    /* ① خلفية الصفحة بيضاء */
    body {
      font-family: 'Tajawal', sans-serif;
      margin: 0;
      background: #ffffff;
      min-height: 100vh;
      color: #1e293b;
    }

    /*  Header  */
    #main-header {
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      /* ⑦ خلفية شفافة  Glass Liquid بدون لون أبيض */
      background: rgba(255,255,255,0.55);
      backdrop-filter: blur(18px) saturate(180%);
      -webkit-backdrop-filter: blur(18px) saturate(180%);
      border-bottom: 1px solid rgba(1,16,59,0.10);
    }
    #main-header.scrolled {
      background: rgba(255,255,255,0.82);
      backdrop-filter: blur(30px) saturate(220%);
      -webkit-backdrop-filter: blur(30px) saturate(220%);
      box-shadow: 0 6px 32px rgba(1,16,59,0.12);
      border-bottom-color: rgba(1,16,59,0.08);
    }
    #main-header .inner-wrap {
      height: 72px;
      transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    #main-header.scrolled .inner-wrap { height: 60px; }

    /*  Nav Links  */
    /* ⑦ لون الخط داكن ملائم للخلفية الشفافة  ليس أبيض */
    .nav-link {
      position: relative;
      padding: 0.5rem 0.8rem;
      /* لون كحلي داكن من ألوان اللوجو */
      color: #01103b;
      transition: all 0.25s ease;
      font-weight: 600;
      font-size: 0.9375rem;
      white-space: nowrap;
      background: none;
      border: none;
      border-radius: 8px;
      cursor: pointer;
    }
    .nav-link:hover { 
      color: #083995; 
      background: rgba(83, 162, 239, 0.08);
    }

    /* ⑥ الخط المتحرك بالتدرج المطلوب */
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -3px;
      right: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, #01103b, #083995, #53a2ef, #9cd7f7);
      border-radius: 2px;
      transition: width 0.35s ease;
    }
    [dir="ltr"] .nav-link::after { left: 0; right: auto; }
    .nav-link:hover::after,
    .nav-link.active::after { width: 100%; }
    .nav-link.active { color: #083995; }

    /*  Dropdown  */
    /* ③ إزالة المسافة بين العنصر والقائمة  pseudo bridge */
    .dropdown-wrapper { position: relative; }
    .dropdown-menu {
      display: none;
      position: absolute;
      /* ③ رفع القائمة لتلامس العنصر مع جسر شفاف يمنع الاختفاء */
      top: calc(100% + 4px);
      right: 0;
      min-width: 330px;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(24px) saturate(200%);
      -webkit-backdrop-filter: blur(24px) saturate(200%);
      border: 1px solid rgba(1,16,59,0.10);
      border-radius: 14px;
      padding: 8px;
      box-shadow: 0 16px 50px rgba(1,16,59,0.14), 0 0 0 1px rgba(8,57,149,0.08);
      z-index: 9999;
      animation: slide-down 0.2s ease-out;
      transform-origin: top right;
    }
    [dir="ltr"] .dropdown-menu { right: auto; left: 0; transform-origin: top left; }

    /* جسر شفاف يمنع اختفاء القائمة عند التحريك بين الزر والقائمة */
    .dropdown-wrapper::after {
      content: '';
      position: absolute;
      top: 100%;
      right: 0;
      left: 0;
      height: 8px;
      background: transparent;
    }
    .dropdown-wrapper:hover .dropdown-menu,
    .dropdown-wrapper:focus-within .dropdown-menu { display: block; }

    /* ② بدون أيقونات في dropdown  تصميم نظيف */
    .dropdown-item {
      display: flex;
      align-items: center;
      padding: 10px 16px;
      border-radius: 9px;
      color: #01103b;
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
      white-space: nowrap;
    }
    .dropdown-item:hover {
      background: rgba(83,162,239,0.12);
      color: #083995;
      transform: translateX(-4px);
    }
    [dir="ltr"] .dropdown-item:hover { transform: translateX(4px); }
    .dropdown-divider {
      height: 1px;
      background: rgba(1,16,59,0.08);
      margin: 6px 0;
    }

    /*  Language Dropdown  */
    .lang-dropdown { position: relative; }
    /* ③ نفس الجسر للغة */
    .lang-dropdown::after {
      content: '';
      position: absolute;
      top: 100%;
      right: 0;
      left: 0;
      height: 8px;
      background: transparent;
    }
    .lang-menu {
      display: none;
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      min-width: 130px;
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(1,16,59,0.10);
      border-radius: 10px;
      padding: 6px;
      box-shadow: 0 12px 36px rgba(1,16,59,0.12);
      z-index: 9999;
      animation: slide-down 0.2s ease-out;
    }
    [dir="rtl"] .lang-menu { left: auto; right: 0; }
    .lang-dropdown:hover .lang-menu,
    .lang-dropdown:focus-within .lang-menu { display: block; }
    .lang-option {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 7px;
      color: #01103b;
      font-size: 0.875rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }
    .lang-option:hover,
    .lang-option.active { background: rgba(83,162,239,0.14); color: #083995; }
    .lang-option.active { font-weight: 700; }

    /*  CTA Button  */
    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 9px 20px;
      background: linear-gradient(135deg, #083995 0%, #53a2ef 100%);
      color: #fff;
      border-radius: 10px;
      font-weight: 700;
      font-size: 0.9rem;
      font-family: 'Tajawal', sans-serif;
      border: none;
      cursor: pointer;
      transition: all 0.25s;
      box-shadow: 0 4px 20px rgba(8,57,149,0.30);
      white-space: nowrap;
      text-decoration: none;
    }
    .cta-btn:hover {
      transform: scale(1.04) translateY(-1px);
      box-shadow: 0 8px 28px rgba(8,57,149,0.45);
    }
    .cta-btn:active { transform: scale(0.98); }

    /*  Lang toggle button (header)  */
    .lang-toggle-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 9px;
      border: 1.5px solid rgba(1,16,59,0.18);
      background: rgba(1,16,59,0.04);
      color: #01103b;
      font-size: 0.875rem;
      font-weight: 600;
      font-family: 'Tajawal', sans-serif;
      cursor: pointer;
      transition: all 0.2s;
    }
    .lang-toggle-btn:hover {
      background: rgba(83,162,239,0.12);
      border-color: rgba(8,57,149,0.30);
      color: #083995;
    }

    /*  Hamburger  */
    .hamburger {
      display: flex;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 7px;
      border-radius: 9px;
      border: 1.5px solid rgba(1,16,59,0.15);
      background: rgba(1,16,59,0.04);
      transition: background 0.2s;
    }
    .hamburger:hover { background: rgba(83,162,239,0.12); }
    .hamburger span {
      display: block;
      width: 20px;
      height: 2px;
      background: #01103b;
      border-radius: 2px;
      transition: all 0.3s ease;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /*  Mobile Overlay  */
    #mobile-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(1,16,59,0.40);
      z-index: 9998;
      animation: fade-in 0.25s ease-out;
    }

    /*  Mobile Panel  */
    #mobile-panel {
      position: fixed;
      top: 0;
      right: -100%;
      width: min(320px, 85vw);
      height: 100dvh;
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      border-left: 1px solid rgba(1,16,59,0.10);
      z-index: 9999;
      transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      /* ⑤ flex column  CTA مثبت في الأسفل */
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    [dir="ltr"] #mobile-panel {
      right: auto;
      left: -100%;
      border-left: none;
      border-right: 1px solid rgba(1,16,59,0.10);
      transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    #mobile-panel.open { right: 0; }
    [dir="ltr"] #mobile-panel.open { left: 0; right: auto; }

    /* ⑤ منطقة الروابط قابلة للتمرير وال CTA ثابت في الأسفل */
    .mobile-panel-scroll {
      flex: 1;
      overflow-y: auto;
      padding: 24px 20px 12px;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .mobile-panel-footer {
      padding: 16px 20px;
      border-top: 1px solid rgba(1,16,59,0.08);
      background: rgba(255,255,255,0.98);
    }

    .mobile-nav-link {
      display: flex;
      align-items: center;
      padding: 12px 14px;
      border-radius: 10px;
      color: #01103b;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }
    .mobile-nav-link:hover,
    .mobile-nav-link.active {
      background: rgba(83,162,239,0.12);
      color: #083995;
    }

    /* ② Accordion بدون أيقونات */
    .accordion-btn {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 12px 14px;
      border-radius: 10px;
      color: #01103b;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      background: none;
      border: none;
      font-family: 'Tajawal', sans-serif;
      transition: all 0.2s;
    }
    .accordion-btn:hover { background: rgba(83,162,239,0.12); color: #083995; }
    .accordion-chevron { transition: transform 0.3s ease; }
    .accordion-btn.open .accordion-chevron { transform: rotate(180deg); }
    .accordion-content {
      display: none;
      padding: 4px 6px;
      border-radius: 10px;
      background: rgba(1,16,59,0.03);
      margin: 2px 0 4px;
    }
    .accordion-content.open {
      display: block;
      animation: slide-down 0.22s ease-out;
    }
    .accordion-sub-link {
      display: flex;
      align-items: center;
      padding: 9px 14px;
      border-radius: 8px;
      color: #01103b;
      font-size: 0.9rem;
      font-weight: 400;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }
    .accordion-sub-link:hover { background: rgba(83,162,239,0.12); color: #083995; }

    /*  Footer: Professional Liquid Glass Gradient  */
    #main-footer {
      background: linear-gradient(
        135deg,
        rgba(1, 16, 59, 0.96) 0%,
        rgba(8, 57, 149, 0.94) 100%
      );
      backdrop-filter: blur(40px) saturate(220%);
      -webkit-backdrop-filter: blur(40px) saturate(220%);
      border-top: 1.5px solid rgba(255, 255, 255, 0.12);
      position: relative;
      overflow: hidden;
      transition: all 0.5s ease;
    }
    /* لمعة بريق بطيئة جداً من اليمين لليسار (أفقياً) */
    #main-footer::before {
      content: '';
      position: absolute;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.0) 45%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.0) 55%,
        transparent
      );
      transition: all 5s cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: none;
      z-index: 2;
    }
    #main-footer:hover::before {
      right: 100%;
    }

    .footer-link {
      color: rgba(229, 231, 235, 0.75);
      font-size: 0.9rem;
      font-weight: 500;
      text-decoration: none;
      transition: all 0.3s ease;
      display: block;
      margin-bottom: 10px;
    }
    .footer-link:hover { color: #fff; transform: translateX(-5px); }
    [dir="ltr"] .footer-link:hover { transform: translateX(5px); }

    .footer-col-title {
      color: #e5e7eb;
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
    }
    .footer-col-title::after {
      content: '';
      position: absolute;
      bottom: -6px;
      right: 0;
      width: 24px;
      height: 2px;
      background: #53a2ef;
      border-radius: 2px;
    }
    [dir="ltr"] .footer-col-title::after { right: auto; left: 0; }

    .social-btn {
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 9px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #e5e7eb;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
      text-decoration: none;
    }
    /* ألوان البراندات الرسمية */
    .social-btn.fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
    .social-btn.tw:hover { background: #000000; border-color: #333; color: #fff; }
    .social-btn.yt:hover { background: #FF0000; border-color: #FF0000; color: #fff; }
    .social-btn.wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
    .social-btn.li:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }
    .social-btn.ig:hover { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); border-color: #cc2366; color: #fff; }
    .social-btn.sc:hover { background: #FFFC00; border-color: #FFFC00; color: #000; }
    
    /*  Footer Logo Interaction  */
     .footer-logo-link img {
       filter: brightness(0) invert(1);
       opacity: 0.8;
       transition: all 0.4s ease;
     }
     .footer-logo-link:hover img {
       opacity: 1;
       transform: scale(1.02);
     }

    /*  Demo body spacer  */
    .page-body {
      min-height: 70vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 80px 24px;
    }
    /*  Logo Glow/Shine Effect  */
    .logo-shine {
      position: relative;
      overflow: hidden;
      display: inline-flex;
      transition: transform 0.3s ease;
    }
    .logo-shine:hover {
      transform: scale(1.05);
    }
    .logo-shine::after {
      content: "";
      position: absolute;
      top: -100%;
      left: -100%;
      width: 50%;
      height: 300%;
      background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
      );
      transform: rotate(45deg);
      transition: all 0.7s ease;
      pointer-events: none;
    }
    .logo-shine:hover::after {
      top: 100%;
      left: 100%;
    }
    .map-container {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
      max-width: 280px; /* Aligns with social icons row width */
    }
    .map-container iframe {
      filter: grayscale(1) invert(0.9) contrast(1.2) opacity(0.85);
      transition: all 0.5s ease;
      width: 100%;
      height: 160px;
    }
    .map-container:hover iframe {
      filter: grayscale(0.2) invert(0) contrast(1) opacity(1);
    }
    .map-btn {
      position: absolute;
      bottom: 8px;
      right: 8px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(8px);
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 10px;
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s;
      z-index: 5;
    }
    .map-btn:hover {
      background: rgba(83, 162, 239, 0.4);
      transform: translateY(-2px);
    }