*, *::before, *::after {
  box-sizing: border-box;
}

:root, .profile-page-root {
  --primary: #1b3d6c;
  --primary-mid: #25528f;
  --accent: #2563eb;
  --accent-light: #4f8cf6;
  --gold: #d4a017;
  --gold-hover: #b8860b;
  --gold-light: #fff3cd;
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-alt: #edf3fc;
  --border: #d7e4f5;
  --text-dark: #0e1726;
  --text-mid: #334155;
  --text-muted: #64748b;
  --gradient-hero: linear-gradient(135deg, #1b3d6c 0%, #25528f 50%, #356fb3 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
  --shadow-sm: 0 4px 12px rgba(27, 61, 108, 0.05);
  --shadow-md: 0 10px 30px rgba(27, 61, 108, 0.08);
  --shadow-lg: 0 20px 50px rgba(27, 61, 108, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.empty-layout {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-height: 100vh !important;
}

.profile-page-root {
  display: block !important;
  width: 100% !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #f4f7fc !important;
  color: #0e1726 !important;
  position: relative !important;
}

.profile-page-root[lang="ar"], .profile-page-root[lang="ar"] {
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
  direction: rtl !important;
  text-align: right !important;
}

.profile-page-root[lang="en"], .profile-page-root[lang="en"] {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  direction: ltr !important;
  text-align: left !important;
}

@media screen {
  /* Ensure navbar retains dark styling against bootstrap */
  .navbar, .profile-page-root .navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(27, 61, 108, 0.95) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .profile-page-root .nav-links {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .profile-page-root .nav-links::-webkit-scrollbar {
    display: none !important;
  }

  .profile-page-root .nav-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    cursor: pointer !important;
  }

  .profile-page-root .nav-links a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  .profile-page-root .nav-links a.active {
    background: var(--gold) !important;
    color: #1b3d6c !important;
    font-weight: 700 !important;
  }

  .subnav-strip, .profile-page-root .subnav-strip {
    width: 100% !important;
    display: flex !important;
  }
}

.hero-section, .profile-page-root .hero-section {
  width: 100% !important;
  display: block !important;
}


*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --primary: #1b3d6c;
    --primary-mid: #25528f;
    --accent: #2563eb;
    --accent-light: #4f8cf6;
    --gold: #d4a017;
    --gold-hover: #b8860b;
    --gold-light: #fff3cd;
    --bg: #f4f7fc;
    --surface: #ffffff;
    --surface-alt: #edf3fc;
    --border: #d7e4f5;
    --text-dark: #0e1726;
    --text-mid: #334155;
    --text-muted: #64748b;
    --gradient-hero: linear-gradient(135deg, #1b3d6c 0%, #25528f 50%, #356fb3 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
    --shadow-sm: 0 4px 12px rgba(27, 61, 108, 0.05);
    --shadow-md: 0 10px 30px rgba(27, 61, 108, 0.08);
    --shadow-lg: 0 20px 50px rgba(27, 61, 108, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
  }

  section[id],
  .profile-page-root section[id] {
    scroll-margin-top: 85px !important;
  }

  body {
    background-color: var(--bg);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    transition: background-color 0.3s;
  }

  /* LANGUAGE TYPOGRAPHY AND VISIBILITY SWITCH */
  .profile-page-root[lang="ar"] body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
  }
  .profile-page-root[lang="en"] body {
    font-family: 'Inter', sans-serif;
    direction: ltr;
    text-align: left;
  }

  /* Instant language show/hide rules */
  .profile-page-root[lang="ar"] .lang-en { display: none !important; }
  .profile-page-root[lang="ar"] .lang-ar { display: inline; }
  .profile-page-root[lang="ar"] div.lang-ar,
  .profile-page-root[lang="ar"] p.lang-ar,
  .profile-page-root[lang="ar"] ul.lang-ar,
  .profile-page-root[lang="ar"] h1.lang-ar,
  .profile-page-root[lang="ar"] h2.lang-ar,
  .profile-page-root[lang="ar"] h3.lang-ar,
  .profile-page-root[lang="ar"] h4.lang-ar { display: block; }
  .profile-page-root[lang="ar"] .flex-lang-ar { display: flex !important; }

  .profile-page-root[lang="en"] .lang-ar { display: none !important; }
  .profile-page-root[lang="en"] .lang-en { display: inline; }
  .profile-page-root[lang="en"] div.lang-en,
  .profile-page-root[lang="en"] p.lang-en,
  .profile-page-root[lang="en"] ul.lang-en,
  .profile-page-root[lang="en"] h1.lang-en,
  .profile-page-root[lang="en"] h2.lang-en,
  .profile-page-root[lang="en"] h3.lang-en,
  .profile-page-root[lang="en"] h4.lang-en { display: block; }
  .profile-page-root[lang="en"] .flex-lang-en { display: flex !important; }

  /* TOP STICKY NAVBAR */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 31, 68, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
  }

  .nav-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
  }

  .nav-logo-box {
    background: #ffffff;
    border-radius: 9px;
    padding: 4px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  }

  .nav-logo-box img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  .nav-brand-text {
    display: flex;
    flex-direction: column;
  }

  .nav-brand-text .title {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1.1;
  }

  .nav-brand-text .sub {
    font-size: 8.5px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.8px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex-shrink: 1;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 18px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-links a.active {
    background: var(--gold);
    color: var(--primary);
    font-weight: 700;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  /* زر العودة للنظام المحاسبي الرئيسي */
  .btn-system-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff !important;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .btn-system-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
    color: #ffffff !important;
  }

  /* LANGUAGE TOGGLE SWITCH BAR */
  .lang-switcher-bar {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 2.5px;
    gap: 2px;
    flex-shrink: 0;
  }

  .lang-btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    user-select: none;
    white-space: nowrap;
  }

  .lang-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
  }

  .lang-btn.active {
    background: var(--gold);
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 800;
  }

  .btn-print {
    background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
    color: #1b3d6c;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.35);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* إزاحة زر الطباعة حسب طلب المستخدم: في العربي يسار قليلاً، وفي الإنجليزي يمين قليلاً */
  .profile-page-root[lang="ar"] .nav-actions {
    padding-left: 4px;
  }

  .profile-page-root[lang="ar"] .btn-print {
    margin-right: 12px !important;
    margin-left: 0 !important;
  }

  .profile-page-root[lang="en"] .nav-actions {
    padding-right: 4px;
  }

  .profile-page-root[lang="en"] .btn-print {
    margin-left: 12px !important;
    margin-right: 0 !important;
  }

  .btn-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(212, 160, 23, 0.5);
  }

  .btn-print svg {
    width: 14px;
    height: 14px;
    fill: #1b3d6c;
  }

  .btn-id-cards {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .btn-id-cards:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
  }

  .btn-id-cards svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
  }

  /* SUB-NAV STRIP */
  .subnav-strip {
    background: linear-gradient(90deg, #142e52, #25528f, #142e52);
    padding: 7px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(212, 160, 23, 0.25);
    text-align: center;
  }

  .strip-bullet {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* HERO / COVER SECTION */
  .hero-section {
    position: relative;
    background: var(--gradient-hero);
    color: #ffffff;
    padding: 70px 24px 85px;
    overflow: hidden;
  }

  .hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .hero-bg-shapes .circle-1 {
    position: absolute;
    top: -150px;
    left: -150px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 111, 212, 0.25) 0%, transparent 70%);
  }

  .hero-bg-shapes .circle-2 {
    position: absolute;
    bottom: -120px;
    right: -100px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.2) 0%, transparent 70%);
  }

  .hero-bg-shapes .line-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
  }

  .hero-content {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
  }

  .hero-logo-card {
    width: 125px;
    height: 125px;
    background: #ffffff;
    border-radius: 24px;
    margin: 0 auto 24px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(212, 160, 23, 0.3);
  }

  .hero-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 22px;
    border-radius: 30px;
    margin-bottom: 18px;
    text-transform: uppercase;
  }

  .hero-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #ffffff;
  }

  .profile-page-root[lang="en"] .hero-title {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
  }

  .hero-title .highlight {
    color: var(--gold);
  }

  .hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 780px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.9;
  }

  .hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: var(--primary);
    text-decoration: none;
    padding: 13px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.35);
    transition: var(--transition);
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 160, 23, 0.5);
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
  }

  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
  }

  /* STATS BAR */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
  }

  .stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px 14px;
    text-align: center;
    transition: var(--transition);
  }

  .stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
  }

  .stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.1;
  }

  .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 6px;
    font-weight: 600;
  }

  /* MAIN LAYOUT WRAPPER */
  .section-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 70px 24px;
  }

  .section-header {
    text-align: center;
    margin-bottom: 48px;
  }

  .section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #e1edfc;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
  }

  .profile-page-root[lang="en"] .section-title {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
  }

  .section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 16px;
    border-radius: 2px;
  }

  .section-lead {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.9;
  }

  /* ABOUT SECTION */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .about-lead-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  .profile-page-root[lang="ar"] .about-lead-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--accent));
  }

  .profile-page-root[lang="en"] .about-lead-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--accent));
  }

  .about-lead-card p {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 2.05;
    margin-bottom: 18px;
  }

  .about-lead-card p:last-child {
    margin-bottom: 0;
  }

  .about-lead-card strong {
    color: var(--primary);
  }

  /* VISION - MISSION - VALUES */
  .vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
  }

  .vmv-card {
    border-radius: var(--radius-md);
    padding: 30px 24px;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
  }

  .vmv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }

  .vmv-card.vision {
    background: linear-gradient(145deg, #25528f 0%, #356fb3 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
  }
  .vmv-card.vision h3, .vmv-card.vision p {
    color: #ffffff !important;
  }

  .vmv-card.mission {
    background: linear-gradient(145deg, #1d4ed8 0%, #3b82f6 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
  }
  .vmv-card.mission h3, .vmv-card.mission p {
    color: #ffffff !important;
  }

  .vmv-card.values {
    background: linear-gradient(145deg, #b8860b 0%, #d4a017 100%) !important;
    color: #1b3d6c !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
  .vmv-card.values h3, .vmv-card.values p {
    color: #1b3d6c !important;
  }

  .profile-page-root[lang="ar"] .values-pills.lang-ar { display: flex !important; }
  .profile-page-root[lang="ar"] .values-pills.lang-en { display: none !important; }
  .profile-page-root[lang="en"] .values-pills.lang-en { display: flex !important; }
  .profile-page-root[lang="en"] .values-pills.lang-ar { display: none !important; }

  .vmv-icon {
    font-size: 32px;
    margin-bottom: 14px;
    display: inline-block;
  }

  .vmv-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
  }

  .profile-page-root[lang="en"] .vmv-card h3 {
    font-family: 'Montserrat', sans-serif;
  }

  .vmv-card p {
    font-size: 14px;
    line-height: 1.9;
    opacity: 0.94;
  }

  .values-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
  }

  .val-pill {
    background: rgba(27, 61, 108, 0.15);
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1b3d6c;
  }

  /* SERVICES SECTION */
  .services-section {
    background: #eef4fc;
    position: relative;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }

  .service-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
  }

  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
  }

  .service-card-head {
    background: var(--gradient-hero);
    color: #ffffff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .service-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .service-card-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--gold);
  }

  .service-card-head h3 {
    font-size: 17px;
    font-weight: 700;
  }

  .profile-page-root[lang="en"] .service-card-head h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16.5px;
  }

  .service-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .service-list li {
    font-size: 13.5px;
    color: var(--text-mid);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e8edf5;
    line-height: 1.7;
  }

  .service-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .service-list li::before {
    content: "✔";
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 1px;
  }

  /* QUALITY COMMITMENT BANNER */
  .commitment-box {
    background: linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
    border-radius: var(--radius-md);
    padding: 24px 30px;
    margin-top: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
  }

  .profile-page-root[lang="ar"] .commitment-box { border-right: 5px solid var(--gold); }
  .profile-page-root[lang="en"] .commitment-box { border-left: 5px solid var(--gold); }

  .commitment-box h4 {
    color: var(--primary);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .profile-page-root[lang="en"] .commitment-box h4 {
    font-family: 'Montserrat', sans-serif;
  }

  .commitment-box p {
    color: var(--text-mid);
    font-size: 14.5px;
    line-height: 1.95;
  }

  /* SECTORS SECTION */
  .sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }

  .sector-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }

  .sector-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
  }

  .sector-icon {
    width: 48px;
    height: 48px;
    background: #edf4fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .sector-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
  }

  .sector-info h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
  }

  .sector-info p {
    font-size: 12.5px;
    color: var(--text-muted);
  }

  /* WHY CHOOSE US */
  .why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }

  .why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
  }

  .why-icon-bubble {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light) 0%, #ffe8a1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .why-icon-bubble svg {
    width: 26px;
    height: 26px;
    fill: #b8860b;
  }

  .why-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
  }

  .why-card p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.8;
  }

  /* CONTACT SECTION */
  .contact-section {
    background: var(--gradient-hero);
    color: #ffffff;
    padding: 70px 24px;
    position: relative;
    overflow: hidden;
  }

  .contact-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .contact-info-block h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #ffffff;
  }

  .profile-page-root[lang="en"] .contact-info-block h2 {
    font-family: 'Montserrat', sans-serif;
  }

  .contact-info-block p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.9;
    margin-bottom: 30px;
  }

  .contact-channels {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .contact-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .contact-item-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
  }

  .contact-item-text .label {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .contact-item-text .val {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    display: inline-block;
  }

  .contact-card-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
  }

  .contact-card-box h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--gold);
  }

  .profile-page-root[lang="en"] .contact-card-box h3 {
    font-family: 'Montserrat', sans-serif;
  }

  .contact-card-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.85;
  }

  .direct-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold);
    color: var(--primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    padding: 14px 34px;
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.4);
    transition: var(--transition);
  }

  .direct-cta-btn:hover {
    background: #ffc72c;
    transform: translateY(-2px);
  }

  /* FOOTER */
  .site-footer {
    background: #06142e;
    color: rgba(255, 255, 255, 0.6);
    padding: 30px 24px;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
  }

  /* ==========================================================
     PRINT STYLESHEET (CLEAN CONVERSION TO PDF)
  ========================================================== */
  @page {
    size: A4;
    margin: 0; /* يزيل ترويسة وتذييل المتصفح التلقائي: الرابط، التاريخ، وترقيم الصفحات */
  }

  @media print {
    *, *::before, *::after {
      box-shadow: none !important;
      text-shadow: none !important;
    }

    /* إزالة إظهار روابط الـ href التلقائية إن وُجدت */
    a[href]::after,
    a[href]:after {
      content: "" !important;
    }

    body {
      background: #ffffff !important;
      color: #0f172a !important;
      font-size: 10.5pt;
      line-height: 1.5;
      margin: 0 !important;
      padding: 10mm 12mm !important;
      -webkit-print-color-adjust: exact !important;
      print-color-adjust: exact !important;
    }

    html body .profile-page-root .navbar,
    html body .navbar,
    html body nav,
    html body .profile-page-root .subnav-strip,
    html body .subnav-strip,
    .profile-page-root .navbar,
    .profile-page-root .subnav-strip,
    .navbar,
    .subnav-strip,
    .hero-cta-group,
    .btn-print,
    .btn-system-back,
    .btn-id-cards,
    .lang-switcher-bar,
    .hero-bg-shapes,
    .d-print-none,
    .no-print {
      display: none !important;
      visibility: hidden !important;
      height: 0 !important;
      min-height: 0 !important;
      max-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      opacity: 0 !important;
      overflow: hidden !important;
      border: none !important;
    }

    .profile-page-root {
      background: transparent !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    .section-container {
      padding: 14px 0 !important;
      max-width: 100% !important;
    }

    .services-section {
      background: transparent !important;
      padding: 0 !important;
    }

    .section-header {
      margin-bottom: 12px !important;
      text-align: center !important;
      break-after: avoid !important;
      page-break-after: avoid !important;
    }

    .section-tag {
      padding: 2px 10px !important;
      font-size: 8pt !important;
      margin-bottom: 4px !important;
    }

    .section-title {
      font-size: 16pt !important;
      margin-bottom: 4px !important;
      break-after: avoid !important;
      page-break-after: avoid !important;
    }

    .section-divider {
      margin: 6px auto !important;
      width: 45px !important;
      height: 3px !important;
    }

    .section-lead {
      font-size: 9.5pt !important;
      margin: 4px auto 0 !important;
      max-width: 90% !important;
      line-height: 1.4 !important;
    }

    h1, h2, h3, h4, h5, h6 {
      break-after: avoid !important;
      page-break-after: avoid !important;
    }

    /* HERO COVER */
    .hero-section {
      padding: 22px 20px 18px !important;
      background: #25528f !important;
      color: #ffffff !important;
      page-break-after: auto !important;
      break-after: auto !important;
      page-break-before: auto !important;
      break-before: auto !important;
      break-inside: avoid !important;
      page-break-inside: avoid !important;
      border-radius: 8px !important;
      margin-bottom: 16px !important;
    }

    .hero-logo-card {
      width: 80px !important;
      height: 80px !important;
      margin: 0 auto 10px !important;
      background: #ffffff !important;
      border-radius: 12px !important;
      padding: 8px !important;
    }

    .hero-logo-card img {
      max-width: 64px !important;
      max-height: 64px !important;
    }

    .hero-badge {
      font-size: 8.5pt !important;
      padding: 3px 12px !important;
      margin-bottom: 8px !important;
    }

    .hero-title {
      font-size: 20pt !important;
      margin-bottom: 6px !important;
      line-height: 1.3 !important;
      color: #ffffff !important;
    }

    .hero-subtitle {
      font-size: 10pt !important;
      margin-bottom: 14px !important;
      line-height: 1.45 !important;
      color: rgba(255, 255, 255, 0.9) !important;
    }

    .stats-grid {
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 8px !important;
      margin-top: 10px !important;
    }

    .stat-card {
      padding: 10px 6px !important;
      background: rgba(255, 255, 255, 0.15) !important;
      border: 1px solid rgba(255, 255, 255, 0.4) !important;
      border-radius: 6px !important;
      break-inside: avoid !important;
      page-break-inside: avoid !important;
    }

    .stat-number {
      font-size: 18pt !important;
      color: #d4a017 !important;
      font-weight: 800 !important;
    }

    .stat-label {
      font-size: 8.5pt !important;
      color: #ffffff !important;
      margin-top: 2px !important;
    }

    /* ABOUT LEAD */
    .about-lead-card {
      padding: 14px 18px !important;
      font-size: 10pt !important;
      line-height: 1.55 !important;
      background: #f8fafc !important;
      border: 1px solid #cbd5e1 !important;
      border-radius: 8px !important;
      margin-bottom: 12px !important;
      break-inside: avoid !important;
      page-break-inside: avoid !important;
    }

    .about-lead-card p {
      margin-bottom: 8px !important;
    }

    .about-lead-card p:last-child {
      margin-bottom: 0 !important;
    }

    /* VMV CARDS */
    .vmv-grid {
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 10px !important;
      margin-top: 10px !important;
    }

    .vmv-card {
      padding: 12px 14px !important;
      border: 1px solid #cbd5e1 !important;
      border-radius: 8px !important;
      background: #ffffff !important;
      break-inside: avoid !important;
      page-break-inside: avoid !important;
    }

    .vmv-card h3 {
      font-size: 11pt !important;
      margin-bottom: 4px !important;
    }

    .vmv-card p {
      font-size: 9pt !important;
      line-height: 1.4 !important;
      margin-bottom: 8px !important;
    }

    .values-pills {
      gap: 4px !important;
    }

    .val-pill {
      font-size: 7.5pt !important;
      padding: 2px 6px !important;
    }

    /* SERVICES */
    .services-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px !important;
      margin-top: 10px !important;
      page-break-before: auto !important;
      break-before: auto !important;
    }

    .service-card {
      border: 1px solid #cbd5e1 !important;
      border-radius: 8px !important;
      background: #ffffff !important;
      break-inside: avoid !important;
      page-break-inside: avoid !important;
      overflow: hidden !important;
    }

    .service-card-head {
      padding: 8px 12px !important;
      background: #f1f5f9 !important;
      border-bottom: 1px solid #e2e8f0 !important;
    }

    .service-card-head h3 {
      font-size: 10pt !important;
    }

    .service-card-icon {
      width: 28px !important;
      height: 28px !important;
    }

    .service-card-icon svg {
      width: 16px !important;
      height: 16px !important;
    }

    .service-card-body {
      padding: 8px 12px !important;
    }

    .service-list li {
      font-size: 8.5pt !important;
      margin-bottom: 3px !important;
      line-height: 1.35 !important;
    }

    .commitment-box {
      margin-top: 12px !important;
      padding: 10px 14px !important;
      border-radius: 8px !important;
      background: #f8fafc !important;
      border: 1px solid #cbd5e1 !important;
      break-inside: avoid !important;
      page-break-inside: avoid !important;
    }

    .commitment-box h4 {
      font-size: 10pt !important;
      margin-bottom: 4px !important;
    }

    .commitment-box p {
      font-size: 8.5pt !important;
      line-height: 1.4 !important;
    }

    /* SECTORS */
    .sectors-grid {
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 8px !important;
      margin-top: 10px !important;
    }

    .sector-card {
      padding: 10px !important;
      border: 1px solid #cbd5e1 !important;
      border-radius: 6px !important;
      background: #ffffff !important;
      break-inside: avoid !important;
      page-break-inside: avoid !important;
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
    }

    .sector-icon {
      width: 32px !important;
      height: 32px !important;
      min-width: 32px !important;
    }

    .sector-icon svg {
      width: 18px !important;
      height: 18px !important;
    }

    .sector-info h4 {
      font-size: 9.5pt !important;
      margin-bottom: 2px !important;
    }

    .sector-info p {
      font-size: 8pt !important;
      line-height: 1.25 !important;
    }

    /* WHY US */
    .why-us-grid {
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 8px !important;
      margin-top: 10px !important;
    }

    .why-card {
      padding: 10px 8px !important;
      border: 1px solid #cbd5e1 !important;
      border-radius: 6px !important;
      background: #ffffff !important;
      break-inside: avoid !important;
      page-break-inside: avoid !important;
      text-align: center !important;
    }

    .why-icon-bubble {
      width: 32px !important;
      height: 32px !important;
      margin: 0 auto 6px !important;
    }

    .why-icon-bubble svg {
      width: 16px !important;
      height: 16px !important;
    }

    .why-card h4 {
      font-size: 9.5pt !important;
      margin-bottom: 4px !important;
    }

    .why-card p {
      font-size: 8pt !important;
      line-height: 1.3 !important;
    }

    /* CONTACT SECTION */
    .contact-section {
      background: #25528f !important;
      color: #ffffff !important;
      page-break-before: auto !important;
      break-before: auto !important;
      border-radius: 8px !important;
      padding: 18px 20px !important;
      margin-top: 16px !important;
      break-inside: avoid !important;
      page-break-inside: avoid !important;
    }

    .contact-grid {
      grid-template-columns: 1.2fr 0.8fr !important;
      gap: 16px !important;
    }

    .contact-info-block h2 {
      font-size: 14pt !important;
      color: #ffffff !important;
      margin-bottom: 6px !important;
    }

    .contact-info-block p {
      font-size: 8.5pt !important;
      line-height: 1.4 !important;
      color: rgba(255, 255, 255, 0.85) !important;
      margin-bottom: 12px !important;
    }

    .contact-channels {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 8px !important;
    }

    .contact-item {
      padding: 6px 8px !important;
      background: rgba(255, 255, 255, 0.08) !important;
      border-radius: 6px !important;
      break-inside: avoid !important;
    }

    .contact-item-icon {
      width: 24px !important;
      height: 24px !important;
      min-width: 24px !important;
    }

    .contact-item-icon svg {
      width: 14px !important;
      height: 14px !important;
    }

    .contact-item-text .label {
      font-size: 7.5pt !important;
      color: rgba(255, 255, 255, 0.65) !important;
    }

    .contact-item-text .val {
      font-size: 8.5pt !important;
      color: #ffffff !important;
    }

    .contact-card-box {
      padding: 14px !important;
      border-radius: 6px !important;
      background: rgba(255, 255, 255, 0.1) !important;
      border: 1px solid rgba(255, 255, 255, 0.2) !important;
      break-inside: avoid !important;
    }

    .contact-card-box h3 {
      font-size: 11pt !important;
      color: #ffffff !important;
      margin-bottom: 6px !important;
    }

    .contact-card-box p {
      font-size: 8.5pt !important;
      color: rgba(255, 255, 255, 0.85) !important;
      line-height: 1.35 !important;
      margin-bottom: 10px !important;
    }

    .direct-cta-btn {
      display: inline-block !important;
      padding: 6px 14px !important;
      font-size: 8.5pt !important;
    }

    .site-footer {
      display: block !important;
      padding: 8px 0 !important;
      font-size: 8pt !important;
      border-top: 1px solid #e2e8f0 !important;
      color: #64748b !important;
      background: transparent !important;
      margin-top: 14px !important;
      break-inside: avoid !important;
    }
  }

  /* RESPONSIVE DESIGN */
  @media (max-width: 992px) {
    .nav-links { display: none; }
    .vmv-grid, .why-us-grid, .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 32px; }
  }

  @media (max-width: 600px) {
    .services-grid, .vmv-grid, .why-us-grid, .sectors-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 14.5px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .nav-brand-text .sub { display: none; }
    .btn-print span { display: none; }
  }