/* ============================================
   OMER DESIGN — Core Styles
   Digital Web Solutions
   Arabic RTL • Professional • Modern
   ============================================ */

:root {
  /* Brand */
  --navy: #0A1428;
  --navy-mid: #0f1c38;
  --navy-light: #152445;
  --cyan: #00E5FF;
  --cyan-dark: #00b8d4;
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --cyan-glow: rgba(0, 229, 255, 0.25);

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f0f4f8;
  --gray-100: #e2e8f0;
  --gray-300: #a0aec0;
  --gray-500: #718096;
  --dark: #050b16;

  /* Semantic */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;

  /* Typography */
  --font: 'Cairo', system-ui, -apple-system, sans-serif;
  --leading: 1.7;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
  --shadow-cyan: 0 8px 30px rgba(0, 229, 255, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.25s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: var(--leading);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 5%;
}

.container-wide {
  max-width: 1400px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.lead {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 560px;
}

.text-cyan { color: var(--cyan); }
.text-muted { color: var(--gray-300); }
.text-center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              background var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: var(--navy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--cyan-dim);
  color: var(--cyan);
}

.btn-ghost:hover {
  background: rgba(0, 229, 255, 0.2);
}

.btn-block { width: 100%; }

.section {
  padding: var(--space-3xl) 0;
}

.section-sm { padding: var(--space-2xl) 0; }

.section-title {
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--gray-300);
  max-width: 520px;
}

.card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--cyan-dim);
  border-radius: var(--radius-md);
  color: var(--cyan);
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.breadcrumbs {
  padding: 1.25rem 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumbs a {
  color: var(--gray-300);
  transition: color var(--duration);
}

.breadcrumbs a:hover { color: var(--cyan); }

.breadcrumbs .sep {
  opacity: 0.5;
  user-select: none;
}

.breadcrumbs [aria-current="page"] {
  color: var(--cyan);
  font-weight: 600;
}

.page-header {
  padding: 6.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(0, 229, 255, 0.08), transparent),
    var(--navy);
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header .lead {
  margin-bottom: 0;
}

.related-services {
  background: var(--navy-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.related-services h3 {
  margin-bottom: var(--space-lg);
  font-size: 1.25rem;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.related-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-300);
  transition: all var(--duration) var(--ease);
}

.related-list a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.cta-banner {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  margin-top: var(--space-3xl);
}

.cta-banner h2 {
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--gray-300);
  margin-bottom: var(--space-xl);
  max-width: 480px;
  margin-inline: auto;
}

.cta-banner .btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float .tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy-mid);
  color: var(--white);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .tooltip,
.whatsapp-float:focus-visible .tooltip {
  opacity: 1;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
