/**
 * Al-Awwal Medical Group - Corporate Stylesheet
 * التصميم المؤسسي الموحد لبوابة مجموعة الأول الطبية
 * مستوحى ومطوّر كلياً وفقاً لهوية وألوان الشعار الجديد:
 * التدرج الرئيسي: (#0081B8 أزرق سيان -> #00C7D4 فيروزي -> #00B881 زمردي حيوي)
 * الكحلي المحيطي: #062338 | اللوجو مدمج طبيعياً بدون أي إطار أو فريم
 */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  /* Logo Signature Colors */
  --brand-cyan: #0081b8;
  --brand-cyan-light: #00a4e4;
  --brand-turquoise: #00c7d4;
  --brand-emerald: #00b881;
  --brand-emerald-dark: #009668;
  --brand-emerald-light: #10d89c;

  /* Brand Signature Gradients */
  --brand-gradient: linear-gradient(135deg, #0081b8 0%, #00c7d4 50%, #00b881 100%);
  --brand-gradient-h: linear-gradient(90deg, #0081b8 0%, #00b881 100%);
  --brand-gradient-hover: linear-gradient(135deg, #0096d6 0%, #00ddc4 50%, #00cf93 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(0, 129, 184, 0.08) 0%, rgba(0, 184, 129, 0.08) 100%);
  --brand-gradient-dark: linear-gradient(135deg, #041928 0%, #06283f 50%, #093b58 100%);

  /* Deep Oceanic Neutrals */
  --primary-navy-dark: #031422;
  --primary-navy: #062338;
  --primary-navy-light: #0b3857;
  --primary-navy-surface: #10496e;

  /* Surfaces & Backgrounds */
  --surface: #ffffff;
  --surface-muted: #f3f9f9;
  --surface-tinted: #e8f5f6;
  --border-light: #d6ebeb;
  --border-subtle: #e5f1f2;
  --border-strong: #9ed8d7;

  /* Typography Colors */
  --text-main: #061c2c;
  --text-body: #1e3a4d;
  --text-muted: #4e6f83;
  --text-light: #7c9baa;

  /* Branch Accents */
  --alawwal-purple: #7e22ce;
  --alawwal-purple-dark: #581c87;
  --alawwal-purple-bg: #faf5ff;
  --alawwal-purple-border: #d8b4fe;

  --abkar-blue: #0284c7;
  --abkar-blue-dark: #0369a1;
  --abkar-blue-bg: #f0f9ff;
  --abkar-blue-border: #7dd3fc;

  /* Shadows & Glows */
  --shadow-sm: 0 1px 3px rgba(6, 35, 56, 0.06);
  --shadow-md: 0 4px 12px rgba(6, 35, 56, 0.08), 0 2px 4px rgba(0, 129, 184, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(6, 35, 56, 0.12), 0 4px 8px -2px rgba(0, 184, 129, 0.05);
  --shadow-xl: 0 20px 35px -6px rgba(6, 35, 56, 0.16);
  --shadow-glow: 0 0 25px rgba(0, 199, 212, 0.35);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Fonts */
  --font-heading: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Cairo', system-ui, -apple-system, sans-serif;
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-body);
  background-color: var(--surface-muted);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 800;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* =========================================================
   1. GLOBAL NETWORK BAR (شريط الشبكة العابر للمواقع)
   ========================================================= */
.network-bar {
  margin: 0 !important;
  top: 0;
  background: var(--primary-navy-dark);
  color: #e2e8f0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(0, 199, 212, 0.15);
  position: relative;
  z-index: 100;
}

.network-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}

.network-bar-intro {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #94b5cb;
}

.network-bar-intro .badge-network {
  background: rgba(0, 199, 212, 0.15);
  color: var(--brand-turquoise);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(0, 199, 212, 0.35);
}

.network-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.network-link-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

.network-link-item:hover {
  background: rgba(0, 199, 212, 0.2);
  border-color: var(--brand-turquoise);
  transform: translateY(-1px);
}

.network-link-item.active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 129, 184, 0.3);
}

.network-link-item.is-alawwal {
  border-color: rgba(216, 180, 254, 0.4);
}
.network-link-item.is-alawwal:hover {
  background: rgba(126, 34, 206, 0.4);
  color: #f5d0fe;
}

.network-link-item.is-abkar {
  border-color: rgba(125, 211, 252, 0.4);
}
.network-link-item.is-abkar:hover {
  background: rgba(2, 132, 199, 0.4);
  color: #bae6fd;
}

.network-link-item .ext-arrow {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* =========================================================
   2. MAIN CORPORATE HEADER (بدون أي فريم حول اللوجو)
   ========================================================= */
.corp-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.corp-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* شعار الموقع النقي - بدون أي فريم أو إطار نهائياً */
.brand-symbol-pure {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  flex-shrink: 0;
}

.brand-symbol-pure img,
.brand-symbol-pure svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 8px rgba(0, 129, 184, 0.18));
  transition: transform 0.3s ease;
}

.brand-wrapper:hover .brand-symbol-pure img {
  transform: scale(1.05) rotate(2deg);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-titles-main {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-titles-sub {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-cyan);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.corp-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.corp-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.corp-nav-link:hover {
  color: var(--brand-cyan);
  background: var(--surface-tinted);
}

.corp-nav-link.active {
  color: var(--brand-cyan);
  font-weight: 800;
}

.corp-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-gradient);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(0, 129, 184, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-action-btn:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--primary-navy);
}

/* =========================================================
   3. HERO SECTION & SMART GATEWAY
   ========================================================= */
.hero-corporate {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(0, 199, 212, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 10% 85%, rgba(0, 184, 129, 0.1) 0%, transparent 55%),
              linear-gradient(180deg, #ffffff 0%, var(--surface-muted) 100%);
  padding: 75px 0 85px;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-corporate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient-h);
}

.hero-header-box {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 50px;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 199, 212, 0.1);
  color: var(--brand-cyan);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 129, 184, 0.25);
  box-shadow: 0 2px 8px rgba(0, 199, 212, 0.12);
}

.hero-title-main {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.25;
}

.hero-title-main span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.22rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 30px;
}

/* Dual Split Center Cards (بوابات المراكز) */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.center-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid transparent;
}

.center-card:hover {
  transform: translateY(-6px);
}

/* Card: Al-Awwal Center */
.center-card.alawwal-theme {
  border-color: var(--alawwal-purple-border);
  background: linear-gradient(180deg, var(--alawwal-purple-bg) 0%, #ffffff 100%);
}
.center-card.alawwal-theme:hover {
  box-shadow: 0 20px 32px -8px rgba(126, 34, 206, 0.22);
}

/* Card: Abkar Center */
.center-card.abkar-theme {
  border-color: var(--abkar-blue-border);
  background: linear-gradient(180deg, var(--abkar-blue-bg) 0%, #ffffff 100%);
}
.center-card.abkar-theme:hover {
  box-shadow: 0 20px 32px -8px rgba(2, 132, 199, 0.22);
}

.center-card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.center-logo-box {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  padding: 4px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius-md) - 4px);
}

.center-meta-box {
  flex-grow: 1;
}

.center-role-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.alawwal-theme .center-role-tag {
  background: var(--alawwal-purple);
  color: #ffffff;
}

.abkar-theme .center-role-tag {
  background: var(--abkar-blue);
  color: #ffffff;
}

.center-name-ar {
  font-size: 1.65rem;
  font-weight: 900;
  margin-bottom: 4px;
  line-height: 1.25;
}

.center-name-en {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.center-location-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}
.alawwal-theme .center-location-line { color: var(--alawwal-purple-dark); }
.abkar-theme .center-location-line { color: var(--abkar-blue-dark); }

.center-desc {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.center-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.center-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.center-feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 900;
}
.alawwal-theme .center-feature-icon { background: #f3e8ff; color: var(--alawwal-purple); }
.abkar-theme .center-feature-icon { background: #e0f2fe; color: var(--abkar-blue); }

.center-cta-box {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-center-domain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.02rem;
  transition: all 0.25s ease;
  text-align: right;
}

.alawwal-theme .btn-center-domain {
  background: var(--alawwal-purple);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(126, 34, 206, 0.28);
}
.alawwal-theme .btn-center-domain:hover {
  background: var(--alawwal-purple-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.abkar-theme .btn-center-domain {
  background: var(--abkar-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}
.abkar-theme .btn-center-domain:hover {
  background: var(--abkar-blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-center-domain .domain-badge {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-family: monospace;
  direction: ltr;
}

/* =========================================================
   4. SMART ROUTE FINDER (الموجّه الطبي الذكي)
   ========================================================= */
.section-router {
  background: #ffffff;
  padding: 75px 0;
  border-bottom: 1px solid var(--border-light);
}

.router-container {
  background: var(--brand-gradient-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 199, 212, 0.25);
}

.router-container::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 199, 212, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.router-container::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 184, 129, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.router-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 38px;
}

.router-head h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.router-head p {
  color: #cbe3f0;
  font-size: 1.05rem;
}

.router-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.router-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body);
}

.router-tab-btn.active, .router-tab-btn:hover {
  background: var(--brand-gradient);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 199, 212, 0.35);
}

.router-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.route-option-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: right;
}

.route-option-card:hover, .route-option-card.selected {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--brand-turquoise);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.route-option-card h4 {
  color: #ffffff;
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.route-option-card p {
  color: #a8ccdf;
  font-size: 0.86rem;
  line-height: 1.5;
}

.route-recommendation-box {
  background: rgba(3, 20, 34, 0.6);
  border: 1px solid rgba(0, 199, 212, 0.25);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.rec-info-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.rec-info-desc {
  color: #d1e7f3;
  font-size: 0.94rem;
}

.btn-route-action {
  background: var(--brand-gradient);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.btn-route-action:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #ffffff;
}

/* =========================================================
   5. GROUP PILLARS & MEDICAL STANDARDS
   ========================================================= */
.section-padding {
  padding: 85px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-block;
  color: var(--brand-cyan);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  background: var(--brand-gradient-subtle);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-turquoise);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient-subtle);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  border: 1px solid var(--border-light);
}

.pillar-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary-navy);
}

.pillar-text {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* =========================================================
   6. METRICS & NUMBERS SECTION
   ========================================================= */
.section-metrics {
  background: var(--brand-gradient-dark);
  color: #ffffff;
  padding: 65px 0;
  border-top: 1px solid rgba(0, 199, 212, 0.15);
  border-bottom: 1px solid rgba(0, 199, 212, 0.15);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-item {
  padding: 20px;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.metric-sub {
  font-size: 0.86rem;
  color: #9ec3d8;
}

/* =========================================================
   7. INSURANCE & CORPORATE PARTNERS
   ========================================================= */
.partners-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 45px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.partners-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient-h);
}

.partners-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.partner-badge {
  background: var(--surface-muted);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--text-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.partner-badge:hover {
  border-color: var(--brand-turquoise);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   8. CORPORATE FOOTER (مع الشعار النقي بدون فريم)
   ========================================================= */
.corp-footer {
  background: var(--primary-navy-dark);
  color: #cbd5e1;
  padding-top: 75px;
  border-top: 1px solid rgba(0, 199, 212, 0.15);
  position: relative;
}

.corp-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient-h);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-logo-frameless {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.footer-brand-logo-frameless img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-col-brand .footer-brand-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-col-brand .footer-brand-en {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-turquoise);
  letter-spacing: 0.6px;
  margin-bottom: 16px;
  display: block;
}

.footer-col-brand p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #9cbacf;
  margin-bottom: 22px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background: var(--brand-gradient-h);
  border-radius: var(--radius-full);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list li a {
  color: #c7dbe6;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list li a:hover {
  color: var(--brand-turquoise);
  transform: translateX(-3px);
}

.footer-center-card-mini {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.footer-center-card-mini:hover {
  border-color: rgba(0, 199, 212, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.footer-center-card-mini b {
  display: block;
  color: #ffffff;
  font-size: 0.94rem;
  margin-bottom: 3px;
}

.footer-center-card-mini span {
  font-size: 0.82rem;
  color: #9cbacf;
  display: block;
  margin-bottom: 6px;
}

.footer-center-card-mini a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-turquoise);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-center-card-mini a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.88rem;
  color: #7a9cb3;
}

.footer-bottom-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================================================
   9. RESPONSIVE DESIGN (الهواتف والشاشات الصغيرة)
   ========================================================= */
@media (max-width: 992px) {
  .corp-nav {
    display: none;
  }

  .corp-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    align-items: stretch;
  }

  .menu-toggle {
    display: block;
  }

  .gateway-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .router-options-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title-main {
    font-size: 2.2rem;
  }

  .network-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .network-links {
    width: 100%;
    justify-content: space-between;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .router-container {
    padding: 26px 20px;
  }
}
