/* ═══ SAFETY: Default SVG sizing ═══ */
.mc-page svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.mc-page .mc-topbar-icon { width: 14px !important; height: 14px !important; }
.mc-page .mc-btn-icon { width: 16px !important; height: 16px !important; }
.mc-page .mc-product-icon svg { width: 32px !important; height: 32px !important; }
.mc-page .mc-category-icon svg { width: 24px !important; height: 24px !important; }
.mc-page .mc-solution-icon svg { width: 24px !important; height: 24px !important; }
.mc-page .mc-step-icon svg { width: 20px !important; height: 20px !important; }
.mc-page .mc-why-icon svg { width: 28px !important; height: 28px !important; }
.mc-page .mc-footer-contact-item svg { width: 14px !important; height: 14px !important; }
.mc-page .mc-product-link svg { width: 14px !important; height: 14px !important; }
/* ═══════════════════════════════════════════════════
   MANTHORA CORPORATE - Professional Design System
   Based on IBM Plex Sans Arabic + Inspired by Najiz
   ═══════════════════════════════════════════════════ */

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

:root {
  /* Brand Colors */
  --mc-primary: #0C2F4D;
  --mc-primary-light: #1A4A75;
  --mc-primary-dark: #08203A;
  --mc-primary-darker: #061829;
  
  /* Accent Colors */
  --mc-accent: #2563EB;
  --mc-success: #059669;
  --mc-warning: #D97706;
  --mc-danger: #DC2626;
  --mc-info: #0891B2;
  
  /* Neutrals - Refined Scale */
  --mc-white: #FFFFFF;
  --mc-gray-50: #F9FAFB;
  --mc-gray-100: #F3F4F6;
  --mc-gray-200: #E5E7EB;
  --mc-gray-300: #D1D5DB;
  --mc-gray-400: #9CA3AF;
  --mc-gray-500: #6B7280;
  --mc-gray-600: #4B5563;
  --mc-gray-700: #374151;
  --mc-gray-800: #1F2937;
  --mc-gray-900: #111827;
  
  /* Spacing */
  --mc-radius-sm: 4px;
  --mc-radius-md: 6px;
  --mc-radius-lg: 8px;
  --mc-radius-xl: 12px;
  
  /* Shadows - Subtle & Professional */
  --mc-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --mc-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --mc-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --mc-shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.08);
  
  /* Transitions */
  --mc-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════
   Reset & Base
   ═══════════════════════════════════════════════════ */

.mc-page {
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--mc-gray-800);
  background: var(--mc-white);
  direction: rtl;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mc-page * {
  box-sizing: border-box;
}

.mc-page a {
  text-decoration: none;
  transition: var(--mc-transition);
}

.mc-page h1, .mc-page h2, .mc-page h3, .mc-page h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mc-primary);
  margin: 0;
}

.mc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* English Numbers Always LTR */
.mc-num {
  font-family: 'IBM Plex Sans', sans-serif;
  direction: ltr;
  display: inline-block;
  font-feature-settings: "tnum";
}

/* ═══════════════════════════════════════════════════
   Top Bar
   ═══════════════════════════════════════════════════ */

.mc-topbar {
  background: var(--mc-primary-darker);
  color: rgba(255,255,255,0.75);
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mc-topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mc-topbar-left, .mc-topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.mc-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mc-topbar-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.mc-topbar a {
  color: rgba(255,255,255,0.75);
}

.mc-topbar a:hover {
  color: white;
}

/* ═══════════════════════════════════════════════════
   Header
   ═══════════════════════════════════════════════════ */

.mc-header {
  background: white;
  border-bottom: 1px solid var(--mc-gray-200);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--mc-shadow-sm);
}

.mc-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mc-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--mc-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  border-radius: var(--mc-radius-md);
  letter-spacing: 0;
}

.mc-logo-text {
  display: flex;
  flex-direction: column;
}

.mc-logo-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--mc-primary);
  line-height: 1;
}

.mc-logo-sub {
  font-size: 9px;
  color: var(--mc-gray-500);
  letter-spacing: 1.8px;
  margin-top: 4px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
}

.mc-nav {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mc-nav a {
  color: var(--mc-gray-700);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--mc-radius-sm);
}

.mc-nav a:hover {
  color: var(--mc-primary);
  background: var(--mc-gray-50);
}

.mc-nav a.active {
  color: var(--mc-primary);
  background: var(--mc-gray-100);
}

/* ═══════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════ */

.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border-radius: var(--mc-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--mc-transition);
  text-align: center;
  line-height: 1.4;
}

.mc-btn-primary {
  background: var(--mc-primary);
  color: white;
}

.mc-btn-primary:hover {
  background: var(--mc-primary-light);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--mc-shadow-md);
}

.mc-btn-secondary {
  background: white;
  color: var(--mc-primary);
  border-color: var(--mc-gray-300);
}

.mc-btn-secondary:hover {
  border-color: var(--mc-primary);
  background: var(--mc-gray-50);
}

.mc-btn-light {
  background: white;
  color: var(--mc-primary);
}

.mc-btn-light:hover {
  background: var(--mc-gray-50);
  color: var(--mc-primary);
}

.mc-btn-outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
}

.mc-btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

.mc-btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.mc-btn-icon {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════ */

.mc-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--mc-gray-200);
}

.mc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--mc-gray-200);
  border-radius: 99px;
  font-size: 12px;
  color: var(--mc-gray-700);
  margin-bottom: 28px;
  font-weight: 500;
  box-shadow: var(--mc-shadow-sm);
}

.mc-hero-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mc-success);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.mc-hero h1 {
  font-size: 48px;
  font-weight: 600;
  color: var(--mc-primary);
  margin: 0 0 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.mc-hero-desc {
  font-size: 17px;
  color: var(--mc-gray-600);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.mc-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   Stats Bar
   ═══════════════════════════════════════════════════ */

.mc-stats {
  background: white;
  padding: 40px 0;
  border-bottom: 1px solid var(--mc-gray-200);
}

.mc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.mc-stat {
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.mc-stat:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: var(--mc-gray-200);
}

.mc-stat-number {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--mc-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  direction: ltr;
}

.mc-stat-label {
  font-size: 13px;
  color: var(--mc-gray-500);
  margin-top: 8px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   Sections
   ═══════════════════════════════════════════════════ */

.mc-section {
  padding: 80px 0;
}

.mc-section-light {
  background: var(--mc-gray-50);
}

.mc-section-dark {
  background: var(--mc-primary);
  color: white;
}

.mc-section-darker {
  background: var(--mc-primary-darker);
  color: white;
}

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

.mc-section-eyebrow {
  display: inline-block;
  padding: 5px 12px;
  background: var(--mc-gray-100);
  color: var(--mc-primary);
  border-radius: var(--mc-radius-sm);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'IBM Plex Sans', sans-serif;
}

.mc-section-dark .mc-section-eyebrow,
.mc-section-darker .mc-section-eyebrow {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

.mc-section h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--mc-primary);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mc-section-dark h2,
.mc-section-darker h2 {
  color: white;
}

.mc-section-desc {
  font-size: 16px;
  color: var(--mc-gray-500);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.mc-section-dark .mc-section-desc,
.mc-section-darker .mc-section-desc {
  color: rgba(255,255,255,0.7);
}

/* ═══════════════════════════════════════════════════
   Category Header (في صفحة المنتجات)
   ═══════════════════════════════════════════════════ */

.mc-category {
  margin-bottom: 56px;
}

.mc-category:last-child {
  margin-bottom: 0;
}

.mc-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--mc-gray-200);
}

.mc-category-icon {
  width: 48px;
  height: 48px;
  background: var(--mc-gray-100);
  color: var(--mc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mc-radius-md);
  flex-shrink: 0;
}

.mc-category-icon svg {
  width: 24px;
  height: 24px;
}

.mc-category-info {
  flex: 1;
}

.mc-category-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--mc-primary);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.mc-category-desc {
  font-size: 14px;
  color: var(--mc-gray-500);
  margin: 0;
}

.mc-category-count {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: var(--mc-gray-500);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   Product Cards (Refined)
   ═══════════════════════════════════════════════════ */

.mc-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mc-product-card {
  background: white;
  border: 1px solid var(--mc-gray-200);
  border-radius: var(--mc-radius-lg);
  overflow: hidden;
  transition: var(--mc-transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.mc-product-card:hover {
  border-color: var(--mc-primary);
  transform: translateY(-3px);
  box-shadow: var(--mc-shadow-lg);
}

.mc-product-header {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  overflow: hidden;
}

.mc-product-header.color-primary {
  background: linear-gradient(135deg, #0C2F4D 0%, #1A4A75 100%);
}

.mc-product-header.color-danger {
  background: linear-gradient(135deg, #991B1B 0%, #DC2626 100%);
}

.mc-product-header.color-success {
  background: linear-gradient(135deg, #065F46 0%, #059669 100%);
}

.mc-product-header.color-info {
  background: linear-gradient(135deg, #155E75 0%, #0891B2 100%);
}

.mc-product-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: var(--mc-radius-md);
  backdrop-filter: blur(10px);
}

.mc-product-icon svg {
  width: 32px;
  height: 32px;
}

.mc-product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.25);
  color: white;
  border-radius: var(--mc-radius-sm);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'IBM Plex Sans', sans-serif;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.mc-product-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mc-product-name {
  font-weight: 600;
  font-size: 17px;
  color: var(--mc-primary);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.mc-product-desc {
  font-size: 13px;
  color: var(--mc-gray-500);
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}

.mc-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--mc-gray-100);
}

.mc-status {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.mc-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mc-status.available {
  color: var(--mc-success);
}
.mc-status.available::before {
  background: var(--mc-success);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.mc-status.on-demand {
  color: var(--mc-warning);
}
.mc-status.on-demand::before {
  background: var(--mc-warning);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.mc-status.coming-soon {
  color: var(--mc-gray-500);
}
.mc-status.coming-soon::before {
  background: var(--mc-gray-400);
}

.mc-product-link {
  font-size: 13px;
  color: var(--mc-primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mc-product-card:hover .mc-product-link {
  gap: 8px;
}

/* ═══════════════════════════════════════════════════
   Solutions Cards
   ═══════════════════════════════════════════════════ */

.mc-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mc-solution-card {
  background: white;
  border: 1px solid var(--mc-gray-200);
  border-radius: var(--mc-radius-lg);
  padding: 32px 28px;
  border-top: 3px solid;
  transition: var(--mc-transition);
}

.mc-solution-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--mc-shadow-md);
}

.mc-solution-card.gov { border-top-color: var(--mc-primary); }
.mc-solution-card.security { border-top-color: var(--mc-danger); }
.mc-solution-card.commercial { border-top-color: var(--mc-info); }

.mc-solution-icon {
  width: 48px;
  height: 48px;
  background: var(--mc-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mc-radius-md);
  margin-bottom: 18px;
  color: var(--mc-primary);
}

.mc-solution-icon svg {
  width: 24px;
  height: 24px;
}

.mc-solution-name {
  font-weight: 600;
  font-size: 17px;
  color: var(--mc-primary);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.mc-solution-desc {
  font-size: 14px;
  color: var(--mc-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   How We Work
   ═══════════════════════════════════════════════════ */

.mc-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mc-step {
  background: white;
  border: 1px solid var(--mc-gray-200);
  border-radius: var(--mc-radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: var(--mc-transition);
}

.mc-step:hover {
  border-color: var(--mc-primary);
  box-shadow: var(--mc-shadow-md);
}

.mc-step-number {
  font-family: 'IBM Plex Sans', sans-serif;
  position: absolute;
  top: -12px;
  right: 22px;
  padding: 4px 10px;
  background: var(--mc-primary);
  color: white;
  border-radius: var(--mc-radius-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mc-step-icon {
  width: 40px;
  height: 40px;
  background: var(--mc-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mc-radius-md);
  margin-bottom: 14px;
  color: var(--mc-primary);
}

.mc-step-icon svg {
  width: 20px;
  height: 20px;
}

.mc-step-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--mc-primary);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.mc-step-desc {
  font-size: 13px;
  color: var(--mc-gray-500);
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   Why Manthora (Dark Section)
   ═══════════════════════════════════════════════════ */

.mc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.mc-why-item {
  text-align: center;
}

.mc-why-icon {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  border-radius: var(--mc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: white;
}

.mc-why-icon svg {
  width: 28px;
  height: 28px;
}

.mc-why-name {
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 8px;
  color: white;
  letter-spacing: -0.01em;
}

.mc-why-desc {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.7;
  margin: 0;
  color: white;
}

/* ═══════════════════════════════════════════════════
   CTA Section
   ═══════════════════════════════════════════════════ */

.mc-cta {
  padding: 80px 0;
  text-align: center;
  background: white;
  border-top: 1px solid var(--mc-gray-200);
}

.mc-cta h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--mc-primary);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.mc-cta p {
  font-size: 16px;
  color: var(--mc-gray-500);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.mc-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════ */

.mc-footer {
  background: var(--mc-primary-darker);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 20px;
}

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

.mc-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mc-footer-brand-icon {
  width: 32px;
  height: 32px;
  background: white;
  color: var(--mc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--mc-radius-sm);
  font-size: 16px;
}

.mc-footer-brand-name {
  color: white;
  font-weight: 600;
  font-size: 17px;
}

.mc-footer-desc {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

.mc-footer-title {
  color: white;
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 16px;
  letter-spacing: 0.3px;
}

.mc-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 2.2;
}

.mc-footer-links a {
  color: rgba(255,255,255,0.65);
}

.mc-footer-links a:hover {
  color: white;
}

.mc-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.mc-footer-contact-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  flex-shrink: 0;
}

.mc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.mc-footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ═══════════════════════════════════════════════════
   Page Hero (للصفحات الداخلية)
   ═══════════════════════════════════════════════════ */

.mc-page-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--mc-gray-200);
}

.mc-page-hero h1 {
  font-size: 40px;
  font-weight: 600;
  color: var(--mc-primary);
  margin: 0 0 14px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.mc-page-hero p {
  font-size: 16px;
  color: var(--mc-gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.mc-page-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--mc-gray-500);
}

/* ═══════════════════════════════════════════════════
   Forms
   ═══════════════════════════════════════════════════ */

.mc-form-group {
  margin-bottom: 18px;
}

.mc-form-label {
  display: block;
  font-size: 13px;
  color: var(--mc-gray-700);
  margin-bottom: 6px;
  font-weight: 500;
}

.mc-form-input,
.mc-form-textarea,
.mc-form-select {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--mc-gray-300);
  border-radius: var(--mc-radius-sm);
  background: white;
  color: var(--mc-gray-800);
  transition: var(--mc-transition);
}

.mc-form-input:focus,
.mc-form-textarea:focus,
.mc-form-select:focus {
  outline: none;
  border-color: var(--mc-primary);
  box-shadow: 0 0 0 3px rgba(12,47,77,0.08);
}

.mc-form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ═══════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .mc-hero h1 { font-size: 38px; }
  .mc-section h2, .mc-cta h2 { font-size: 30px; }
  .mc-products-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mc-hero { padding: 60px 0; }
  .mc-hero h1 { font-size: 32px; }
  .mc-hero-desc { font-size: 15px; }
  .mc-section, .mc-cta { padding: 56px 0; }
  .mc-section h2, .mc-cta h2 { font-size: 26px; }
  .mc-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-stat:nth-child(2)::before { display: none; }
  .mc-products-grid,
  .mc-solutions-grid,
  .mc-why-grid { grid-template-columns: 1fr; }
  .mc-nav { display: none; }
  .mc-page-hero h1 { font-size: 30px; }
  .mc-stat:not(:last-child)::before { display: none; }
}

/* ═══ FIX: Product card icons size ═══ */
.mc-page .mc-product-icon {
  width: 56px !important;
  height: 56px !important;
}
.mc-page .mc-product-icon svg {
  width: 32px !important;
  height: 32px !important;
  color: white !important;
}

/* ═══ FIX: Eyebrow labels RTL ═══ */
.mc-page .mc-section-eyebrow {
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-family: 'IBM Plex Sans Arabic', sans-serif !important;
  font-size: 12px !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  background: var(--mc-gray-100) !important;
  color: var(--mc-primary) !important;
  font-weight: 500 !important;
}

.mc-page .mc-section-dark .mc-section-eyebrow,
.mc-page .mc-section-darker .mc-section-eyebrow {
  background: rgba(255,255,255,0.15) !important;
  color: rgba(255,255,255,0.95) !important;
}

/* ═══ Card hover effects ═══ */
.mc-page .mc-section-light > .mc-container > div > div:hover {
  transform: translateY(-3px);
  box-shadow: var(--mc-shadow-lg);
  transition: all 0.3s;
}

/* ═══ AI Category Color (Purple Gradient) ═══ */
.mc-page .mc-product-header.color-purple {
  background: linear-gradient(135deg, #4C1D95 0%, #7C3AED 100%);
}

/* AI Category badge with subtle highlight */
.mc-page .mc-category[data-featured="true"] {
  position: relative;
}

/* AI category icon with purple tint */
.mc-page .mc-category-icon.ai-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(76, 29, 149, 0.1) 100%);
  color: #7C3AED;
}

/* New badge for AI category */
.mc-page .mc-category-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: linear-gradient(135deg, #7C3AED 0%, #4C1D95 100%);
  color: white;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'IBM Plex Sans', sans-serif;
  margin-right: 8px;
}

/* Force AI purple gradient */
.mc-page .mc-product-card .mc-product-header.color-purple {
  background: linear-gradient(135deg, #4C1D95 0%, #7C3AED 100%) !important;
}

/* ═══ NEW LOGO STYLES ═══ */
.mc-page .mc-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mc-page .mc-logo:hover {
  opacity: 0.85;
}

.mc-page .mc-logo-svg {
  flex-shrink: 0;
  width: 44px !important;
  height: 44px !important;
}

/* إخفاء الـ icon القديم (المربع) */
.mc-page .mc-logo-icon {
  display: none !important;
}

/* تحسين Footer logo */
.mc-page .mc-footer-brand svg {
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0;
}

.mc-page .mc-footer-brand-icon {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════
   NEW STYLES - v19.0.2.0.0
   Manthora Corporate Website Revamp
   ═══════════════════════════════════════════════════════ */


/* ═══ Hero Badge ═══ */
.mc-page .mc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 999px;
  font-size: 13px;
  color: #4C1D95;
  margin-bottom: 20px;
}

.mc-page .mc-hero-dot {
  width: 8px;
  height: 8px;
  background: #7C3AED;
  border-radius: 50%;
  display: inline-block;
}


/* ═══ Featured Products Grid ═══ */
.mc-page .mc-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.mc-page .mc-featured-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-page .mc-featured-card:hover {
  border-color: #7C3AED;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 47, 77, 0.08);
  text-decoration: none;
}

.mc-page .mc-featured-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  color: white;
}

.mc-page .mc-icon-business { background: #1A4A75; }
.mc-page .mc-icon-ai { background: linear-gradient(135deg, #4C1D95, #7C3AED); }
.mc-page .mc-icon-security { background: #C53030; }
.mc-page .mc-icon-infrastructure { background: #059669; }
.mc-page .mc-icon-hardware { background: #D97706; }
.mc-page .mc-icon-mobile { background: #0891B2; }
.mc-page .mc-icon-consulting { background: #6B7280; }

.mc-page .mc-featured-category {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
}

.mc-page .mc-featured-title {
  font-size: 22px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0;
}

.mc-page .mc-featured-desc {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.7;
  margin: 0;
  flex-grow: 1;
}

.mc-page .mc-featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #F3F4F6;
}

.mc-page .mc-featured-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #7C3AED;
  font-weight: 500;
}


/* ═══ Categories Grid ═══ */
.mc-page .mc-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.mc-page .mc-category-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}

.mc-page .mc-category-card:hover {
  border-color: #7C3AED;
  box-shadow: 0 4px 12px rgba(12, 47, 77, 0.05);
}

.mc-page .mc-category-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F3F4F6;
}

.mc-page .mc-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.mc-page .mc-category-info {
  flex: 1;
}

.mc-page .mc-category-name-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.mc-page .mc-category-name {
  font-size: 17px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0;
}

.mc-page .mc-badge-new {
  display: inline-block;
  background: #7C3AED;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mc-page .mc-category-desc {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

.mc-page .mc-category-count {
  background: #F3F4F6;
  color: #0C2F4D;
  font-size: 18px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  min-width: 40px;
  text-align: center;
}

.mc-page .mc-category-products {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mc-page .mc-cat-product-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #374151;
  font-size: 13px;
  transition: all 0.15s ease;
}

.mc-page .mc-cat-product-link:hover {
  background: #F8FAFC;
  color: #0C2F4D;
  text-decoration: none;
}

.mc-page .mc-cat-product-name {
  font-weight: 500;
}

.mc-page .mc-status-sm {
  font-size: 10px !important;
  padding: 2px 8px !important;
}


/* ═══ Legal Card (السجل التجاري) ═══ */
.mc-page .mc-legal-card {
  background: white;
  border: 2px solid #0C2F4D;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.mc-page .mc-legal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E5E7EB;
}

.mc-page .mc-legal-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0C2F4D, #7C3AED);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.mc-page .mc-legal-eyebrow {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.mc-page .mc-legal-title {
  font-size: 22px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0;
}

.mc-page .mc-legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.mc-page .mc-legal-item {
  background: #F8FAFC;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
}

.mc-page .mc-legal-label {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
  margin-bottom: 6px;
}

.mc-page .mc-legal-value {
  font-size: 16px;
  color: #0C2F4D;
  font-weight: 600;
}

.mc-page .mc-mono {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  letter-spacing: 1px;
}

.mc-page .mc-status-active {
  display: inline-block;
  background: #D1FAE5;
  color: #065F46;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}


/* ═══ About Cards ═══ */
.mc-page .mc-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.mc-page .mc-about-card {
  background: white;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
}

.mc-page .mc-about-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0C2F4D, #1A4A75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 16px;
}

.mc-page .mc-about-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 12px 0;
}

.mc-page .mc-about-card p {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.7;
  margin: 0;
}


/* ═══ Open Source Grid (6 نقاط) ═══ */
.mc-page .mc-os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.mc-page .mc-os-item {
  background: white;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  border-right: 4px solid #7C3AED;
}

.mc-page .mc-os-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: #7C3AED;
  margin-bottom: 8px;
}

.mc-page .mc-os-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 8px 0;
}

.mc-page .mc-os-item p {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}


/* ═══ Contact Page (نموذج تسجيل الاهتمامات) ═══ */
.mc-page .mc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .mc-page .mc-contact-grid {
    grid-template-columns: 1fr;
  }
}

.mc-page .mc-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mc-page .mc-contact-info-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
}

.mc-page .mc-contact-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #0C2F4D;
}

.mc-page .mc-contact-info-header h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.mc-page .mc-contact-info-value {
  font-size: 16px;
  font-weight: 600;
  color: #0C2F4D;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

a.mc-contact-info-value:hover {
  color: #7C3AED;
}

.mc-page .mc-contact-info-note {
  font-size: 12px;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}


/* ═══ Form Styles ═══ */
.mc-page .mc-contact-form-wrapper {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
}

.mc-page .mc-form-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F3F4F6;
}

.mc-page .mc-form-header h2 {
  font-size: 22px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 4px 0;
}

.mc-page .mc-form-header p {
  font-size: 12px;
  color: #9CA3AF;
  margin: 0;
}

.mc-page .mc-form-row {
  margin-bottom: 18px;
}

.mc-page .mc-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .mc-page .mc-form-row-2 {
    grid-template-columns: 1fr;
  }
}

.mc-page .mc-form-group {
  margin-bottom: 18px;
}

.mc-page .mc-form-group label {
  display: block;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  margin-bottom: 6px;
}

.mc-page .mc-form-group input,
.mc-page .mc-form-group select,
.mc-page .mc-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: white;
  color: #0C2F4D;
  transition: all 0.15s ease;
}

.mc-page .mc-form-group input:focus,
.mc-page .mc-form-group select:focus,
.mc-page .mc-form-group textarea:focus {
  outline: none;
  border-color: #7C3AED;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.mc-page .mc-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.mc-page .mc-form-actions {
  margin-top: 24px;
}

.mc-page .mc-btn-block {
  width: 100%;
  justify-content: center;
}

.mc-page .mc-form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: #6B7280;
}


/* ═══ Thank You Page ═══ */
.mc-page .mc-thank-you {
  padding: 80px 0;
}

.mc-page .mc-thank-you-card {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  text-align: center;
}

.mc-page .mc-thank-you-icon {
  width: 80px;
  height: 80px;
  background: #D1FAE5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.mc-page .mc-thank-you-title {
  font-size: 32px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 16px 0;
}

.mc-page .mc-thank-you-message {
  font-size: 16px;
  color: #4B5563;
  line-height: 1.7;
  margin: 0 0 32px 0;
}

.mc-page .mc-thank-you-next {
  background: #F8FAFC;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
  text-align: right;
}

.mc-page .mc-thank-you-next h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 20px 0;
}

.mc-page .mc-next-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mc-page .mc-next-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.mc-page .mc-step-number {
  width: 32px;
  height: 32px;
  background: #7C3AED;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.mc-page .mc-next-step strong {
  display: block;
  color: #0C2F4D;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.mc-page .mc-next-step p {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
}

.mc-page .mc-thank-you-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ═══ Footer Legal ═══ */
.mc-page .mc-footer-legal {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mc-page .mc-footer-legal-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.mc-page .mc-footer-legal-label {
  color: rgba(255, 255, 255, 0.6);
}

.mc-page .mc-footer-legal-value {
  color: white;
  font-weight: 500;
}

.mc-page .mc-footer-brand-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  margin-top: 2px;
}

.mc-page .mc-footer-bottom-links span {
  margin-right: 6px;
}

.mc-page .mc-footer-divider {
  opacity: 0.4;
}


/* ═══ Services Page ═══ */
.mc-page .mc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.mc-page .mc-service-card {
  background: white;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  transition: all 0.2s ease;
}

.mc-page .mc-service-card:hover {
  border-color: #7C3AED;
  transform: translateY(-2px);
}

.mc-page .mc-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0C2F4D, #7C3AED);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 16px;
}

.mc-page .mc-service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 8px 0;
}

.mc-page .mc-service-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}


/* ═══ Process Grid ═══ */
.mc-page .mc-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.mc-page .mc-process-step {
  background: white;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  position: relative;
}

.mc-page .mc-process-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 32px;
  font-weight: 700;
  color: #7C3AED;
  opacity: 0.3;
  margin-bottom: 8px;
}

.mc-page .mc-process-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 8px 0;
}

.mc-page .mc-process-step p {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}


/* ═══ Category Section in Products Page ═══ */
.mc-page .mc-cat-section {
  margin-bottom: 64px;
}

.mc-page .mc-cat-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #E5E7EB;
}

.mc-page .mc-cat-section-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.mc-page .mc-cat-section-info {
  flex: 1;
}

.mc-page .mc-cat-section-name-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.mc-page .mc-cat-section-name {
  font-size: 24px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0;
}

.mc-page .mc-cat-section-desc {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
}

.mc-page .mc-cat-section-count {
  text-align: center;
  background: #F8FAFC;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
}

.mc-page .mc-cat-count-number {
  font-size: 28px;
  font-weight: 700;
  color: #0C2F4D;
  line-height: 1;
}

.mc-page .mc-cat-count-label {
  font-size: 11px;
  color: #6B7280;
  margin-top: 4px;
}


/* ═══ Products Grid ═══ */
.mc-page .mc-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.mc-page .mc-product-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.mc-page .mc-product-card:hover {
  border-color: #7C3AED;
  transform: translateY(-2px);
  text-decoration: none;
}

.mc-page .mc-product-card-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.mc-page .mc-product-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 10px 0;
}

.mc-page .mc-product-card-desc {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.mc-page .mc-product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #F3F4F6;
}

.mc-page .mc-product-card-tech {
  font-size: 11px;
  color: #9CA3AF;
  font-family: 'IBM Plex Mono', monospace;
}

.mc-page .mc-product-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #7C3AED;
  font-weight: 500;
}


/* ═══ Product Detail Page ═══ */
.mc-page .mc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 24px;
}

.mc-page .mc-breadcrumb a {
  color: #6B7280;
  text-decoration: none;
}

.mc-page .mc-breadcrumb a:hover {
  color: #7C3AED;
}

.mc-page .mc-breadcrumb-sep {
  opacity: 0.4;
}

.mc-page .mc-breadcrumb-current {
  color: #0C2F4D;
  font-weight: 500;
}

.mc-page .mc-product-detail-header {
  padding: 40px 0 60px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, white 100%);
}

.mc-page .mc-product-detail-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mc-page .mc-product-detail-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #F3F4F6;
  color: #0C2F4D;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.mc-page .mc-product-detail-title {
  font-size: 40px;
  font-weight: 700;
  color: #0C2F4D;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.mc-page .mc-product-detail-subtitle {
  font-size: 18px;
  color: #4B5563;
  line-height: 1.7;
  margin: 0 0 24px 0;
  max-width: 800px;
}

.mc-page .mc-product-detail-meta {
  background: white;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  display: inline-block;
  margin-bottom: 24px;
}

.mc-page .mc-product-meta-label {
  font-size: 11px;
  color: #6B7280;
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mc-page .mc-product-meta-value {
  font-size: 14px;
  color: #0C2F4D;
  font-family: 'IBM Plex Mono', monospace;
}

.mc-page .mc-product-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.mc-page .mc-product-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .mc-page .mc-product-content {
    grid-template-columns: 1fr;
  }
}

.mc-page .mc-content-title {
  font-size: 22px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 16px 0;
}

.mc-page .mc-content-text {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.8;
  margin: 0 0 32px 0;
}

.mc-page .mc-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-page .mc-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
}

.mc-page .mc-feature-item svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

.mc-page .mc-feature-item span {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.mc-page .mc-product-content-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mc-page .mc-product-side-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
}

.mc-page .mc-side-card-info {
  background: #F8FAFC;
}

.mc-page .mc-product-side-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 12px 0;
}

.mc-page .mc-product-side-card p {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.mc-page .mc-side-info-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #E5E7EB;
  font-size: 13px;
}

.mc-page .mc-side-info-item:last-child {
  border-bottom: none;
}

.mc-page .mc-side-info-label {
  color: #6B7280;
}

.mc-page .mc-side-info-value {
  color: #0C2F4D;
  font-weight: 500;
}


/* ═══════════════════════════════════════════════════════
   FIX: Why Manthora cards styling
   ═══════════════════════════════════════════════════════ */

.mc-page .mc-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.mc-page .mc-why-card {
  background: white;
  padding: 28px 24px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  transition: all 0.2s ease;
  text-align: center;
}

.mc-page .mc-why-card:hover {
  border-color: #7C3AED;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 47, 77, 0.06);
}

.mc-page .mc-why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0C2F4D, #7C3AED);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.mc-page .mc-why-icon svg {
  width: 28px !important;
  height: 28px !important;
}

.mc-page .mc-why-title {
  font-size: 18px;
  font-weight: 600;
  color: #0C2F4D;
  margin: 0 0 10px 0;
}

.mc-page .mc-why-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}


/* ═══ Section spacing fixes ═══ */

.mc-page .mc-section {
  padding: 64px 0;
}

.mc-page .mc-section-alt {
  background: #F8FAFC;
}

.mc-page .mc-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px auto;
}

.mc-page .mc-section-eyebrow {
  display: inline-block;
  font-size: 13px;
  color: #7C3AED;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.mc-page .mc-section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0C2F4D;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.mc-page .mc-section-subtitle {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}


/* ═══ Stats Strip ═══ */

.mc-page .mc-stats-strip {
  background: #F8FAFC;
  padding: 40px 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

.mc-page .mc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.mc-page .mc-stat-number {
  font-size: 40px;
  font-weight: 700;
  color: #0C2F4D;
  line-height: 1;
  margin-bottom: 8px;
}

.mc-page .mc-stat-label {
  font-size: 14px;
  color: #6B7280;
  font-weight: 500;
}


/* ═══ CTA Section ═══ */

.mc-page .mc-cta-section {
  padding: 64px 0;
}

.mc-page .mc-cta-box {
  background: linear-gradient(135deg, #0C2F4D, #1A4A75);
  padding: 56px 40px;
  border-radius: 16px;
  text-align: center;
  color: white;
}

.mc-page .mc-cta-title {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin: 0 0 12px 0;
}

.mc-page .mc-cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.mc-page .mc-btn-light {
  background: white !important;
  color: #0C2F4D !important;
  border: none !important;
}

.mc-page .mc-btn-light:hover {
  background: #F3F4F6 !important;
}


/* ═══ Page Header ═══ */

.mc-page .mc-page-header {
  background: linear-gradient(180deg, #F8FAFC 0%, white 100%);
  padding: 60px 0 40px 0;
  text-align: center;
}

.mc-page .mc-page-title {
  font-size: 44px;
  font-weight: 700;
  color: #0C2F4D;
  margin: 12px 0 16px 0;
  line-height: 1.2;
}

.mc-page .mc-page-subtitle {
  font-size: 17px;
  color: #6B7280;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}


/* ═══ Hero Section ═══ */

.mc-page .mc-hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, #F8FAFC 0%, white 100%);
}

.mc-page .mc-hero-title {
  font-size: 56px;
  font-weight: 800;
  color: #0C2F4D;
  margin: 0 0 20px 0;
  line-height: 1.15;
}

.mc-page .mc-hero-subtitle {
  font-size: 18px;
  color: #4B5563;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 32px auto;
}

.mc-page .mc-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .mc-page .mc-hero-title { font-size: 36px; }
  .mc-page .mc-page-title { font-size: 32px; }
  .mc-page .mc-section-title { font-size: 28px; }
  .mc-page .mc-cta-title { font-size: 24px; }
}


/* ═══ Container ═══ */

.mc-page .mc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ═══ Hide Odoo's Skip to Content link ═══ */
.o_skip_to_content {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════
   v19.0.3.0.0 - Bilingual Support (AR + EN)
   ═══════════════════════════════════════════════════════ */


/* ═══ Language Switcher ═══ */

.mc-page .mc-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mc-page .mc-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #F3F4F6;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', 'IBM Plex Sans', sans-serif;
  letter-spacing: 0.5px;
}

.mc-page .mc-lang-active {
  color: #0C2F4D;
}

.mc-page .mc-lang-inactive {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mc-page .mc-lang-inactive:hover {
  color: #7C3AED;
  text-decoration: none;
}

.mc-page .mc-lang-sep {
  color: #D1D5DB;
}


/* ═══ LTR Support for English Pages ═══ */

.mc-page-en {
  font-family: 'Inter', 'IBM Plex Sans Arabic', -apple-system, sans-serif;
  text-align: left;
}

.mc-page-en h1,
.mc-page-en h2,
.mc-page-en h3,
.mc-page-en h4,
.mc-page-en h5,
.mc-page-en h6 {
  font-family: 'Inter', 'IBM Plex Sans Arabic', -apple-system, sans-serif;
  text-align: left;
}

.mc-page-en p,
.mc-page-en span,
.mc-page-en a,
.mc-page-en label,
.mc-page-en input,
.mc-page-en textarea,
.mc-page-en select,
.mc-page-en button {
  font-family: 'Inter', 'IBM Plex Sans Arabic', -apple-system, sans-serif;
}

.mc-page-en .mc-hero-title,
.mc-page-en .mc-page-title,
.mc-page-en .mc-section-title,
.mc-page-en .mc-cta-title {
  letter-spacing: -0.5px;
  text-align: center;
}

.mc-page-en .mc-hero-subtitle,
.mc-page-en .mc-page-subtitle,
.mc-page-en .mc-section-subtitle {
  text-align: center;
}

.mc-page-en .mc-legal-grid,
.mc-page-en .mc-about-grid,
.mc-page-en .mc-os-grid,
.mc-page-en .mc-services-grid,
.mc-page-en .mc-process-grid,
.mc-page-en .mc-featured-grid,
.mc-page-en .mc-categories-grid,
.mc-page-en .mc-products-grid,
.mc-page-en .mc-why-grid,
.mc-page-en .mc-stats-grid {
  text-align: left;
}

.mc-page-en .mc-legal-card,
.mc-page-en .mc-about-card,
.mc-page-en .mc-os-item,
.mc-page-en .mc-service-card,
.mc-page-en .mc-process-step,
.mc-page-en .mc-featured-card,
.mc-page-en .mc-category-card,
.mc-page-en .mc-product-card,
.mc-page-en .mc-why-card {
  text-align: left;
}

.mc-page-en .mc-why-card {
  text-align: center;
}

.mc-page-en .mc-stat,
.mc-page-en .mc-stat-label,
.mc-page-en .mc-stat-number {
  text-align: center;
}

.mc-page-en .mc-footer-grid {
  text-align: left;
}

.mc-page-en .mc-footer-bottom {
  text-align: left;
}

.mc-page-en .mc-footer-legal-item {
  text-align: left;
}

.mc-page-en .mc-product-detail-title,
.mc-page-en .mc-product-detail-subtitle {
  text-align: left;
}


/* ═══ Form fixes for LTR ═══ */

.mc-page-en .mc-form-group label {
  text-align: left;
}

.mc-page-en .mc-form-group input,
.mc-page-en .mc-form-group select,
.mc-page-en .mc-form-group textarea {
  text-align: left;
  direction: ltr;
}


/* ═══ Thank you page LTR ═══ */

.mc-page-en .mc-thank-you-next {
  text-align: left;
}

.mc-page-en .mc-next-step {
  text-align: left;
}


/* ═══ Breadcrumb LTR ═══ */

.mc-page-en .mc-breadcrumb {
  flex-direction: row;
}


/* ═══ Footer brand LTR ═══ */

.mc-page-en .mc-footer-brand {
  flex-direction: row;
}


/* ═══ Mobile responsive (both languages) ═══ */

@media (max-width: 768px) {
  .mc-page .mc-header-actions {
    gap: 12px;
  }
  
  .mc-page .mc-lang-switcher {
    padding: 4px 10px;
    font-size: 12px;
  }
}
