/**
 * Reellzy Theme Main Stylesheet
 * Custom Bootstrap 5 RTL Design System matching Stitch UI
 * Font: IBM Plex Sans Arabic
 */

:root {
  /* Design Tokens */
  --rz-surface: #f7f9fb;
  --rz-surface-container-low: #f2f4f6;
  --rz-surface-container: #eceef0;
  --rz-surface-container-high: #e6e8ea;
  --rz-surface-container-highest: #e0e3e5;
  --rz-surface-container-lowest: #ffffff;
  --rz-primary: #000000;
  --rz-primary-container: #131b2e;
  --rz-on-primary-container: #7c839b;
  --rz-secondary: #0058be;
  --rz-secondary-container: #2170e4;
  --rz-secondary-fixed: #d8e2ff;
  --rz-secondary-fixed-dim: #adc6ff;
  --rz-glow-cyan: #38bdf8;
  --rz-light-blue-surface: #e0f2fe;
  --rz-on-surface: #191c1e;
  --rz-on-surface-variant: #45464d;
  --rz-text-dark: #1f2937;
  --rz-text-muted: #6b7280;
  --rz-border-light: #e2e8f0;
  --rz-border-medium: #d1d5db;
  --rz-success: #10b981;
  --rz-error: #ba1a1a;
  --rz-error-container: #ffdad6;

  /* Typography */
  --rz-font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  /* Spacing */
  --rz-header-height: 80px;

  /* Mouse aware spotlight coordinates defaults */
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* Base & Typography */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--rz-header-height) + 16px);
  direction: rtl !important;
  text-align: right;
}

body {
  direction: rtl !important;
  text-align: right;
  font-family: var(--rz-font-family);
  background-color: var(--rz-surface);
  color: var(--rz-on-surface);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  overflow-x: clip;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* RTL Global Typography & Form Defaults */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
p, ul, ol, li, dt, dd,
blockquote, label {
  text-align: right;
}

/* Strict Alignment Utility Overrides for Arabic RTL */
.text-start,
.text-right {
  text-align: right !important;
}

/* Guard against misplaced text-end in templates / components */
.text-end:not([dir="ltr"]):not(.text-force-left):not(.text-left) {
  text-align: right !important;
}

/* Explicit left alignment for code blocks, URLs, or LTR figures */
.text-left,
.text-force-left,
.text-ltr,
[dir="ltr"].text-ltr {
  text-align: left !important;
  direction: ltr !important;
}

/* Forms & Inputs in RTL */
.form-control,
.form-select,
.rz-form-control {
  text-align: right !important;
  direction: rtl;
}
.form-control::placeholder,
.rz-form-control::placeholder {
  text-align: right !important;
  direction: rtl;
}
input[type="tel"],
input[type="email"],
input[type="url"] {
  text-align: right;
  direction: rtl;
}
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="url"]:focus {
  text-align: right;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--rz-font-family);
  color: var(--rz-on-surface);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--rz-secondary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--rz-secondary-container);
}

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

/* Font Awesome Icon Alignments */
i[class*="fa-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}

/* Stitch Typography Classes */
.font-display-hero {
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.font-headline-xl {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.25rem);
  line-height: 1.3;
  font-weight: 700;
}
.font-headline-lg {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  line-height: 1.35;
  font-weight: 700;
}
.font-headline-md {
  font-size: 1.375rem;
  line-height: 1.45;
  font-weight: 600;
}
.font-headline-sm {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 600;
}
.font-body-lg {
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: 400;
}
.font-body-md {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
}
.font-body-sm {
  font-size: 0.875rem;
  line-height: 1.55;
  font-weight: 400;
}
.font-label-lg {
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 600;
}
.font-label-md {
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 500;
}
.font-label-sm {
  font-size: 0.75rem;
  line-height: 1.35;
  font-weight: 600;
}

/* Background Color Helpers */
.bg-surface {
  background-color: var(--rz-surface) !important;
}
.bg-surface-container-low {
  background-color: var(--rz-surface-container-low) !important;
}
.bg-surface-container {
  background-color: var(--rz-surface-container) !important;
}
.bg-surface-container-high {
  background-color: var(--rz-surface-container-high) !important;
}
.bg-surface-container-highest {
  background-color: var(--rz-surface-container-highest) !important;
}
.bg-surface-container-lowest {
  background-color: var(--rz-surface-container-lowest) !important;
}
.bg-primary-container {
  background-color: var(--rz-primary-container) !important;
}
.bg-light-blue-surface {
  background-color: var(--rz-light-blue-surface) !important;
}
.bg-secondary {
  background-color: var(--rz-secondary) !important;
}

/* Text Color Helpers */
.text-on-surface {
  color: var(--rz-on-surface) !important;
}
.text-on-surface-variant {
  color: var(--rz-on-surface-variant) !important;
}
.text-secondary {
  color: var(--rz-secondary) !important;
}
.text-glow-cyan {
  color: var(--rz-glow-cyan) !important;
}
.text-success {
  color: var(--rz-success) !important;
}
.text-error {
  color: var(--rz-error) !important;
}
.text-gradient-secondary {
  background: linear-gradient(270deg, var(--rz-secondary), var(--rz-secondary-container));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Radius Utilities */
.rounded-xl {
  border-radius: 0.75rem !important;
}
.rounded-2xl {
  border-radius: 1rem !important;
}
.rounded-3xl {
  border-radius: 1.5rem !important;
}

/* Borders */
.border-light {
  border-color: var(--rz-border-light) !important;
}

/* Shadow System */
.shadow-soft {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
}
.shadow-card {
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.06) !important;
}
.shadow-xl-custom {
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.09) !important;
}
.shadow-secondary-glow {
  box-shadow: 0 12px 28px -6px rgba(0, 88, 190, 0.28) !important;
}

/* Buttons */
.btn-rz-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--rz-secondary);
  color: #ffffff !important;
  font-family: var(--rz-font-family);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px -4px rgba(0, 88, 190, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-rz-primary:hover {
  background-color: var(--rz-secondary-container);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(0, 88, 190, 0.35);
}
.btn-rz-primary:active {
  transform: translateY(0);
}

.btn-rz-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--rz-surface-container-lowest);
  color: var(--rz-on-surface) !important;
  font-family: var(--rz-font-family);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--rz-border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.btn-rz-secondary:hover {
  background-color: var(--rz-surface-container-high);
  color: var(--rz-on-surface) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.btn-rz-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  background-color: var(--rz-light-blue-surface);
  color: var(--rz-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 88, 190, 0.08);
}

/* =======================================================
   HEADER & NAVBAR (Glassmorphism + Logo ONLY)
   ======================================================= */
.rz-header {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
  background: rgba(247, 249, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.3s ease;
}

/* WordPress Admin Bar Compatibility: Fix blank space gap & overlap when logged in */
.admin-bar .rz-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .rz-header {
    top: 46px;
  }
}
@media screen and (max-width: 600px) {
  .admin-bar .rz-header {
    top: 0;
  }
}

/* Static (Non-sticky) option fallback */
.rz-header.rz-static,
.rz-header.position-relative {
  position: relative !important;
  top: auto !important;
}

.rz-header-nav {
  height: var(--rz-header-height);
  width: 100%;
  display: flex;
  align-items: center;
  transition: height 0.3s ease;
}

.rz-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.rz-header.scrolled .rz-header-nav {
  height: 72px;
}

.rz-header .navbar {
  height: 100%;
  width: 100%;
  padding: 0;
}

/* Brand Logo: Logo Image ONLY - No title text or tagline! */
.rz-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}
.rz-brand img,
.rz-logo-img {
  height: 38px !important;
  width: auto !important;
  max-height: 44px !important;
  max-width: 175px !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.3s ease;
}
.rz-brand:hover img,
.rz-brand:hover .rz-logo-img {
  transform: scale(1.04);
}

/* Desktop Nav Links */
.rz-nav-link {
  font-family: var(--rz-font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rz-on-surface-variant) !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: 0.75rem;
  transition: all 0.25s ease;
  position: relative;
}
.rz-nav-link:hover {
  color: var(--rz-on-surface) !important;
  background-color: var(--rz-surface-container);
}
.rz-nav-link.active,
.rz-nav-link[aria-current="page"] {
  background-color: var(--rz-secondary) !important;
  color: #ffffff !important;
}

/* Header Action CTA */
.rz-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--rz-secondary);
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 88, 190, 0.18);
  transition: all 0.25s ease;
}
.rz-header-cta:hover {
  background-color: var(--rz-secondary-container);
  transform: translateY(-1px);
}
.rz-user-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--rz-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Container: Flush directly under sticky header with zero blank space */
main.rz-main {
  padding-top: 0 !important;
  min-height: calc(100vh - var(--rz-header-height));
  position: relative;
}

/* Eliminate margin-collapse or blank space at top of main */
main.rz-main > :first-child {
  margin-top: 0 !important;
}

/* Balanced, clean top padding on hero sections across all pages */
main.rz-main > .rz-hero-parallax-wrap:first-child,
main.rz-main > section:first-child.rz-hero-parallax-wrap,
main.rz-main > .rz-hero-section:first-child {
  padding-top: 2rem !important;
}
@media (max-width: 991.98px) {
  main.rz-main > .rz-hero-parallax-wrap:first-child,
  main.rz-main > section:first-child.rz-hero-parallax-wrap,
  main.rz-main > .rz-hero-section:first-child {
    padding-top: 1.5rem !important;
  }
}

/* Single post breadcrumb bar flush right under header */
main.rz-main > div:first-child.bg-surface-container-low {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* Page default container top spacing */
main.rz-main > div:first-child.bg-surface {
  padding-top: 2.25rem !important;
}

/* =======================================================
   ANIMATIONS & MOUSE-AWARE EFFECTS
   ======================================================= */

/* 1. Mouse Spotlight Glow Card */
.rz-spotlight {
  position: relative;
  overflow: hidden;
}
.rz-spotlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 88, 190, 0.08),
    transparent 65%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.rz-spotlight:hover::before {
  opacity: 1;
}

/* 2. 3D Tilt Card */
.rz-tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}
.rz-tilt:hover {
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.12) !important;
}

/* 3. Magnetic Button Attraction */
.rz-magnetic {
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 4. Mouse Interactive Parallax Ambient Orbs */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ambient-glow-1 {
  width: 550px;
  height: 380px;
  background: rgba(0, 88, 190, 0.12);
}
.ambient-glow-2 {
  width: 320px;
  height: 320px;
  background: rgba(56, 189, 248, 0.18);
}

/* 5. Scroll Reveal System */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-fade {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.reveal-fade.is-revealed {
  opacity: 1;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* Pulse Animation */
@keyframes rzPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}
.rz-animate-pulse {
  animation: rzPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Glowing Path Animation for SVG Chart */
@keyframes rzGlowPath {
  0% { stroke-dashoffset: 600; }
  100% { stroke-dashoffset: 0; }
}
.rz-chart-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 0;
  animation: rzGlowPath 2s ease-out forwards;
}

/* Floating interactive dashboard shell */
.rz-dashboard-card {
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

/* =======================================================
   CARDS & SECTIONS
   ======================================================= */
.rz-card {
  background-color: var(--rz-surface-container-lowest);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.rz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.08);
  border-color: rgba(0, 88, 190, 0.15);
}

/* Service Card Icon Box */
.rz-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background-color: var(--rz-light-blue-surface);
  color: var(--rz-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}
.rz-card:hover .rz-icon-box {
  background-color: var(--rz-secondary);
  color: #ffffff;
  transform: rotate(-6deg) scale(1.05);
}

/* Form Styles */
.rz-form-control {
  background-color: var(--rz-surface-container-low);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: var(--rz-font-family);
  font-size: 0.875rem;
  color: var(--rz-text-dark);
  transition: all 0.25s ease;
}
.rz-form-control:focus {
  background-color: var(--rz-surface-container-lowest);
  border-color: var(--rz-secondary);
  box-shadow: 0 0 0 3px rgba(0, 88, 190, 0.12);
  outline: none;
}
.rz-form-control::placeholder {
  color: var(--rz-text-muted);
}

/* FAQ Item */
.rz-faq-item {
  background-color: var(--rz-surface-container-lowest);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  cursor: pointer;
}
.rz-faq-item:hover {
  border-color: rgba(0, 88, 190, 0.2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}
.rz-faq-icon {
  transition: transform 0.3s ease;
}
.rz-faq-item.active .rz-faq-icon {
  transform: rotate(180deg);
}
.rz-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
  opacity: 0;
}
.rz-faq-item.active .rz-faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rz-border-light);
}

/* Roadmap Stepper */
.rz-step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

/* Footer (Logo image only) */
.rz-footer {
  background-color: var(--rz-surface-container-low);
  border-top: 1px solid var(--rz-border-light);
}
.rz-footer .rz-brand img {
  height: 36px;
  width: auto;
}
.rz-footer-link {
  color: var(--rz-on-surface-variant);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.rz-footer-link:hover {
  color: var(--rz-secondary);
  transform: translateX(-4px);
}
/* Real Brand Social Icons */
.rz-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.rz-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rz-social-icon svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rz-social-icon:hover {
  transform: translateY(-4px) scale(1.12);
  color: #ffffff !important;
}

.rz-social-icon:hover svg {
  transform: scale(1.1);
}

/* 1. Facebook (#1877F2) */
.rz-social-icon.rz-social-facebook {
  background-color: #1877F2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}
.rz-social-icon.rz-social-facebook:hover {
  background-color: #0c63d4;
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.55);
}

/* 2. WhatsApp (#25D366) */
.rz-social-icon.rz-social-whatsapp {
  background-color: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.rz-social-icon.rz-social-whatsapp:hover {
  background-color: #1eb956;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
}

/* 3. Instagram (Authentic Vibrant Gradient) */
.rz-social-icon.rz-social-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35);
}
.rz-social-icon.rz-social-instagram:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 22px rgba(214, 36, 159, 0.6);
}

/* 4. X (Twitter - #000000) */
.rz-social-icon.rz-social-x {
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.rz-social-icon.rz-social-x:hover {
  background-color: #1a1a1a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

/* 5. LinkedIn (#0A66C2) */
.rz-social-icon.rz-social-linkedin {
  background-color: #0A66C2;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
}
.rz-social-icon.rz-social-linkedin:hover {
  background-color: #08529c;
  box-shadow: 0 8px 22px rgba(10, 102, 194, 0.55);
}

/* 6. Pinterest (#E60023) */
.rz-social-icon.rz-social-pinterest {
  background-color: #E60023;
  box-shadow: 0 4px 12px rgba(230, 0, 35, 0.35);
}
.rz-social-icon.rz-social-pinterest:hover {
  background-color: #c4001e;
  box-shadow: 0 8px 22px rgba(230, 0, 35, 0.55);
}

/* Floating Action Buttons on the Right Side (واتساب + استشارة مجانية) */
.rz-floating-actions {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.rz-float-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-family: var(--rz-font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.rz-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.rz-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 1. Free Consultation Floating Button */
.rz-float-consultation {
  background: linear-gradient(135deg, #0058be 0%, #1a73e8 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px -4px rgba(0, 88, 190, 0.45), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.rz-float-consultation:hover {
  background: linear-gradient(135deg, #004395 0%, #1557b0 100%);
  box-shadow: 0 12px 30px -4px rgba(0, 88, 190, 0.65), 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff !important;
}

.rz-float-ping {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: rzPingGlow 1.8s infinite;
}

@keyframes rzPingGlow {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* 2. WhatsApp Floating Button */
.rz-float-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.rz-float-whatsapp:hover {
  background: linear-gradient(135deg, #1ebe5d 0%, #0d695e 100%);
  box-shadow: 0 12px 30px -4px rgba(37, 211, 102, 0.65), 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff !important;
}

.rz-float-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  border: 2px solid rgba(37, 211, 102, 0.6);
  pointer-events: none;
  animation: rzPulseWave 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes rzPulseWave {
  0% { transform: scale(0.96); opacity: 0.8; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Back To Top Floating Button (Bottom-Left) */
.rz-back-to-top {
  position: fixed;
  bottom: 28px;
  left: 24px;
  right: auto;
  z-index: 1030;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--rz-surface-container-lowest);
  border: 1px solid var(--rz-border-light);
  color: var(--rz-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.rz-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.rz-back-to-top:hover {
  background-color: var(--rz-secondary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Responsive Floating Actions */
@media (max-width: 576px) {
  .rz-floating-actions {
    bottom: 18px;
    right: 16px;
    gap: 8px;
  }
  .rz-float-btn {
    padding: 8px 14px;
    font-size: 0.84rem;
  }
  .rz-back-to-top {
    bottom: 18px;
    left: 16px;
    width: 40px;
    height: 40px;
  }
}

/* Custom Interactive Cursor Follower */
.rz-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(0, 88, 190, 0.035) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}
body:hover .rz-cursor-follower {
  opacity: 1;
}

/* WordPress Standard Content & Gutenberg Support */
.rz-content-area {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--rz-on-surface);
}
.rz-content-area p {
  margin-bottom: 1.25rem;
}
.rz-content-area h2, .rz-content-area h3, .rz-content-area h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.rz-content-area img {
  border-radius: 1rem;
  margin: 1.5rem 0;
}
.rz-content-area blockquote {
  border-right: 4px solid var(--rz-secondary);
  padding: 1rem 1.5rem;
  background-color: var(--rz-surface-container-low);
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  margin: 1.5rem 0;
}

/* Offcanvas Mobile Navigation */
.rz-offcanvas {
  background-color: var(--rz-surface);
  border-left: 1px solid var(--rz-border-light);
  font-family: var(--rz-font-family);
}
.rz-offcanvas .rz-brand img {
  height: 32px;
}
.rz-mobile-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rz-on-surface);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.rz-mobile-link:hover, .rz-mobile-link.active {
  background-color: var(--rz-secondary);
  color: #ffffff;
}

/* =======================================================
   SINGLE POST LAYOUT & STICKY SIDEBAR
   ======================================================= */
.rz-post-layout-row {
  display: flex !important;
  flex-wrap: wrap !important;
}

@media (min-width: 992px) {
  .rz-post-main-col {
    flex: 0 0 66.666667% !important;
    max-width: 66.666667% !important;
    width: 66.666667% !important;
  }
  .rz-post-sidebar-col {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
  }
}

.rz-sidebar-sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 100px !important;
  z-index: 10;
}

/* Sidebar Styling */
aside .card, aside .bg-surface-container-lowest {
  transition: all 0.3s ease;
}
aside a.hover-secondary:hover {
  color: var(--rz-secondary) !important;
  transform: translateX(-3px);
}

/* =======================================================
   COMMENTS AREA & FORM STYLING (100% POLISHED)
   ======================================================= */
.comments-area {
  margin-top: 2.5rem;
}

.comment-list .comment {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.comment-list .comment:hover {
  border-color: rgba(0, 88, 190, 0.28) !important;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

/* Input Groups in Comment Form */
.comment-form-wrap .input-group-text {
  border-left: 0 !important;
  border-radius: 0 0.85rem 0.85rem 0 !important;
  padding: 0.75rem 1rem;
}
.comment-form-wrap .input-group .form-control {
  border-radius: 0.85rem 0 0 0.85rem !important;
  border-right: 0 !important;
  padding: 0.75rem 1rem;
}

.comment-form-wrap .form-control:focus {
  border-color: var(--rz-secondary);
}

.comment-form-wrap .input-group:focus-within .input-group-text {
  border-color: var(--rz-secondary);
  color: var(--rz-secondary) !important;
}

/* Reply Link Pill */
.rz-reply-btn-wrap a.comment-reply-link,
a.comment-reply-link {
  color: var(--rz-secondary) !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background-color: var(--rz-surface-container-lowest);
  border: 1px solid var(--rz-border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}
.rz-reply-btn-wrap a.comment-reply-link:hover,
a.comment-reply-link:hover {
  background-color: var(--rz-secondary) !important;
  color: #ffffff !important;
  border-color: var(--rz-secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 88, 190, 0.25);
}

/* Cookies Consent */
.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1rem 0;
}
.comment-form-cookies-consent input[type="checkbox"] {
  cursor: pointer;
}
.comment-form-cookies-consent label {
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--rz-on-surface-variant);
  margin-bottom: 0;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
  :root {
    --rz-header-height: 72px;
  }
  .font-display-hero {
    font-size: 2.15rem;
    line-height: 1.3;
  }
}

/* =======================================================
   CLIENTS & TRUST PROOF DUAL-ROW INFINITE MARQUEE
   ======================================================= */
.rz-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.rz-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  will-change: transform;
}

.rz-marquee-track:hover {
  animation-play-state: paused;
}

.rz-marquee-forward {
  animation: rzScrollForward 36s linear infinite;
}

.rz-marquee-reverse {
  animation: rzScrollReverse 36s linear infinite;
}

@keyframes rzScrollForward {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes rzScrollReverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Individual client badge card */
.rz-marquee-card {
  display: inline-flex;
  align-items: center;
  direction: rtl !important;
  text-align: right !important;
  gap: 0.9rem;
  background-color: var(--rz-surface-container-lowest);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.85rem 1.35rem;
  border-radius: 1.15rem;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  white-space: nowrap;
  user-select: none;
  cursor: default;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 210px;
}
.rz-marquee-card * {
  text-align: right !important;
}

.rz-marquee-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(0, 88, 190, 0.3);
  box-shadow: 0 12px 28px -4px rgba(0, 88, 190, 0.12);
  background-color: #ffffff;
}

.rz-client-monogram {
  width: 42px;
  height: 42px;
  border-radius: 0.85rem;
  background-color: var(--rz-light-blue-surface);
  color: var(--rz-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.rz-marquee-card:hover .rz-client-monogram {
  background-color: var(--rz-secondary);
  color: #ffffff;
  transform: rotate(-6deg);
}

/* ==========================================================================
   Rank Math & Theme Breadcrumbs (RTL & Responsive)
   ========================================================================== */
.rz-breadcrumbs-wrap {
  display: inline-block;
  font-family: inherit;
  line-height: 1.5;
}

.rz-breadcrumbs-wrap .breadcrumb,
.rz-breadcrumbs-wrap .rank-math-breadcrumb,
.rz-breadcrumbs-wrap p {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rz-on-surface-variant);
  background: transparent;
  padding: 0;
}

.rz-breadcrumbs-wrap a,
.rank-math-breadcrumb a {
  color: var(--rz-secondary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.rz-breadcrumbs-wrap a:hover,
.rank-math-breadcrumb a:hover {
  color: var(--rz-primary);
  text-decoration: underline;
}

.rz-breadcrumbs-wrap .breadcrumb-item + .breadcrumb-item::before {
  content: "\f053";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
  color: var(--rz-outline-variant);
  float: right;
  padding-left: 0.45rem;
  padding-right: 0;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.rz-breadcrumbs-wrap .rz-breadcrumb-sep,
.rank-math-breadcrumb .separator {
  color: var(--rz-outline-variant);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  margin: 0 0.2rem;
  opacity: 0.75;
}

.rz-breadcrumbs-wrap .last,
.rz-breadcrumbs-wrap .active,
.rank-math-breadcrumb .last {
  color: var(--rz-text-muted);
  font-weight: 400;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .rz-breadcrumbs-wrap .last,
  .rz-breadcrumbs-wrap .active,
  .rank-math-breadcrumb .last {
    max-width: 180px;
  }
}

/* =======================================================
   HERO GULF PERSONA STYLING & FLOATING BADGES
   ======================================================= */
.rz-persona-frame {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rz-persona-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.rz-persona-frame:hover .rz-persona-img {
  transform: scale(1.02);
}

.rz-floating-hero-pill {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 30px -4px rgba(0, 88, 190, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rz-floating-hero-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -4px rgba(0, 88, 190, 0.18);
}

/* =======================================================
   MARQUEE CLIENT LOGOS ONLY
   ======================================================= */
.rz-marquee-card.rz-marquee-logo-card {
  min-width: 204px;
  width: 204px;
  height: 88px;
  padding: 0;
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.rz-marquee-card.rz-marquee-logo-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 88, 190, 0.14);
}

.rz-client-logo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.3s ease;
  user-select: none;
  pointer-events: none;
  border-radius: 14px;
  display: block;
}

.rz-marquee-card.rz-marquee-logo-card:hover .rz-client-logo-img {
  transform: scale(1.02);
}

/* =======================================================
   TESTIMONIALS CAROUSEL
   ======================================================= */
.rz-testimonials-carousel {
  position: relative;
}

.rz-carousel-control {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--rz-surface-container-lowest);
  border: 1px solid var(--rz-outline-variant);
  color: var(--rz-on-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--rz-shadow-soft);
}

.rz-carousel-control:hover {
  background-color: var(--rz-secondary);
  color: #ffffff;
  border-color: var(--rz-secondary);
  transform: scale(1.05);
}

.rz-carousel-indicators {
  position: static;
  margin: 2rem 0 0;
  gap: 0.5rem;
  justify-content: center;
}

.rz-carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: var(--rz-outline-variant);
  opacity: 0.5;
  transition: all 0.3s ease;
  padding: 0;
}

.rz-carousel-indicators .active {
  width: 28px;
  border-radius: 6px;
  background-color: var(--rz-secondary);
  opacity: 1;
}

/* =======================================================
   PORTFOLIO & SERVICES FEATURED IMAGES & THUMBNAILS
   ======================================================= */
.rz-project-thumb-wrap,
.rz-service-thumb-wrap {
  position: relative;
  overflow: hidden;
  background-color: var(--rz-surface-container-low);
}

.rz-project-thumb-img,
.rz-service-thumb-img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.rz-card:hover .rz-project-thumb-img,
.rz-card:hover .rz-service-thumb-img {
  transform: scale(1.06);
}

.rz-service-badge-floating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
}

.rz-service-grid-card {
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}



