/* ==========================================================================
   TAHER SHARIF DIGITAL SOLUTIONS & MARKETING — MASTER DESIGN SYSTEM v3.0
   Designed for Luxury, Depth, and High-Performance Gulf Tech Aesthetic
   ========================================================================== */

/* Google Fonts loaded asynchronously with preconnect in layouts/app.blade.php for zero render-blocking */

:root {
  /* Core Brand Tokens */
  --bg-deep: #070B0E;
  --bg-main: #0B1015;
  --bg-surface: #10171D;
  --bg-card: rgba(18, 26, 33, 0.75);
  --bg-card-hover: rgba(24, 35, 45, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);

  /* Vibrant Accents */
  --brand-orange: #FA802A;
  --brand-orange-glow: rgba(250, 128, 42, 0.35);
  --brand-amber: #F89A20;
  --brand-cyan: #10A8C8;
  --brand-cyan-glow: rgba(16, 168, 200, 0.35);
  --brand-purple: #8B2E87;
  --brand-purple-glow: rgba(139, 46, 135, 0.35);
  --brand-white: #FFFFFF;

  /* Typography */
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Text Gradients & Colors */
  --text-main: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-orange: rgba(250, 128, 42, 0.4);
  --border-cyan: rgba(16, 168, 200, 0.4);

  --shadow-ambient: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  --shadow-card: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow-orange: 0 0 35px rgba(250, 128, 42, 0.25);
  --shadow-glow-cyan: 0 0 35px rgba(16, 168, 200, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 9999px;

  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
}

body {
  overflow-x: clip;
}

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(250, 128, 42, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 60%, rgba(16, 168, 200, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(139, 46, 135, 0.08), transparent);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-en);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Gradients */
.text-gradient-orange {
  background: linear-gradient(135deg, #FFFFFF 0%, #FA802A 50%, #F89A20 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #FFFFFF 0%, #10A8C8 60%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-glow-orange {
  background: linear-gradient(135deg, #FA802A 0%, #FF9E42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(250, 128, 42, 0.4));
}

/* Header & Glass Navigation */
.site-header {
  position: fixed !important;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border 0.35s ease,
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(7, 11, 14, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  box-sizing: border-box;
  will-change: top, width, border-radius, padding, background, box-shadow;
}

/* Scrolled State: Transforms into a floating oval capsule (شكل بيضاوي عائم) */
.site-header.scrolled,
.site-header.is-scrolled {
  top: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 2.8rem) !important;
  max-width: 1240px !important;
  border-radius: 9999px !important;
  padding: 0.52rem 1.5rem !important;
  background: rgba(8, 12, 17, 0.94) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(250, 128, 42, 0.28) !important;
  box-shadow: 0 16px 45px -10px rgba(0, 0, 0, 0.85),
              0 0 25px -4px rgba(250, 128, 42, 0.16),
              inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.site-header.scrolled .container,
.site-header.is-scrolled .container {
  max-width: 100%;
  padding: 0 0.35rem;
}

/* Scrolled Curtain Shield: Prevents scrolled content from leaking above floating capsule */
#header-top-curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  background: linear-gradient(to bottom, #070B0E 80%, rgba(7, 11, 14, 0) 100%);
  z-index: 998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

body.header-scrolled #header-top-curtain {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.brand-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 14px rgba(250, 128, 42, 0.4));
}

.site-header.scrolled .brand-logo img,
.site-header.is-scrolled .brand-logo img {
  height: 35px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.32rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
              0 4px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.site-header.scrolled .nav-menu,
.site-header.is-scrolled .nav-menu {
  background: rgba(16, 23, 29, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
              0 6px 22px rgba(0, 0, 0, 0.4);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #94A3B8;
  padding: 0.42rem 1.15rem;
  border-radius: var(--radius-pill);
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #FFFFFF;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(250, 128, 42, 0.22) 0%, rgba(248, 154, 32, 0.12) 100%);
  border: 1px solid rgba(250, 128, 42, 0.4);
  box-shadow: 0 0 16px rgba(250, 128, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
  font-weight: 700;
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.lang-switcher:hover {
  background: rgba(250, 128, 42, 0.14);
  border-color: var(--brand-orange);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(250, 128, 42, 0.25);
}

.header-actions .btn-primary {
  padding: 0.52rem 1.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #FA802A 0%, #F89A20 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(250, 128, 42, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.header-actions .btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.header-actions .btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(250, 128, 42, 0.55), 0 0 20px rgba(250, 128, 42, 0.3);
}

.header-actions .btn-primary:hover::after {
  left: 130%;
}

/* Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #FA802A 0%, #E06718 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(250, 128, 42, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(250, 128, 42, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--brand-white);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}

.btn-glass-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.15);
}

.btn-glass-whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION — HIGH TECH LUXURY STAGE
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

/* Ambient Glow Orbs */
.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(250, 128, 42, 0.14) 0%, rgba(250, 128, 42, 0.03) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-2 {
  position: absolute;
  top: 40%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 168, 200, 0.12) 0%, rgba(16, 168, 200, 0.03) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-glow-1, .hero-glow-2 {
    width: 250px;
    height: 250px;
  }
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(250, 128, 42, 0.08);
  border: 1px solid rgba(250, 128, 42, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-amber);
  margin-bottom: 1.8rem;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 10px #25D366;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 620px;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: #CBD5E1;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* ==========================================================================
   HERO COCKPIT — 3D LIVE INTERACTIVE MOCKUP CARD
   ========================================================================== */
.hero-cockpit-card {
  background: rgba(16, 23, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 2rem;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 40px rgba(16, 168, 200, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-cockpit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
  z-index: 2;
}

.cockpit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.2rem;
  margin-bottom: 1.8rem;
}

.cockpit-dots {
  display: flex;
  gap: 6px;
}

.cockpit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cockpit-dot.red { background: #FF5F56; }
.cockpit-dot.yellow { background: #FFBD2E; }
.cockpit-dot.green { background: #27C93F; }

.cockpit-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-cyan);
  background: rgba(16, 168, 200, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(16, 168, 200, 0.2);
}

.cockpit-stat-box {
  background: rgba(24, 34, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label-group small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.stat-label-group strong {
  font-size: 1.05rem;
  color: var(--brand-white);
  font-weight: 700;
}

.stat-metric-pill {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.stat-metric-pill.orange {
  background: rgba(250, 128, 42, 0.15);
  color: var(--brand-orange);
  border: 1px solid rgba(250, 128, 42, 0.3);
}

.stat-metric-pill.cyan {
  background: rgba(16, 168, 200, 0.15);
  color: var(--brand-cyan);
  border: 1px solid rgba(16, 168, 200, 0.3);
}

.stat-metric-pill.green {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.cockpit-chart-sim {
  height: 60px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0.5rem 0;
  margin-top: 1rem;
}

.chart-bar {
  flex-grow: 1;
  background: linear-gradient(to top, rgba(250, 128, 42, 0.2), var(--brand-orange));
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}

/* ==========================================================================
   STATS BAR — LUXURY FLOATING BENTO STRIP
   ========================================================================== */
.stats-section-wrap {
  position: relative;
  z-index: 5;
  margin-top: -2rem;
  margin-bottom: 4rem;
}

.stats-bento-strip {
  background: rgba(16, 23, 29, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ambient);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  overflow: hidden;
}

.stats-bento-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
  z-index: 2;
}

.stat-bento-item {
  text-align: center;
  position: relative;
  padding: 0 1.5rem;
}

.stat-bento-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background: linear-gradient(to bottom, transparent, var(--border-light), transparent);
}

body[dir="rtl"] .stat-bento-item:not(:last-child)::after {
  right: auto;
  left: 0;
}

.stat-bento-number {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-bento-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-white);
  margin-bottom: 0.2rem;
}

.stat-bento-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION — BENTO GRID & GLOWING CARDS
   ========================================================================== */
.section {
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-cyan);
  background: rgba(16, 168, 200, 0.08);
  border: 1px solid rgba(16, 168, 200, 0.25);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.services-bento-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-bento-card {
  background: rgba(16, 23, 29, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--brand-orange)), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-bento-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(20, 30, 38, 0.85);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7), 0 0 30px var(--card-glow, var(--brand-orange-glow));
}

.service-card-image-wrap {
  position: relative;
  overflow: hidden;
}

.service-cover-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-bento-card:hover .service-cover-img {
  transform: scale(1.05);
}

.service-bento-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  color: var(--card-accent, var(--brand-orange));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.service-bento-card:hover .service-icon-box {
  background: var(--card-accent, var(--brand-orange));
  color: #FFFFFF !important;
  box-shadow: 0 10px 25px var(--card-glow, var(--brand-orange-glow));
  transform: scale(1.05);
}

.service-bento-card:hover .service-icon-box svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

.ltr-inline {
  direction: ltr !important;
  unicode-bidi: isolate;
  display: inline-block;
  white-space: nowrap;
}

.service-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--card-accent, var(--brand-cyan));
  margin-bottom: 0.8rem;
}

.service-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--brand-white);
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.service-feature-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  color: #CBD5E1;
  font-weight: 600;
  transition: var(--transition-fast);
}

.service-bento-card:hover .service-feature-pill {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.service-action-btn {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--card-accent, var(--brand-orange));
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.service-action-btn:hover {
  gap: 0.8rem;
}

/* ==========================================================================
   UAE ECOSYSTEM COMPLIANCE CARDS & ADVANCED CYBER ANIMATIONS
   ========================================================================== */
.compliance-section {
  position: relative;
  background: radial-gradient(circle at 50% 25%, rgba(16, 168, 200, 0.05) 0%, rgba(16, 23, 29, 0.88) 60%, rgba(10, 15, 20, 0.98) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 5.5rem 0 6rem 0;
}

.compliance-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.compliance-glow-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.16;
  pointer-events: none;
  transition: transform 0.8s ease, opacity 0.8s ease;
  will-change: transform, opacity;
}

.glow-cyan {
  top: 5%;
  right: -5%;
  background: #10A8C8;
  animation: compliance-orb-drift-1 12s ease-in-out infinite alternate;
}

.glow-amber {
  top: 30%;
  left: 32%;
  background: #F89A20;
  animation: compliance-orb-drift-2 14s ease-in-out infinite alternate-reverse;
}

.glow-emerald {
  bottom: 0%;
  left: -5%;
  background: #10B981;
  animation: compliance-orb-drift-3 10s ease-in-out infinite alternate;
}

@keyframes compliance-orb-drift-1 {
  0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.12; }
  100% { transform: translate3d(-35px, 30px, 0) scale(1.18); opacity: 0.22; }
}

@keyframes compliance-orb-drift-2 {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.14; }
  100% { transform: translate3d(30px, -25px, 0) scale(1.25); opacity: 0.24; }
}

@keyframes compliance-orb-drift-3 {
  0% { transform: translate3d(0, 0, 0) scale(0.95); opacity: 0.14; }
  100% { transform: translate3d(40px, -20px, 0) scale(1.2); opacity: 0.25; }
}

.compliance-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: radial-gradient(ellipse at center, black 45%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 45%, transparent 80%);
}

.compliance-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 1.15rem;
  border-radius: 999px;
  background: rgba(16, 168, 200, 0.08);
  border: 1px solid rgba(16, 168, 200, 0.25);
  margin-bottom: 1.1rem;
  position: relative;
  box-shadow: 0 0 15px rgba(16, 168, 200, 0.12);
}

.compliance-badge-wrapper .section-badge {
  margin-bottom: 0;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
}

.compliance-pulse-radar {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10A8C8;
  box-shadow: 0 0 10px #10A8C8;
  position: relative;
  flex-shrink: 0;
}

.compliance-pulse-radar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #10A8C8;
  animation: radar-ripple 2.2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.text-shimmer-flow {
  background: linear-gradient(90deg, #10A8C8 0%, #38BDF8 35%, #FFFFFF 50%, #38BDF8 65%, #10A8C8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shimmer-sweep 4.5s linear infinite;
  display: inline-block;
  will-change: background-position;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.compliance-card {
  background: rgba(16, 23, 29, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 2.3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

.compliance-card-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
}

.compliance-card:hover {
  transform: translateY(-8px);
}

.compliance-card--speed:hover {
  border-color: rgba(16, 168, 200, 0.45);
  box-shadow: 0 16px 40px -10px rgba(16, 168, 200, 0.25), 0 0 25px rgba(16, 168, 200, 0.12);
}

.compliance-card--payments:hover {
  border-color: rgba(248, 154, 32, 0.45);
  box-shadow: 0 16px 40px -10px rgba(248, 154, 32, 0.25), 0 0 25px rgba(248, 154, 32, 0.12);
}

.compliance-card--whatsapp:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 16px 40px -10px rgba(16, 185, 129, 0.25), 0 0 25px rgba(16, 185, 129, 0.12);
}

.compliance-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.compliance-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 0;
  flex-shrink: 0;
}

.compliance-card:hover .compliance-icon {
  transform: scale(1.12) rotate(-5deg);
}

body[dir="ltr"] .compliance-card:hover .compliance-icon {
  transform: scale(1.12) rotate(5deg);
}

.icon-speed {
  background: rgba(16, 168, 200, 0.12);
  border: 1px solid rgba(16, 168, 200, 0.32);
  color: #10A8C8;
  box-shadow: 0 0 20px rgba(16, 168, 200, 0.18);
}

.icon-payments {
  background: rgba(248, 154, 32, 0.12);
  border: 1px solid rgba(248, 154, 32, 0.32);
  color: #F89A20;
  box-shadow: 0 0 20px rgba(248, 154, 32, 0.18);
}

.icon-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.32);
  color: #25D366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.18);
}

.icon-pulse-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ring-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 20px;
  border: 1.5px solid rgba(16, 168, 200, 0.4);
  opacity: 0;
  animation: icon-radar-wave 2.8s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.amber-pulse {
  border-color: rgba(248, 154, 32, 0.4);
  animation-delay: 0.6s;
}

.emerald-pulse {
  border-color: rgba(37, 211, 102, 0.4);
  animation-delay: 1.2s;
}

@keyframes icon-radar-wave {
  0% { transform: scale(0.9); opacity: 0.85; }
  60% { opacity: 0.25; }
  100% { transform: scale(1.4); opacity: 0; }
}

.compliance-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.tag-cyan {
  background: rgba(16, 168, 200, 0.1);
  border: 1px solid rgba(16, 168, 200, 0.28);
  color: #38BDF8;
}

.tag-amber {
  background: rgba(248, 154, 32, 0.1);
  border: 1px solid rgba(248, 154, 32, 0.28);
  color: #FDBA74;
}

.tag-emerald {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6EE7B7;
}

.live-dot-cyan, .live-dot-amber, .live-dot-emerald {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.live-dot-cyan { background: #10A8C8; box-shadow: 0 0 8px #10A8C8; }
.live-dot-amber { background: #F89A20; box-shadow: 0 0 8px #F89A20; }
.live-dot-emerald { background: #10B981; box-shadow: 0 0 8px #10B981; }

.compliance-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--brand-white);
  line-height: 1.3;
}

.compliance-desc {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.68;
  margin-bottom: 1.4rem;
}

/* 1. Speed Telemetry Widget */
.speed-telemetry-widget {
  background: rgba(11, 17, 22, 0.85);
  border: 1px solid rgba(16, 168, 200, 0.2);
  border-radius: 14px;
  padding: 1.05rem 1.15rem;
  margin-bottom: 1.35rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.speed-telemetry-widget::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 168, 200, 0.1), transparent);
  animation: speed-sweep 4.5s infinite linear;
}

@keyframes speed-sweep {
  0% { transform: translateX(0); }
  100% { transform: translateX(200%); }
}

.speed-meter-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 0.85rem;
}

.speed-gauge-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.speed-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
}

.gauge-progress {
  fill: none;
  stroke: #10A8C8;
  stroke-linecap: round;
  stroke-dasharray: 201; /* 2 * PI * 32 */
  stroke-dashoffset: 15;
  filter: drop-shadow(0 0 6px rgba(16, 168, 200, 0.65));
  animation: gauge-fill-glow 3s infinite alternate ease-in-out;
}

@keyframes gauge-fill-glow {
  0% { stroke-dashoffset: 35; stroke: #10A8C8; }
  100% { stroke-dashoffset: 8; stroke: #38BDF8; }
}

.speed-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gauge-score {
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  font-family: var(--font-mono, monospace);
  letter-spacing: -0.5px;
}

.gauge-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #7DD3FC;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.speed-metrics-data {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.77rem;
}

.metric-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.metric-value {
  font-weight: 800;
  font-family: var(--font-mono, monospace);
}

.metric-bar-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 999px;
  position: relative;
}

.bar-cyan {
  background: linear-gradient(90deg, #10A8C8, #38BDF8);
  box-shadow: 0 0 8px rgba(16, 168, 200, 0.6);
}

.bar-emerald {
  background: linear-gradient(90deg, #10B981, #34D399);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.speed-edge-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.73rem;
  color: var(--text-secondary);
}

.edge-ping-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  position: relative;
  flex-shrink: 0;
}

.edge-ping-beacon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid #10B981;
  animation: radar-ripple 1.8s infinite;
}

.edge-location {
  font-weight: 600;
  flex: 1;
  font-size: 0.72rem;
}

.edge-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* 2. Payments Interactive Widget */
.payments-interactive-widget {
  background: rgba(11, 17, 22, 0.85);
  border: 1px solid rgba(248, 154, 32, 0.22);
  border-radius: 14px;
  padding: 1.05rem;
  margin-bottom: 1.35rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.mini-fintech-card {
  background: linear-gradient(135deg, rgba(34, 23, 14, 0.95) 0%, rgba(19, 14, 10, 0.95) 50%, rgba(48, 29, 12, 0.98) 100%);
  border: 1px solid rgba(248, 154, 32, 0.38);
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  box-shadow: 0 8px 24px -5px rgba(248, 154, 32, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease;
}

.mini-fintech-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.09) 50%, transparent 60%);
  transform: rotate(25deg);
  animation: card-sheen 6.5s infinite;
}

@keyframes card-sheen {
  0% { transform: translateX(-100%) rotate(25deg); }
  25%, 100% { transform: translateX(100%) rotate(25deg); }
}

.card-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.emv-chip {
  width: 27px;
  height: 21px;
  border-radius: 4px;
  background: linear-gradient(135deg, #F89A20 0%, #FCD34D 50%, #D97706 100%);
  box-shadow: 0 0 8px rgba(248, 154, 32, 0.45);
  position: relative;
  border: 0.5px solid rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 2px 3px;
}

.chip-line {
  height: 1px;
  background: rgba(0, 0, 0, 0.35);
}

.nfc-icon {
  color: rgba(255, 255, 255, 0.65);
  animation: nfc-pulse 2.2s infinite ease-in-out;
}

@keyframes nfc-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; transform: scale(1.1); color: #F89A20; }
}

.card-brand-logo {
  font-size: 0.78rem;
  font-weight: 900;
  color: #F89A20;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-mono, monospace);
}

.card-number-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 2px;
  margin-bottom: 0.65rem;
}

.card-last4 {
  color: #FDBA74;
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-holder-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.card-lbl {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-val {
  font-size: 0.73rem;
  font-weight: 700;
  color: #F89A20;
}

.card-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.38);
  color: #34D399;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.tax-approval-capsule {
  margin-top: 0.8rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  border-radius: 9px;
  padding: 0.55rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.76rem;
}

.tax-capsule-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tax-capsule-text {
  color: #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.35;
}

.tax-capsule-text strong {
  color: #34D399;
  font-weight: 700;
}

/* 3. WhatsApp Dialogue Simulator */
.wa-sim-terminal {
  background: rgba(10, 18, 16, 0.88);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 1.35rem;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wa-sim-header {
  background: rgba(16, 32, 26, 0.96);
  border-bottom: 1px solid rgba(37, 211, 102, 0.2);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-sim-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wa-sim-avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.74rem;
  color: #FFFFFF;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.wa-online-indicator {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25D366;
  border: 1.5px solid #10201A;
  box-shadow: 0 0 6px #25D366;
}

.wa-sim-info {
  display: flex;
  flex-direction: column;
}

.wa-sim-name {
  font-size: 0.79rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.wa-sim-status {
  font-size: 0.67rem;
  color: #34D399;
  font-weight: 500;
}

.wa-sim-speed-badge {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.32);
  color: #25D366;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
}

.wa-sim-body {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 135px;
  background-image: 
    radial-gradient(circle, rgba(37, 211, 102, 0.04) 1px, transparent 1px);
  background-size: 15px 15px;
}

.wa-bubble {
  max-width: 90%;
  border-radius: 13px;
  padding: 0.55rem 0.8rem;
  position: relative;
  font-size: 0.79rem;
  line-height: 1.45;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wa-bubble-in {
  background: #202C33;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

body[dir="rtl"] .wa-bubble-in {
  border-bottom-left-radius: 13px;
  border-bottom-right-radius: 3px;
}

.wa-bubble-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(16, 168, 200, 0.18);
  color: #38BDF8;
  padding: 1px 6px;
  border-radius: 3px;
  margin-bottom: 2px;
}

.wa-bubble-out {
  background: #005C4B;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  box-shadow: 0 4px 14px rgba(0, 92, 75, 0.35);
}

body[dir="rtl"] .wa-bubble-out {
  border-bottom-right-radius: 13px;
  border-bottom-left-radius: 3px;
}

.wa-bubble-text {
  color: #E9EDEF;
  margin: 0;
  font-size: 0.79rem;
}

.wa-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 3px;
}

.wa-time {
  font-size: 0.63rem;
  color: rgba(255, 255, 255, 0.5);
}

.wa-double-check {
  display: flex;
  align-items: center;
}

.wa-typing-indicator {
  display: none;
  align-self: flex-end;
  background: #005C4B;
  border-radius: 13px;
  padding: 0.48rem 0.8rem;
  gap: 5px;
  align-items: center;
  border: 1px solid rgba(37, 211, 102, 0.25);
  animation: wa-bubble-enter 0.3s ease both;
}

.wa-typing-indicator.active {
  display: flex;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #25D366;
  animation: typing-dot-bounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.typing-text {
  font-size: 0.66rem;
  color: #6EE7B7;
  margin-right: 4px;
}

body[dir="rtl"] .typing-text {
  margin-right: 0;
  margin-left: 4px;
}

.wa-pipeline-pulse {
  background: rgba(16, 32, 26, 0.96);
  border-top: 1px solid rgba(37, 211, 102, 0.16);
  padding: 0.52rem 0.9rem;
  position: relative;
  overflow: hidden;
}

.pipeline-bar-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #25D366, transparent);
  animation: pipeline-pulse-scan 2.6s infinite linear;
}

@keyframes pipeline-pulse-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.pipeline-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.71rem;
}

.pipeline-status-text {
  color: #A7F3D0;
  font-weight: 600;
}

.pipeline-latency {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  color: #25D366;
}

/* Compliance Badges */
.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.compliance-mini-tag {
  background: rgba(16, 168, 200, 0.08);
  border: 1px solid rgba(16, 168, 200, 0.22);
  color: #7DD3FC;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.compliance-mini-tag:hover {
  background: rgba(16, 168, 200, 0.15);
  border-color: rgba(16, 168, 200, 0.45);
  transform: translateY(-2px);
}

.tag-pulse {
  animation: mini-tag-shimmer 3.2s infinite alternate ease-in-out;
}

.tag-pulse-green {
  animation: mini-tag-green-shimmer 3.2s infinite alternate ease-in-out;
}

@keyframes mini-tag-shimmer {
  0% { box-shadow: 0 0 0 rgba(16, 168, 200, 0); }
  100% { box-shadow: 0 0 12px rgba(16, 168, 200, 0.45); border-color: rgba(16, 168, 200, 0.55); }
}

@keyframes mini-tag-green-shimmer {
  0% { box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 12px rgba(16, 185, 129, 0.45); border-color: rgba(16, 185, 129, 0.55); }
}

@media (max-width: 991px) {
  .compliance-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

/* ==========================================================================
   PROJECTS SHOWCASE
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: rgba(16, 23, 29, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
}

.project-thumb {
  height: 230px;
  background-color: #151D24;
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.project-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(16, 23, 29, 0.95) 0%, transparent 60%);
}

.project-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.project-result {
  font-size: 0.92rem;
  color: var(--brand-amber);
  margin-bottom: 1.4rem;
  font-weight: 700;
  background: rgba(248, 154, 32, 0.08);
  border: 1px solid rgba(248, 154, 32, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.project-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   TESTIMONIALS (LUXURY GULF TECH STANDARD - ENHANCED & INTERACTIVE)
   ========================================================================== */
.testimonials-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(250, 128, 42, 0.07) 0%, transparent 60%),
              radial-gradient(circle at 80% 100%, rgba(16, 168, 200, 0.06) 0%, transparent 50%),
              rgba(11, 16, 21, 0.75);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Ambient Cyber Glow Orbs */
.testimonials-ambient-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ambient-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
}

.ambient-glow-orange {
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, #FA802A 0%, transparent 70%);
}

.ambient-glow-cyan {
  bottom: -150px;
  left: -100px;
  background: radial-gradient(circle, #10A8C8 0%, transparent 70%);
}

/* Trust Bar */
.testimonials-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.2rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.trust-bar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.trust-bar-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-amber);
  box-shadow: 0 0 8px rgba(248, 154, 32, 0.6);
}

.partner-pulse-pill {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
  color: #6EE7B7;
}

.partner-pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulse-beacon 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-beacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Interactive Action Bar (Filter Tabs + View Switcher) */
.testimonials-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
}

.testimonials-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.35rem 0.4rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: rgba(16, 23, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.testimonials-filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.filter-tab.active {
  background: linear-gradient(135deg, #FA802A 0%, #F89A20 100%);
  color: #070B0E;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(250, 128, 42, 0.35);
}

.filter-tab .tab-count {
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 9999px;
  line-height: 1.2;
}

/* Prominent & Responsive Navigation Arrow Buttons */
.slider-nav-arrows {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 23, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: var(--radius-pill);
}

.slider-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-arrow-btn:hover {
  background: linear-gradient(135deg, #FA802A 0%, #F89A20 100%);
  border-color: transparent;
  color: #070B0E;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(250, 128, 42, 0.45);
}

.slider-arrow-btn:active {
  transform: scale(0.96);
}

/* Track & Carousel Layout */
.testimonials-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.6rem 0 1.2rem;
  z-index: 2;
}

.testimonials-carousel-track {
  display: flex;
  gap: 1.8rem;
  position: relative;
  z-index: 2;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.testimonials-carousel-track .testimonial-card {
  flex: 0 0 calc((100% - 3.6rem) / 3);
  min-width: calc((100% - 3.6rem) / 3);
  max-width: calc((100% - 3.6rem) / 3);
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .testimonials-carousel-track .testimonial-card {
    flex: 0 0 calc((100% - 1.8rem) / 2);
    min-width: calc((100% - 1.8rem) / 2);
    max-width: calc((100% - 1.8rem) / 2);
  }
}

@media (max-width: 680px) {
  .testimonials-carousel-track .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .testimonials-action-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .testimonials-filter-tabs {
    width: 100%;
  }
  .slider-nav-arrows {
    align-self: center;
  }
}

/* Card Styling with Interactive Cursor Spotlight Glow */
.testimonial-card {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 26, 34, 0.88) 0%, rgba(12, 18, 24, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(250, 128, 42, 0.6);
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.88),
              0 0 35px rgba(250, 128, 42, 0.18);
}

/* Dynamic Spotlight Glow Effect */
.card-spotlight-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(250, 128, 42, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.testimonial-card:hover .card-spotlight-glow {
  opacity: 1;
}

/* Watermark quotation icon */
.testimonial-watermark {
  position: absolute;
  top: 1.4rem;
  inset-inline-end: 1.4rem;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  z-index: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover .testimonial-watermark {
  color: rgba(250, 128, 42, 0.09);
  transform: scale(1.08) rotate(-4deg);
}

/* Top bar: Stars + verified badge */
.testimonial-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.testimonial-stars-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.testimonial-stars {
  color: #F89A20;
  font-size: 1.15rem;
  letter-spacing: 2px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(248, 154, 32, 0.45);
}

.testimonial-rating-score {
  font-size: 0.74rem;
  font-weight: 800;
  color: #F89A20;
  background: rgba(248, 154, 32, 0.12);
  border: 1px solid rgba(248, 154, 32, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  line-height: 1.2;
}

.testimonial-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(16, 168, 200, 0.1);
  border: 1px solid rgba(16, 168, 200, 0.28);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.testimonial-verified-badge svg {
  flex-shrink: 0;
  color: var(--brand-cyan);
}

/* Tags Row: Scope Tag + Metric Pill */
.testimonial-tags-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.testimonial-scope-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-amber);
  background: rgba(250, 128, 42, 0.08);
  border: 1px solid rgba(250, 128, 42, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
}

.testimonial-scope-tag .tag-icon {
  font-size: 0.8rem;
  line-height: 1;
}

/* High-Impact Metric Pill */
.testimonial-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #34D399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.testimonial-metric-pill .metric-icon {
  font-size: 0.82rem;
  line-height: 1;
}

/* Quote */
.testimonial-quote {
  position: relative;
  z-index: 2;
  color: #E2E8F0;
  line-height: 1.85;
  font-size: 1.02rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-weight: 400;
  font-style: normal;
}

/* Author block */
.testimonial-author {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

/* Square Photo Frame / Placeholder */
.author-avatar-square {
  position: relative;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(250, 128, 42, 0.75) 0%, rgba(16, 168, 200, 0.75) 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(250, 128, 42, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.testimonial-card:hover .author-avatar-square {
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 22px rgba(250, 128, 42, 0.4);
}

.avatar-square-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0E151C;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder when photo is not uploaded yet */
.testimonial-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(145deg, rgba(23, 33, 44, 0.95) 0%, rgba(13, 19, 26, 0.95) 100%);
}

.placeholder-initials {
  font-size: 1.12rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FA802A 0%, #10A8C8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  line-height: 1;
}

.placeholder-upload-indicator {
  position: absolute;
  top: 3px;
  inset-inline-end: 3px;
  opacity: 0.45;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.testimonial-card:hover .placeholder-upload-indicator {
  opacity: 0.9;
  color: var(--brand-amber);
}

/* Verified check badge on avatar corner */
.avatar-check-badge {
  position: absolute;
  bottom: -4px;
  inset-inline-end: -4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #10A8C8;
  border: 2px solid #0E151C;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 8px rgba(16, 168, 200, 0.7);
  z-index: 3;
}

/* Author metadata */
.testimonial-author-meta {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.testimonial-author-meta .author-name {
  color: var(--brand-white);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-author-meta .author-role {
  color: var(--brand-cyan);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.15rem;
}

.testimonial-author-meta .author-company {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Slider Pagination Dots Indicator */
.testimonials-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.8rem;
  position: relative;
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slider-dot.active {
  width: 28px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FA802A 0%, #10A8C8 100%);
  box-shadow: 0 0 10px rgba(250, 128, 42, 0.5);
}

/* ==========================================================================
   CONTACT LEAD FUNNEL BOX
   ========================================================================== */
.contact-section {
  background: rgba(11, 16, 21, 0.95);
  border-top: 1px solid var(--border-subtle);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4.5rem;
  align-items: center;
}

.lead-form-box {
  background: rgba(16, 23, 29, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  box-shadow: var(--shadow-ambient), 0 0 40px rgba(250, 128, 42, 0.1);
  position: relative;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #E2E8F0;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(7, 11, 14, 0.8);
  border: 1px solid var(--border-light);
  color: var(--brand-white);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-select option {
  background-color: #0E141B;
  color: #FFFFFF;
  padding: 0.5rem;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 15px rgba(250, 128, 42, 0.35);
  background: rgba(11, 16, 21, 0.95);
}

/* Floating WhatsApp Luxury Button */
.float-whatsapp {
  position: fixed !important;
  bottom: 28px;
  inset-inline-end: 28px;
  inset-inline-start: auto;
  right: 28px;
  left: auto;
  z-index: 9990;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

[dir="rtl"] .float-whatsapp {
  right: auto;
  left: 28px;
  inset-inline-end: 28px;
  inset-inline-start: auto;
}

[dir="ltr"] .float-whatsapp {
  left: auto;
  right: 28px;
  inset-inline-end: 28px;
  inset-inline-start: auto;
}

.float-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
  position: relative;
  z-index: 3;
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .float-whatsapp:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  }
}

.float-whatsapp:active {
  transform: scale(0.92);
}

@media (max-width: 768px) {
  .float-whatsapp {
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: 20px;
    inset-inline-start: auto;
    right: 20px;
    left: auto;
    width: 52px;
    height: 52px;
  }
  [dir="rtl"] .float-whatsapp {
    right: auto;
    left: 20px;
    inset-inline-end: 20px;
    inset-inline-start: auto;
  }
  [dir="ltr"] .float-whatsapp {
    left: auto;
    right: 20px;
    inset-inline-end: 20px;
    inset-inline-start: auto;
  }
  .float-whatsapp svg {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 640px) {
  .float-whatsapp {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: 16px;
    inset-inline-start: auto;
    right: 16px;
    left: auto;
    width: 48px;
    height: 48px;
  }
  [dir="rtl"] .float-whatsapp {
    right: auto;
    left: 16px;
    inset-inline-end: 16px;
    inset-inline-start: auto;
  }
  [dir="ltr"] .float-whatsapp {
    left: auto;
    right: 16px;
    inset-inline-end: 16px;
    inset-inline-start: auto;
  }
  .float-whatsapp svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 360px) {
  .float-whatsapp {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: 12px;
    inset-inline-start: auto;
    right: 12px;
    left: auto;
    width: 44px;
    height: 44px;
  }
  [dir="rtl"] .float-whatsapp {
    right: auto;
    left: 12px;
    inset-inline-end: 12px;
    inset-inline-start: auto;
  }
  [dir="ltr"] .float-whatsapp {
    left: auto;
    right: 12px;
    inset-inline-end: 12px;
    inset-inline-start: auto;
  }
  .float-whatsapp svg {
    width: 22px;
    height: 22px;
  }
}

/* Footer */
.site-footer {
  position: relative;
  background: #04070A;
  padding: 5rem 0 2.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

/* Top Laser Border with Moving Neon Pulse */
.footer-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(250, 128, 42, 0.35) 20%, 
    rgba(16, 168, 200, 0.5) 50%, 
    rgba(250, 128, 42, 0.35) 80%, 
    transparent 100%
  );
  z-index: 5;
  overflow: hidden;
}

.footer-laser-pulse {
  position: absolute;
  top: -1px;
  left: 0;
  width: 20%;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #FA802A 30%, 
    #FFFFFF 50%, 
    #10A8C8 70%, 
    transparent 100%
  );
  filter: blur(1px) drop-shadow(0 0 10px #FA802A);
  animation: footer-laser-sweep 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Ambient Floating Orbs */
.footer-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}

.footer-ambient-orb.orb-amber {
  top: -80px;
  right: 6%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(250, 128, 42, 0.18) 0%, rgba(248, 154, 32, 0.06) 50%, transparent 70%);
  animation: footer-orb-float-1 14s ease-in-out infinite alternate;
}

.footer-ambient-orb.orb-cyan {
  bottom: 20px;
  left: 4%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 168, 200, 0.16) 0%, rgba(139, 46, 135, 0.05) 50%, transparent 70%);
  animation: footer-orb-float-2 18s ease-in-out infinite alternate;
}

/* Cyber Matrix Background Grid */
.footer-cyber-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 55px 55px;
  background-position: center center;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* Gigantic Outline Watermark */
.footer-bg-watermark {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(3.8rem, 10vw, 9.5rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.028);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  text-transform: uppercase;
}

.footer-content-wrapper {
  position: relative;
  z-index: 3;
}

/* Pre-Footer Interactive CTA Banner */
.footer-cta-banner {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16, 23, 28, 0.9) 0%, rgba(13, 27, 36, 0.75) 100%);
  border: 1px solid rgba(250, 128, 42, 0.24);
  padding: 2.4rem 3rem;
  margin-bottom: 4.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.footer-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
  z-index: 2;
}

.footer-cta-banner:hover {
  border-color: rgba(250, 128, 42, 0.45);
  box-shadow: 0 25px 60px rgba(250, 128, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.footer-cta-ambient-glow {
  position: absolute;
  top: -50%;
  right: 15%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(250, 128, 42, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.footer-cta-text-col {
  max-width: 680px;
}

.footer-cta-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  background: rgba(250, 128, 42, 0.12);
  border: 1px solid rgba(250, 128, 42, 0.3);
  border-radius: var(--radius-pill, 9999px);
  color: var(--brand-amber);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.85rem;
}

.footer-cta-live-badge .pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 10px var(--brand-orange);
  animation: radar-ripple 1.8s infinite;
}

.footer-cta-heading {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: var(--brand-white);
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.footer-cta-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.footer-cta-actions-col {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.footer-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.footer-action-btn.primary-glow {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-amber) 100%);
  color: #06090C;
  box-shadow: 0 8px 25px rgba(250, 128, 42, 0.35);
}

.footer-action-btn.primary-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: footer-btn-shimmer 3.5s infinite;
}

.footer-action-btn.primary-glow:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(250, 128, 42, 0.5);
  color: #000000;
}

.footer-action-btn.primary-glow:hover .btn-arrow-icon {
  transform: translateX(4px);
}
body[dir="rtl"] .footer-action-btn.primary-glow:hover .btn-arrow-icon {
  transform: translateX(-4px) rotate(180deg);
}
body[dir="rtl"] .footer-action-btn.primary-glow .btn-arrow-icon {
  transform: rotate(180deg);
}

.footer-action-btn.whatsapp-glow {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.footer-action-btn.whatsapp-glow:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

/* 4-Column Main Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--brand-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}

.title-accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 8px var(--brand-orange);
  display: inline-block;
}

.live-dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  display: inline-block;
  animation: radar-ripple 1.8s infinite;
}

/* Brand Column */
.footer-brand-link {
  display: inline-block;
  position: relative;
  margin-bottom: 1.4rem;
  transition: transform 0.3s ease;
}

.footer-brand-link:hover {
  transform: translateY(-2px);
}

.footer-logo-img {
  max-height: 44px;
  display: block;
  position: relative;
  z-index: 2;
  transition: filter 0.3s ease;
}

.footer-brand-link:hover .footer-logo-img {
  filter: drop-shadow(0 0 14px rgba(250, 128, 42, 0.45));
}

.footer-brand-summary {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 1.6rem;
}

/* Interactive Dubai HQ Tech Beacon */
.footer-hq-beacon {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 330px;
}

.footer-hq-beacon:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.beacon-sonar {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sonar-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.sonar-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #10B981;
  animation: footer-radar-wave 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.sonar-wave.delay {
  animation-delay: 1.1s;
}

.beacon-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.beacon-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-white);
  letter-spacing: 0.02em;
}

.beacon-coords {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Animated Links List */
.footer-animated-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-animated-links li {
  margin-bottom: 0.75rem;
}

.footer-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.2rem 0;
  transition: all 0.25s ease;
  position: relative;
}

.footer-link-chevron {
  width: 12px;
  height: 12px;
  color: var(--brand-orange);
  opacity: 0.4;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

body[dir="rtl"] .footer-link-chevron {
  transform: rotate(180deg);
}

.footer-link-item:hover {
  color: #FFFFFF;
}

.footer-link-item:hover .footer-link-chevron {
  opacity: 1;
  color: var(--brand-orange);
  transform: translateX(4px);
}

body[dir="rtl"] .footer-link-item:hover .footer-link-chevron {
  transform: rotate(180deg) translateX(4px);
}

/* Micro Badges for Links */
.footer-badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill, 9999px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-inline-start: 0.4rem;
}

.footer-badge-pill.popular {
  background: rgba(250, 128, 42, 0.15);
  color: var(--brand-amber);
  border: 1px solid rgba(250, 128, 42, 0.3);
}

.footer-badge-pill.live {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.footer-badge-pill.enterprise {
  background: rgba(16, 168, 200, 0.15);
  color: var(--brand-cyan);
  border: 1px solid rgba(16, 168, 200, 0.3);
}

.footer-badge-pill.ai {
  background: rgba(139, 46, 135, 0.2);
  color: #C084FC;
  border: 1px solid rgba(139, 46, 135, 0.4);
}

/* Contact Pills */
.footer-contact-cards {
  margin-bottom: 1.5rem;
}

.footer-contact-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md, 12px);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.footer-contact-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(250, 128, 42, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-contact-pill:hover .contact-pill-icon.pin-icon {
  animation: footer-pin-bounce 0.6s ease-in-out;
  color: var(--brand-orange);
  background: rgba(250, 128, 42, 0.15);
}

.footer-contact-pill:hover .contact-pill-icon.phone-icon {
  animation: footer-phone-vibrate 0.6s ease-in-out;
  color: var(--brand-amber);
  background: rgba(248, 154, 32, 0.15);
}

.footer-contact-pill:hover .contact-pill-icon.mail-icon {
  animation: footer-mail-pop 0.6s ease-in-out;
  color: var(--brand-cyan);
  background: rgba(16, 168, 200, 0.15);
}

.contact-pill-text {
  flex: 1;
  overflow: hidden;
}

.contact-pill-val {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.footer-contact-pill:hover .contact-pill-val {
  color: #FFFFFF;
}

.contact-pill-val.phone-val {
  color: var(--brand-amber);
  direction: ltr;
  display: inline-block;
  font-weight: 600;
}

.contact-copy-badge {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.footer-contact-pill:hover .contact-copy-badge {
  opacity: 0.85;
  transform: translateX(0);
}

/* Floating Magnetic Social Spheres */
.footer-social-spheres-wrap {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.social-sphere {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: footer-sphere-float 4s ease-in-out infinite alternate;
  text-decoration: none;
}

.social-sphere:nth-child(1) { animation-delay: 0s; }
.social-sphere:nth-child(2) { animation-delay: 0.7s; }
.social-sphere:nth-child(3) { animation-delay: 1.4s; }
.social-sphere:nth-child(4) { animation-delay: 2.1s; }

.social-sphere:hover {
  transform: translateY(-6px) scale(1.15) !important;
  color: #FFFFFF;
}

.social-sphere.fb-sphere:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: #1877F2;
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.45);
}

.social-sphere.ig-sphere:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #FA802A;
  box-shadow: 0 0 20px rgba(250, 128, 42, 0.45);
}

.social-sphere.tt-sphere:hover {
  background: rgba(16, 168, 200, 0.25);
  border-color: #10A8C8;
  box-shadow: 0 0 20px rgba(16, 168, 200, 0.5);
}

.social-sphere.wa-sphere:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: #25D366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
  color: #25D366;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  padding-top: 1.8rem;
  position: relative;
}

.footer-divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  opacity: 0.4;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.divider-gem {
  color: var(--brand-orange);
  font-size: 0.75rem;
  filter: drop-shadow(0 0 6px var(--brand-orange));
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.bottom-legal-copy {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.bottom-legal-copy p {
  margin: 0;
}

.made-in-dubai-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.heart-pulse {
  display: inline-block;
  animation: footer-heart-beat 2.2s infinite ease-in-out;
}

.bottom-tax-compliance {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill, 9999px);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.compliance-shield {
  color: #10B981;
  display: inline-flex;
}

.bottom-scroll-trigger {
  flex-shrink: 0;
}

.footer-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill, 9999px);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-to-top-btn:hover {
  background: rgba(250, 128, 42, 0.15);
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(250, 128, 42, 0.25);
}

.footer-to-top-btn:hover .to-top-icon {
  transform: translateY(-2px);
}

.to-top-icon {
  transition: transform 0.25s ease;
}

/* Footer Responsive Overrides */
@media (max-width: 1024px) {
  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }
  .footer-cta-actions-col {
    width: 100%;
    flex-wrap: wrap;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-bottom-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 3.5rem 0 2rem;
  }
  .footer-cta-banner {
    padding: 1.8rem 1.4rem;
    margin-bottom: 3.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-cta-actions-col {
    flex-direction: column;
    width: 100%;
  }
  .footer-action-btn {
    width: 100%;
    justify-content: center;
  }
  .footer-bottom-flex {
    align-items: center;
    text-align: center;
  }
  .bottom-legal-copy {
    align-items: center;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE DRAWER
   ========================================================================== */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-flex { display: inline-flex !important; }
.d-flex { display: flex !important; }

@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-inline-flex { display: inline-flex !important; }
  .d-md-flex { display: flex !important; }
}

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-inline-flex { display: inline-flex !important; }
  .d-lg-flex { display: flex !important; }
}

@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
  .d-xl-block { display: block !important; }
  .d-xl-inline-flex { display: inline-flex !important; }
  .d-xl-flex { display: flex !important; }
}

@media (max-width: 991.98px) {
  .d-lg-down-none { display: none !important; }
}

@media (max-width: 767.98px) {
  .d-md-down-none { display: none !important; }
}

/* Custom Responsive Layout Grids */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Dubai Geospatial Telemetry Card */
.dubai-geospatial-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  background: rgba(14, 22, 28, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.8rem;
  margin-bottom: 3.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.12);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

/* About Page Pillars Cards - Balanced & Luxury */
.pillar-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pillar-card {
  position: relative;
  background: rgba(16, 23, 29, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.35rem 1.6rem;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--pillar-accent, var(--brand-orange)) !important;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8),
              0 0 25px var(--pillar-glow, rgba(250, 128, 42, 0.25)) !important;
}

.pillar-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.pillar-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pillar-tag-num,
.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, monospace;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--pillar-accent, var(--brand-orange));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 10px var(--pillar-glow, rgba(250, 128, 42, 0.15));
}

.pillar-title {
  color: var(--brand-white);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.pillar-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==========================================================================
   FOUNDER & LEADERSHIP SECTION (PREMIUM DUBAI TECH IDENTITY)
   ========================================================================== */
.founder-section-wrapper {
  position: relative;
  padding: 6.5rem 0;
  margin: 3rem 0 5rem;
  background: radial-gradient(ellipse 90% 60% at 50% 50%, rgba(250, 128, 42, 0.06), transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 30%, rgba(16, 168, 200, 0.05), transparent 60%),
              rgba(11, 16, 21, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.founder-section-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.5;
}

.founder-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Founder Text Column */
.founder-text-column {
  text-align: right;
  direction: rtl;
}

[dir="ltr"] .founder-text-column {
  text-align: left;
  direction: ltr;
}

.founder-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(250, 128, 42, 0.1);
  border: 1px solid rgba(250, 128, 42, 0.35);
  color: var(--brand-orange);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 15px rgba(250, 128, 42, 0.15);
}

.founder-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-orange);
  animation: pulse-dot 2s infinite;
}

.founder-name-title {
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  font-weight: 900;
  color: var(--brand-white);
  line-height: 1.25;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.founder-role-sub {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-cyan);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.founder-bio-body {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.founder-bio-body p {
  margin-bottom: 1.2rem;
}

.founder-bio-body p:last-child {
  margin-bottom: 0;
}

/* Quick Founder Stats Strip */
.founder-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.founder-stat-card {
  background: rgba(16, 23, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.founder-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(250, 128, 42, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.founder-stat-num {
  font-size: 1.65rem;
  font-weight: 900;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, monospace;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.founder-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Action Buttons */
.founder-action-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.btn-founder-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-founder-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.btn-founder-consult {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--brand-white) !important;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-founder-consult:hover {
  background: rgba(250, 128, 42, 0.12);
  border-color: var(--brand-orange);
  color: var(--brand-orange) !important;
  transform: translateY(-2px);
}

/* Photo Column with Cyber Effects */
.founder-photo-column {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.founder-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}

/* Outer Cyber Glow Aura */
.founder-ambient-glow {
  position: absolute;
  top: -24px;
  right: -24px;
  bottom: -24px;
  left: -24px;
  background: radial-gradient(circle at 40% 30%, rgba(250, 128, 42, 0.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(16, 168, 200, 0.3), transparent 60%);
  filter: blur(32px);
  z-index: 0;
  opacity: 0.85;
  animation: glow-pulse-ambient 6s ease-in-out infinite alternate;
}

@keyframes glow-pulse-ambient {
  0% { transform: scale(0.96); opacity: 0.6; }
  100% { transform: scale(1.04); opacity: 0.95; }
}

/* Offset Cyber Backdrop Plate */
.founder-frame-wrapper::before {
  content: '';
  position: absolute;
  top: 18px;
  right: -18px;
  bottom: -18px;
  left: 18px;
  background: linear-gradient(135deg, rgba(250, 128, 42, 0.45) 0%, rgba(16, 168, 200, 0.3) 50%, rgba(16, 23, 29, 0.85) 100%);
  border: 1px solid rgba(250, 128, 42, 0.35);
  border-radius: 28px;
  z-index: 1;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease;
}

[dir="ltr"] .founder-frame-wrapper::before {
  right: 18px;
  left: -18px;
}

.founder-frame-wrapper:hover::before {
  transform: translate(-4px, -4px);
}

/* Main Photo Card */
.founder-photo-card {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  background: #0B1015;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.8),
              0 0 35px rgba(250, 128, 42, 0.18);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease;
}

.founder-frame-wrapper:hover .founder-photo-card {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.9),
              0 0 45px rgba(250, 128, 42, 0.35);
  border-color: rgba(250, 128, 42, 0.5);
}

.founder-photo-card img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.founder-frame-wrapper:hover .founder-photo-card img {
  transform: scale(1.03);
}

/* Corner Cyber Tech Brackets */
.founder-bracket {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 4;
  pointer-events: none;
  opacity: 0.85;
}

.founder-bracket-tl {
  top: 14px;
  left: 14px;
  border-top: 2px solid var(--brand-orange);
  border-left: 2px solid var(--brand-orange);
}

.founder-bracket-tr {
  top: 14px;
  right: 14px;
  border-top: 2px solid var(--brand-cyan);
  border-right: 2px solid var(--brand-cyan);
}

.founder-bracket-bl {
  bottom: 14px;
  left: 14px;
  border-bottom: 2px solid var(--brand-cyan);
  border-left: 2px solid var(--brand-cyan);
}

.founder-bracket-br {
  bottom: 14px;
  right: 14px;
  border-bottom: 2px solid var(--brand-orange);
  border-right: 2px solid var(--brand-orange);
}

/* Floating Status Pill on Photo (Centered & Never Wraps) */
.founder-photo-pill {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 28px);
  background: rgba(11, 16, 21, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--brand-white);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  z-index: 5;
  border: 1px solid rgba(250, 128, 42, 0.4);
}

.founder-pulse-beacon {
  width: 9px;
  height: 9px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulse-dot 2s infinite;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.deliverable-chip {
  background: rgba(16, 23, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md, 14px);
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.deliverable-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
  z-index: 2;
}

.deliverable-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 168, 200, 0.18);
}

.deliverable-check-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(16, 168, 200, 0.15) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deliverable-chip:hover .deliverable-check-icon {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.5);
  border-color: #34D399;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: 2.2fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

.mobile-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  z-index: 1001;
  transition: var(--transition-fast);
}

.mobile-toggle-btn:hover {
  background: rgba(250, 128, 42, 0.15);
  border-color: var(--brand-orange);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--brand-white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: 85%;
  max-width: 350px;
  height: 100vh;
  height: 100dvh;
  background: #0B1015;
  border-right: 1px solid var(--border-light);
  border-left: none;
  z-index: 10005;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  will-change: transform;
  visibility: hidden;
  transform: translateX(-105%);
}

/* RTL (Arabic) - Mobile Drawer opens from the right (يمين المستخدم) */
[dir="rtl"] .mobile-drawer,
html[dir="rtl"] .mobile-drawer,
body[dir="rtl"] .mobile-drawer {
  left: auto;
  right: 0;
  border-left: 1px solid var(--border-light);
  border-right: none;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9);
  transform: translateX(105%);
  visibility: hidden;
}

.mobile-drawer.open,
[dir="rtl"] .mobile-drawer.open,
html[dir="rtl"] .mobile-drawer.open,
body[dir="rtl"] .mobile-drawer.open {
  transform: translateX(0) !important;
  visibility: visible !important;
  display: flex !important;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--brand-white);
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.8);
  color: #EF4444;
  transform: scale(1.08) rotate(90deg);
}

.mobile-close-btn:active {
  transform: scale(0.95);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: #94A3B8;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: #FFFFFF;
  background: rgba(250, 128, 42, 0.12);
  border-color: rgba(250, 128, 42, 0.3);
  transform: translateX(4px);
}
body[dir="rtl"] .mobile-nav-link:hover, body[dir="rtl"] .mobile-nav-link.active {
  transform: translateX(-4px);
}

.mobile-drawer-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  margin-top: auto;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(4, 7, 12, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.mobile-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: block !important;
}

/* --- Breakpoint: Laptops & Medium Screens (<= 1100px) --- */
@media (max-width: 1100px) {
  .hero-grid-layout { grid-template-columns: 1fr; gap: 3rem; }
  .stats-bento-strip { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-bento-item:not(:last-child)::after { display: none; }
  .about-story-grid { gap: 2.2rem; }
  .founder-main-grid { gap: 2.5rem; }
}

/* --- Breakpoint: Tablets & iPads (<= 991.98px) --- */
@media (max-width: 991.98px) {
  .site-header { padding: 0.85rem 0; }
  .site-header.scrolled,
  .site-header.is-scrolled {
    top: 10px !important;
    width: calc(100% - 1.8rem) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 9999px !important;
  }
  .nav-menu { display: none !important; }
  .mobile-toggle-btn { display: flex !important; }
  .hero-title { font-size: 2.8rem; }
  .services-bento-grid, .services-grid, .compliance-grid, .projects-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
  .about-story-grid { grid-template-columns: 1fr; gap: 2.8rem; margin-bottom: 3.5rem; }
  .pillar-cards-list { max-width: 560px; margin: 0 auto; width: 100%; gap: 1.2rem; }
  .founder-main-grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .founder-photo-column { order: -1; }
  .founder-frame-wrapper { max-width: 350px; margin: 0 auto; }
  .founder-name-title { font-size: 2.1rem; }
  .founder-stats-strip { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
  .service-detail-layout { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail-layout .lead-form-box { position: static !important; top: auto !important; }
  .project-detail-layout { grid-template-columns: 1fr; gap: 3rem; }
  .project-detail-layout .lead-form-box { position: static !important; top: auto !important; }
}

/* --- Breakpoint: Phablets (<= 767.98px) --- */
@media (max-width: 767.98px) {
  .section { padding: 4.5rem 0; }
  .compliance-grid { grid-template-columns: 1fr; }
  .blueprint-grid { grid-template-columns: 1fr; gap: 1rem; }
  .page-hero-stage { padding: 7rem 0 3rem; }
  .founder-section-wrapper { padding: 4rem 0; margin: 1.5rem 0 3.5rem; }
  .founder-frame-wrapper { max-width: 290px; margin: 0 auto; }
  .founder-stats-strip { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .founder-stat-card { padding: 0.85rem 0.5rem; }
  .founder-stat-num { font-size: 1.35rem; }
  .founder-stat-label { font-size: 0.74rem; }
  .founder-action-btns { flex-direction: column; align-items: stretch; }
  .founder-action-btns .btn-founder-wa,
  .founder-action-btns .btn-founder-consult { width: 100%; justify-content: center; }
  .pillar-card { padding: 1.25rem 1.4rem; border-radius: 16px; }
  .pillar-title { font-size: 1.1rem; }
  .pillar-desc { font-size: 0.9rem; line-height: 1.6; }
}

/* --- Breakpoint: Mobiles (<= 640px) --- */
@media (max-width: 640px) {
  .container { padding: 0 1.15rem; }
  .site-header { padding: 0.75rem 0; }
  .site-header.scrolled,
  .site-header.is-scrolled {
    top: 8px !important;
    width: calc(100% - 1.2rem) !important;
    padding: 0.45rem 0.95rem !important;
    border-radius: 9999px !important;
  }
  .brand-logo img { height: 32px; max-width: 160px; }
  .site-header.scrolled .brand-logo img,
  .site-header.is-scrolled .brand-logo img { height: 28px; }
  .header-actions { gap: 0.6rem; }
  .lang-switcher { padding: 0.35rem 0.75rem; font-size: 0.82rem; }
  
  .hero-section { padding-top: 7.5rem; }
  .hero-title { font-size: 2rem; line-height: 1.28; margin-bottom: 1.2rem; }
  .hero-desc { font-size: 1rem; line-height: 1.7; margin-bottom: 1.8rem; }
  .hero-actions { flex-direction: column; width: 100%; gap: 0.85rem; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 0.95rem 1.4rem; font-size: 0.95rem; }
  
  .hero-cockpit-card { padding: 1.3rem 1.1rem; border-radius: var(--radius-lg); }
  .cockpit-header { margin-bottom: 1.2rem; padding-bottom: 0.8rem; }
  .cockpit-stat-box { padding: 0.9rem 0.8rem; margin-bottom: 0.75rem; }
  .stat-label-group strong { font-size: 0.98rem; }
  .stat-metric-pill { font-size: 0.76rem; padding: 0.25rem 0.6rem; }
  .cockpit-chart-sim { height: 46px; gap: 5px; margin-top: 0.75rem; }
  
  .stats-bento-strip { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.5rem 1.2rem; }
  .stat-bento-number { font-size: 2.2rem; }
  
  .section-title { font-size: 1.95rem; line-height: 1.3; }
  .section-subtitle { font-size: 0.98rem; }
  .services-bento-grid, .services-grid, .projects-grid, .testimonials-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .service-bento-card, .project-card, .compliance-card, .testimonial-card { padding: 1.5rem 1.2rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lead-form-box { padding: 1.5rem 1.15rem; border-radius: var(--radius-lg); }
  
  .form-row-2col { grid-template-columns: 1fr; gap: 0.8rem; }
  .deliverables-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .about-cta-banner { padding: 2.5rem 1.2rem !important; }
}

/* --- Breakpoint: Small Mobiles (<= 380px) --- */
@media (max-width: 380px) {
  .container { padding: 0 0.85rem; }
  .brand-logo img { height: 28px; max-width: 135px; }
  .lang-switcher { padding: 0.3rem 0.55rem; font-size: 0.78rem; }
  .hero-title { font-size: 1.7rem; }
  .hero-badge { font-size: 0.76rem; padding: 0.35rem 0.75rem; }
  .lead-form-box { padding: 1.25rem 0.9rem; }
  .stat-bento-number { font-size: 1.95rem; }
  .founder-stat-card { padding: 0.75rem 0.35rem; }
  .founder-stat-num { font-size: 1.25rem; }
  .founder-stat-label { font-size: 0.7rem; line-height: 1.3; }
}


/* ==========================================================================
   INNER PAGE HERO STAGE & CATEGORY FILTERS
   ========================================================================== */
.page-hero-stage {
  position: relative;
  padding: 10rem 0 4.5rem;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(250, 128, 42, 0.15), transparent),
              radial-gradient(ellipse 60% 40% at 100% 50%, rgba(16, 168, 200, 0.1), transparent),
              #070B0E;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  text-align: center;
}

.page-hero-stage .hero-glow-1 {
  top: 5%;
  left: 15%;
  width: 450px;
  height: 450px;
}

.page-hero-stage .hero-glow-2 {
  bottom: 0%;
  right: 15%;
  width: 400px;
  height: 400px;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.breadcrumbs a {
  color: var(--text-secondary);
}

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

.breadcrumbs span.current {
  color: var(--brand-white);
  font-weight: 700;
}

.page-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--brand-white);
  margin-bottom: 1.4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 740px;
  margin: 0 auto 2.5rem;
}

/* Category Filter Tabs */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.filter-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.filter-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-white);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.filter-tab-btn.active {
  background: linear-gradient(135deg, rgba(250, 128, 42, 0.2), rgba(248, 154, 32, 0.1));
  border-color: var(--brand-orange);
  color: var(--brand-white);
  box-shadow: 0 0 20px rgba(250, 128, 42, 0.25);
}

.filter-tab-btn .tab-count {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
}

.filter-tab-btn.active .tab-count {
  background: var(--brand-orange);
  color: #FFFFFF;
}

/* Category Section Header */
.category-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.category-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-dot-beacon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}

.category-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-white);
}

.category-count-badge {
  font-size: 0.88rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

/* Service Card Action Dual Buttons */
.card-action-dual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
}

.card-btn-wa-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.card-btn-wa-compact:hover {
  background: #10B981;
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

/* Enterprise Value Strip in Services */
.services-standards-strip {
  background: rgba(16, 23, 29, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin: 5rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.standard-item-box {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: rgba(16, 23, 29, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.standard-item-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.standard-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.standard-item-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-white);
}

.standard-item-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .services-standards-strip {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .services-standards-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Floating Sidebars (Action/Quote Left & Social Rail Right in LTR; Inverted in RTL)
   ========================================================================== */
.floating-side-bar {
  position: fixed;
  top: 50%;
  z-index: 9960;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Default (LTR / English): Action & Quote Bar on LEFT screen edge */
.side-action-bar {
  left: 0;
  right: auto;
  transform: translateY(-50%) translateX(0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.side-action-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Default (LTR / English): Social Rail on RIGHT screen edge */
.side-social-bar {
  right: 20px;
  left: auto;
  transform: translateY(-50%) translateX(0);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.side-social-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Side Bars Micro Close 'X' Button & Sleek Compact Edge Tab Handle
   ========================================================================== */
.side-bar-close-btn {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 15, 22, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin-bottom: 4px;
  align-self: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  opacity: 0.6;
  z-index: 10;
}

.floating-side-bar:hover .side-bar-close-btn,
.side-bar-close-btn:hover {
  opacity: 1;
}

.side-bar-close-btn:hover {
  background: rgba(239, 68, 68, 0.35);
  border-color: rgba(239, 68, 68, 0.9);
  color: #FFFFFF;
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.55);
}

.side-bar-close-btn:focus-visible {
  outline: 2px solid var(--brand-orange);
}

.side-bar-close-btn svg {
  width: 9px;
  height: 9px;
  display: block;
}

/* Side Tab Opener ("Tap في الجنب" when bar is closed) - Compact luxury capsule handle */
.side-tab-toggle {
  position: fixed;
  top: 50%;
  z-index: 9965;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 46px;
  padding: 0;
  background: rgba(10, 16, 24, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              visibility 0.25s ease;
  user-select: none;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.side-tab-toggle svg {
  width: 15px;
  height: 15px;
  display: block;
  color: var(--tab-color, #FA802A);
  filter: drop-shadow(0 0 6px var(--tab-color, #FA802A));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.side-tab-pulse-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  display: inline-block;
  background-color: var(--tab-color, #FA802A);
  box-shadow: 0 0 6px var(--tab-color, #FA802A);
  animation: tab-dot-pulse 1.8s infinite ease-in-out;
}

@keyframes tab-dot-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(1.35);
  }
}

/* Tooltip Badge for the side tab on hover */
.side-tab-toggle[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 15, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 10000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65), 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Specific styling for Action vs Social tabs */
.side-action-tab-toggle {
  --tab-color: #25D366;
  border-color: rgba(37, 211, 102, 0.4);
}
.side-action-tab-toggle:hover {
  border-color: #25D366;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.35);
}

.side-social-tab-toggle {
  --tab-color: #0057FF;
  border-color: rgba(0, 87, 255, 0.4);
}
.side-social-tab-toggle:hover {
  border-color: #0057FF;
  box-shadow: 0 6px 22px rgba(0, 87, 255, 0.35);
}

/* LTR Tab Alignment */
.side-action-tab-toggle {
  left: 0;
  right: auto;
  border-left: none;
  border-radius: 0 10px 10px 0;
  transform: translateY(-50%) translateX(-100%);
}
.side-action-tab-toggle[data-tooltip]::before {
  left: calc(100% + 10px);
  right: auto;
}
.side-action-tab-toggle:hover[data-tooltip]::before {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}
.side-action-tab-toggle:hover {
  transform: translateY(-50%) translateX(3px);
}

.side-social-tab-toggle {
  right: 0;
  left: auto;
  border-right: none;
  border-radius: 10px 0 0 10px;
  transform: translateY(-50%) translateX(100%);
}
.side-social-tab-toggle[data-tooltip]::before {
  right: calc(100% + 10px);
  left: auto;
}
.side-social-tab-toggle:hover[data-tooltip]::before {
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}
.side-social-tab-toggle:hover {
  transform: translateY(-50%) translateX(-3px);
}

/* When Collapsed state is applied */
.side-action-wrapper.is-collapsed .side-action-bar {
  transform: translateY(-50%) translateX(-140%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.side-social-wrapper.is-collapsed .side-social-bar {
  transform: translateY(-50%) translateX(160%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.side-action-wrapper.is-collapsed .side-action-tab-toggle,
.side-social-wrapper.is-collapsed .side-social-tab-toggle {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Side Icon Circular Button with Continuous Rotating Luxury Border Beam (Like Cards) */
.side-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090e13;
  color: var(--beam-color, #FFFFFF);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55), 0 0 12px var(--beam-glow-idle, rgba(255, 255, 255, 0.1));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              color 0.25s ease;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}

/* 1. Continuous Rotating Border Beam (Same signature style as site cards) */
.side-icon-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 50deg,
    var(--beam-color, #FA802A) 85deg,
    #FFFFFF 115deg,
    var(--beam-color, #FA802A) 145deg,
    transparent 180deg,
    transparent 360deg
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.25s ease;
}

@keyframes side-icon-beam-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 2. Inner Dark Glassmorphic Face */
.side-icon-btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(26, 36, 46, 0.95), rgba(8, 12, 16, 0.98));
  z-index: 2;
  transition: background 0.3s ease;
}

/* 3. SVG & FontAwesome Icon - illuminated in brand color */
.side-icon-btn svg,
.side-icon-btn i {
  position: relative;
  z-index: 3;
  width: 18px;
  height: 18px;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beam-color, #FFFFFF);
  filter: drop-shadow(0 0 5px var(--beam-glow-idle, rgba(255, 255, 255, 0.2)));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.25s ease,
              filter 0.25s ease;
}

/* 4. Hover State: Glow expands, beam accelerates, icon illuminates in white with colored drop shadow */
.side-icon-btn:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.65), 0 0 24px var(--beam-glow, rgba(255, 255, 255, 0.5));
}

.side-icon-btn:hover::before {
  opacity: 1;
  animation: side-icon-beam-spin 1.5s linear infinite;
}

.side-icon-btn:hover::after {
  background: radial-gradient(circle at 35% 30%, rgba(42, 58, 74, 0.95), rgba(12, 17, 23, 0.98));
}

.side-icon-btn:hover svg,
.side-icon-btn:hover i {
  color: #FFFFFF;
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px var(--beam-color));
}

/* Staggered Ambient Floating & Breathing Aura Wave */
@keyframes side-btn-pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55), 0 0 10px var(--beam-glow-idle, rgba(255, 255, 255, 0.1));
  }
  50% {
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.65), 0 0 18px var(--beam-glow, rgba(255, 255, 255, 0.35));
  }
}

/* Brand Tokens & Accent Delays for Each Button */
.side-icon-behance {
  --beam-color: #0057FF;
  --beam-glow: rgba(0, 87, 255, 0.75);
  --beam-glow-idle: rgba(0, 87, 255, 0.3);
  --beam-delay: 0s;
}
.side-icon-instagram {
  --beam-color: #E1306C;
  --beam-glow: rgba(225, 48, 108, 0.75);
  --beam-glow-idle: rgba(225, 48, 108, 0.3);
  --beam-delay: -0.6s;
}
.side-icon-facebook {
  --beam-color: #1877F2;
  --beam-glow: rgba(24, 119, 242, 0.75);
  --beam-glow-idle: rgba(24, 119, 242, 0.3);
  --beam-delay: -1.2s;
}
.side-icon-linkedin {
  --beam-color: #0A66C2;
  --beam-glow: rgba(10, 102, 194, 0.75);
  --beam-glow-idle: rgba(10, 102, 194, 0.3);
  --beam-delay: -1.8s;
}
.side-icon-youtube {
  --beam-color: #FF0000;
  --beam-glow: rgba(255, 0, 0, 0.75);
  --beam-glow-idle: rgba(255, 0, 0, 0.3);
  --beam-delay: -2.4s;
}

.side-icon-wa {
  --beam-color: #25D366;
  --beam-glow: rgba(37, 211, 102, 0.75);
  --beam-glow-idle: rgba(37, 211, 102, 0.35);
  --beam-delay: 0s;
}
.side-icon-email {
  --beam-color: var(--brand-cyan, #10A8C8);
  --beam-glow: rgba(16, 168, 200, 0.75);
  --beam-glow-idle: rgba(16, 168, 200, 0.3);
  --beam-delay: -1.2s;
}
.side-icon-phone {
  --beam-color: var(--brand-amber, #F89A20);
  --beam-glow: rgba(248, 154, 32, 0.75);
  --beam-glow-idle: rgba(248, 154, 32, 0.3);
  --beam-delay: -2.4s;
}

/* Hover directions for default (LTR) */
.side-social-bar .side-icon-btn:hover {
  transform: translateX(-5px) scale(1.15);
}

.side-contact-icons .side-icon-btn:hover {
  transform: translateX(5px) scale(1.15);
}

/* Tooltip Badges */
.side-icon-btn[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 15, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* Tooltips in default (LTR): Social on right points left; Contacts on left point right */
.side-social-bar .side-icon-btn[data-tooltip]::before {
  right: calc(100% + 12px);
  left: auto;
}

.side-social-bar .side-icon-btn:hover[data-tooltip]::before {
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}

.side-contact-icons .side-icon-btn[data-tooltip]::before {
  left: calc(100% + 12px);
  right: auto;
}

.side-contact-icons .side-icon-btn:hover[data-tooltip]::before {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}

/* Contact Icons Stack in default (LTR) - on left */
.side-contact-icons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 14px;
  margin-right: 0;
}

/* Vertical Purple Tab Button in default (LTR) - Left Screen Edge with Border Beam */
.side-quote-tab {
  position: relative;
  width: 40px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #a52f9f 0%, #761e72 50%, #4e124c 100%);
  border-radius: 0 12px 12px 0;
  box-shadow: 4px 0 24px rgba(155, 48, 150, 0.5), 0 0 15px rgba(250, 128, 42, 0.2);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              filter 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}

/* Continuous Rotating Border Beam for Quote Tab */
.side-quote-tab::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: calc(100% + 160px);
  height: calc(100% + 160px);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 65deg,
    #FA802A 95deg,
    rgba(255, 255, 255, 0.95) 115deg,
    #d445cc 135deg,
    transparent 175deg,
    transparent 360deg
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.side-quote-tab:hover::before {
  opacity: 1;
  animation: side-icon-beam-spin 2s linear infinite;
}

/* Inner Face of Tab */
.side-quote-tab::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(165, 47, 159, 0.95) 0%, rgba(118, 30, 114, 0.98) 50%, rgba(78, 18, 76, 1) 100%);
  z-index: 2;
  transition: background 0.3s ease;
}

.side-quote-tab:hover {
  transform: translateX(5px) scale(1.02);
  box-shadow: 8px 0 35px rgba(176, 48, 170, 0.8), 0 0 25px rgba(250, 128, 42, 0.5);
}

.side-quote-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  white-space: nowrap;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  user-select: none;
  z-index: 3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  transition: letter-spacing 0.25s ease, text-shadow 0.25s ease;
}

.side-quote-tab:hover .side-quote-text {
  letter-spacing: 2.2px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 0 0 20px #FA802A;
}

/* ==========================================================================
   RTL Specific Overrides (Arabic):
   Social Rail moves to LEFT, Action & Quote Bar moves to RIGHT
   ========================================================================== */
body[dir="rtl"] .side-social-bar {
  left: 20px;
  right: auto;
  transform: translateY(-50%) translateX(0);
}

body[dir="rtl"] .side-social-bar.is-visible {
  transform: translateY(-50%) translateX(0);
}

body[dir="rtl"] .side-social-bar .side-icon-btn:hover {
  transform: translateX(5px) scale(1.15);
}

body[dir="rtl"] .side-social-bar .side-icon-btn[data-tooltip]::before {
  left: calc(100% + 12px);
  right: auto;
}

body[dir="rtl"] .side-social-bar .side-icon-btn:hover[data-tooltip]::before {
  transform: translateY(-50%) translateX(2px);
}

/* RTL Action & Quote Bar on RIGHT Screen Edge */
body[dir="rtl"] .side-action-bar {
  right: 0;
  left: auto;
  align-items: flex-end;
  transform: translateY(-50%) translateX(0);
}

body[dir="rtl"] .side-action-bar.is-visible {
  transform: translateY(-50%) translateX(0);
}

body[dir="rtl"] .side-contact-icons {
  margin-right: 14px;
  margin-left: 0;
}

body[dir="rtl"] .side-contact-icons .side-icon-btn:hover {
  transform: translateX(-5px) scale(1.15);
}

body[dir="rtl"] .side-contact-icons .side-icon-btn[data-tooltip]::before {
  right: calc(100% + 12px);
  left: auto;
}

body[dir="rtl"] .side-contact-icons .side-icon-btn:hover[data-tooltip]::before {
  transform: translateY(-50%) translateX(-2px);
}

/* RTL Purple Quote Tab (on Right Edge) */
body[dir="rtl"] .side-quote-tab {
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 0 24px rgba(155, 48, 150, 0.5), 0 0 15px rgba(250, 128, 42, 0.2);
}

body[dir="rtl"] .side-quote-tab:hover {
  transform: translateX(-5px) scale(1.02);
  box-shadow: -8px 0 35px rgba(176, 48, 170, 0.8), 0 0 25px rgba(250, 128, 42, 0.5);
}

body[dir="rtl"] .side-quote-text {
  font-family: var(--brand-font-ar, 'beIN Normal', sans-serif);
  letter-spacing: 0;
  font-size: 0.88rem;
  transform: translate(-50%, -50%) rotate(-90deg);
}

body[dir="rtl"] .side-quote-tab:hover .side-quote-text {
  letter-spacing: 0.6px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 0 0 20px #FA802A;
}

/* RTL Specific Overrides for Close & Open Tabs ("Tap في الجنب") */
body[dir="rtl"] .side-action-tab-toggle {
  right: 0;
  left: auto;
  border-right: none;
  border-left: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 10px 0 0 10px;
  transform: translateY(-50%) translateX(100%);
}

body[dir="rtl"] .side-action-tab-toggle[data-tooltip]::before {
  right: calc(100% + 10px);
  left: auto;
}

body[dir="rtl"] .side-action-tab-toggle:hover[data-tooltip]::before {
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}

body[dir="rtl"] .side-social-tab-toggle {
  left: 0;
  right: auto;
  border-left: none;
  border-right: 1px solid rgba(0, 87, 255, 0.4);
  border-radius: 0 10px 10px 0;
  transform: translateY(-50%) translateX(-100%);
}

body[dir="rtl"] .side-social-tab-toggle[data-tooltip]::before {
  left: calc(100% + 10px);
  right: auto;
}

body[dir="rtl"] .side-social-tab-toggle:hover[data-tooltip]::before {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}

body[dir="rtl"] .side-action-tab-toggle:hover {
  transform: translateY(-50%) translateX(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

body[dir="rtl"] .side-social-tab-toggle:hover {
  transform: translateY(-50%) translateX(3px);
  box-shadow: 0 8px 25px rgba(0, 87, 255, 0.4);
}

body[dir="rtl"] .side-action-wrapper.is-collapsed .side-action-bar {
  transform: translateY(-50%) translateX(140%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

body[dir="rtl"] .side-social-wrapper.is-collapsed .side-social-bar {
  transform: translateY(-50%) translateX(-160%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

body[dir="rtl"] .side-action-wrapper.is-collapsed .side-action-tab-toggle,
body[dir="rtl"] .side-social-wrapper.is-collapsed .side-social-tab-toggle {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Responsive: Sleek Floating Sidebars on mobile with tap-to-toggle */
@media (max-width: 768px) {
  .floating-side-wrapper {
    display: block !important;
  }

  .side-tab-toggle {
    width: 28px !important;
    height: 44px !important;
    z-index: 9965 !important;
  }

  .floating-side-bar {
    z-index: 9960 !important;
    max-height: 80vh;
    overflow-y: auto;
  }

  .side-bar-close-btn {
    opacity: 1 !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
  }

  .side-icon-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
}


/* ==========================================================================
   WORLD-CLASS PROJECTS SHOWCASE & CATEGORY ARCHITECTURE
   ========================================================================== */

/* Hero Executive Metrics Strip */
.projects-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  margin-bottom: 2rem;
}

.hero-metric-card {
  background: rgba(18, 27, 36, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-cyan);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 168, 200, 0.15);
}

.hero-metric-value {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 900;
  color: var(--brand-white);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  font-family: var(--brand-font-en, monospace);
}

.hero-metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Category Filter Bar & Live Search */
.projects-nav-sticky-wrapper {
  position: sticky;
  top: 78px;
  z-index: 40;
  padding: 1.2rem 0;
  margin-bottom: 3.5rem;
  background: rgba(8, 12, 16, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.projects-filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.category-pills-list {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  padding: 0.3rem 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-pills-list::-webkit-scrollbar {
  display: none;
}

.cat-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);
  background: rgba(22, 33, 44, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.cat-pill-btn:hover {
  background: rgba(30, 45, 60, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--brand-white);
  transform: translateY(-2px);
}

.cat-pill-btn.active {
  background: linear-gradient(135deg, rgba(16, 168, 200, 0.25) 0%, rgba(250, 128, 42, 0.2) 100%);
  border-color: var(--brand-cyan);
  color: var(--brand-white);
  box-shadow: 0 0 20px rgba(16, 168, 200, 0.28);
}

.cat-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

.cat-pill-btn.active .cat-count-badge {
  background: var(--brand-cyan);
  color: #080D11;
}

/* Live Search Box */
.projects-search-box {
  position: relative;
  min-width: 280px;
  max-width: 380px;
  flex: 1;
}

.projects-search-input {
  width: 100%;
  padding: 0.68rem 2.8rem 0.68rem 1.2rem;
  background: rgba(18, 27, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  color: var(--brand-white);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.3s ease;
}

body[dir="ltr"] .projects-search-input {
  padding: 0.68rem 1.2rem 0.68rem 2.8rem;
}

.projects-search-input:focus {
  border-color: var(--brand-cyan);
  background: rgba(24, 35, 46, 0.95);
  box-shadow: 0 0 0 3px rgba(16, 168, 200, 0.2), 0 0 20px rgba(16, 168, 200, 0.15);
}

.projects-search-icon {
  position: absolute;
  top: 50%;
  right: 1.1rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.95rem;
}

body[dir="ltr"] .projects-search-icon {
  right: auto;
  left: 1.1rem;
}

.projects-search-clear {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
}

body[dir="ltr"] .projects-search-clear {
  left: auto;
  right: 0.9rem;
}

/* Category Showcase Section */
.category-showcase-section {
  margin-bottom: 5.5rem;
  scroll-margin-top: 170px;
  position: relative;
}

.category-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.category-header-main {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.category-icon-emblem {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.category-title-group h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--brand-white);
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
}

.category-title-group p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

.category-header-action {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* World-Class Project Card Enhancements */
.project-card {
  background: rgba(16, 24, 32, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent, var(--brand-cyan));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 168, 200, 0.18);
}

.project-thumb {
  position: relative;
  height: 245px;
  background: #0D141C;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: brightness(0.92) contrast(1.05);
}

.project-card:hover .project-thumb img {
  transform: scale(1.08);
  filter: brightness(1.02) contrast(1.08);
}

.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.45) 0%, rgba(8, 12, 16, 0.05) 45%, rgba(16, 24, 32, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-thumb::after {
  opacity: 0.75;
}

.project-thumb-badge-group {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.thumb-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 16, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.thumb-tag-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.thumb-quick-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.project-card:hover .thumb-quick-view-overlay {
  opacity: 1;
}

.btn-thumb-quick-view {
  background: rgba(255, 255, 255, 0.95);
  color: #0A0F14;
  border: none;
  padding: 0.58rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-thumb-quick-view:hover {
  transform: scale(1.06);
  background: #FFFFFF;
}

/* Card Body & Luminous Achievement Badge */
.project-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.project-client-name {
  color: var(--text-secondary);
  font-weight: 700;
}

.project-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.project-card-title a {
  color: var(--brand-white);
  transition: color 0.2s ease;
}

.project-card:hover .project-card-title a {
  color: var(--brand-cyan);
}

/* Fixed Visible Golden Metric Capsule */
.project-achievement-capsule {
  margin: 0.8rem 0 1.2rem 0;
}

.golden-metric-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: rgba(248, 154, 32, 0.12) !important;
  border: 1px solid rgba(248, 154, 32, 0.45) !important;
  color: #FFA726 !important;
  -webkit-text-fill-color: #FFA726 !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  box-shadow: 0 0 15px rgba(248, 154, 32, 0.12) !important;
  line-height: 1.4 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  margin-bottom: 1.3rem;
}

.tech-tag-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 600;
  transition: all 0.2s ease;
}

.tech-tag-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--brand-white);
}

.project-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.5rem;
}

.btn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.btn-card-link.case-study {
  color: var(--brand-orange);
}

.btn-card-link.case-study:hover {
  color: #FFA726;
  transform: translateX(-3px);
}

body[dir="ltr"] .btn-card-link.case-study:hover {
  transform: translateX(3px);
}

.btn-card-link.live-url {
  color: var(--brand-cyan);
}

.btn-card-link.live-url:hover {
  color: #38BDF8;
}

.btn-card-link.quick-view {
  color: var(--text-muted);
}

.btn-card-link.quick-view:hover {
  color: var(--brand-white);
}

/* Expandable / Collapsible Category Projects System */
.project-card.project-extra-item {
  display: none;
}

.category-showcase-section.is-expanded .project-card.project-extra-item {
  display: flex;
  animation: projectFadeSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes projectFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-expand-footer {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.btn-category-expand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 2rem;
  background: rgba(22, 33, 44, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  color: var(--brand-white);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-category-expand:hover {
  background: rgba(30, 45, 60, 0.9);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 20px rgba(16, 168, 200, 0.25);
  transform: translateY(-2px);
}

.btn-category-expand .expand-chevron {
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}

.category-showcase-section.is-expanded .btn-category-expand .expand-chevron {
  transform: rotate(180deg);
}

/* Quick View Lightbox Modal */
.quick-view-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 14, 0.85);
  backdrop-filter: blur(16px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quick-view-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.quick-view-modal-card {
  background: #0E1620;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 168, 200, 0.2);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-view-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
  z-index: 2;
}

.quick-view-modal-backdrop.active .quick-view-modal-card {
  transform: translateY(0) scale(1);
}

.quick-view-close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--brand-white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
  transition: all 0.2s ease;
}

body[dir="ltr"] .quick-view-close-btn {
  left: auto;
  right: 16px;
}

.quick-view-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: #EF4444;
}

.quick-view-modal-thumb {
  height: 280px;
  background: #090E14;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-view-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view-modal-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.25) 0%, transparent 45%, rgba(14, 22, 32, 0.95) 100%);
  pointer-events: none;
}

.quick-view-modal-content {
  padding: 2.2rem;
}

/* Empty Search Results Message */
.projects-no-results {
  display: none;
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(16, 24, 32, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  margin: 3rem 0;
}

.projects-no-results.visible {
  display: block;
}

/* Responsive queries */
@media (max-width: 992px) {
  .projects-hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-hero-metrics {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .projects-filter-container {
    flex-direction: column;
    align-items: stretch;
  }
  .projects-search-box {
    max-width: 100%;
  }
}


/* ==========================================================================
   CONTACT PAGE LUXURY ENHANCEMENTS & CRO UPGRADES (V5.0)
   ========================================================================== */

/* Hero Quick Trust Row */
.hero-trust-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 23, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #CBD5E1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-trust-pill:hover {
  border-color: rgba(250, 128, 42, 0.45);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(250, 128, 42, 0.2);
}

/* Contact Mode Switcher Tabs */
.contact-tabs-nav {
  display: flex;
  align-items: center;
  background: rgba(7, 11, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.35rem;
  margin-bottom: 1.8rem;
  gap: 0.4rem;
}

.contact-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94A3B8;
  padding: 0.7rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
}

.contact-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(250, 128, 42, 0.25), rgba(248, 154, 32, 0.35));
  border: 1px solid #FA802A;
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(250, 128, 42, 0.3);
}

.contact-tab-panel {
  display: none;
}

.contact-tab-panel.is-active {
  display: block;
  animation: fadeInTab 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Quick Service Pills inside Form */
.service-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.service-pill-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.service-pill-chip:hover, .service-pill-chip.is-selected {
  background: rgba(16, 168, 200, 0.22);
  border-color: #10A8C8;
  color: #38BDF8;
  box-shadow: 0 0 12px rgba(16, 168, 200, 0.25);
}

/* Trust Guarantee Box inside Form */
.form-trust-box {
  background: rgba(250, 128, 42, 0.06);
  border: 1px dashed rgba(250, 128, 42, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* Instant Zoom Meeting Card */
.zoom-booking-card {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.zoom-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.6rem 0 2.2rem;
  text-align: start;
}

.zoom-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.94rem;
  color: #E2E8F0;
}

/* Interactive Dubai Map Frame */
.dubai-map-container {
  position: relative;
  width: 100%;
  height: 125px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.1rem;
  border: 1px solid rgba(16, 168, 200, 0.35);
  background: radial-gradient(circle at 50% 50%, rgba(16, 168, 200, 0.25) 0%, rgba(8, 12, 17, 0.95) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dubai-map-canvas-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

.dubai-pin-marker {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.radar-pulse-ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(250, 128, 42, 0.45);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(250, 128, 42, 0.85);
}

.radar-pulse-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid #FA802A;
  animation: pingRadar 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingRadar {
  75%, 100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

.radar-pulse-dot {
  width: 12px;
  height: 12px;
  background: #FA802A;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.dubai-pin-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(8, 12, 17, 0.9);
  border: 1px solid rgba(250, 128, 42, 0.45);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.65);
}

/* What Happens Next Roadmap Section */
.what-next-section {
  padding: 5.5rem 0 4rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 12, 17, 0.65);
}

.what-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 3rem;
}

.what-next-card {
  background: rgba(16, 23, 29, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.what-next-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
  z-index: 2;
}

.what-next-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 128, 42, 0.45);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.65), 0 0 30px rgba(250, 128, 42, 0.18);
}

.step-num-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-orange);
  background: rgba(250, 128, 42, 0.12);
  border: 1px solid rgba(250, 128, 42, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   CONTACT & HOME FAQ ACCORDION — LUXURY BORDER-BEAM CARDS & FLUID ANIMATION
   ========================================================================== */
.contact-faq-section {
  padding: 5rem 0 6.5rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.contact-faq-list {
  max-width: 920px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-faq-item {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 23, 29, 0.85) 0%, rgba(10, 14, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  will-change: transform, box-shadow;
}

/* Subtle glossy highlight line on top border */
.contact-faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
  z-index: 1;
}

.contact-faq-item:hover,
.contact-faq-item.border-beam-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--beam-color, rgba(250, 128, 42, 0.55)) !important;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.75),
              0 0 24px var(--beam-glow, rgba(250, 128, 42, 0.18)) !important;
}

.contact-faq-item.is-open,
.contact-faq-item.border-beam-card.is-open {
  transform: translateY(-2px);
  border-color: var(--beam-color, rgba(250, 128, 42, 0.6)) !important;
  background: linear-gradient(180deg, rgba(20, 29, 38, 0.94) 0%, rgba(12, 17, 22, 0.98) 100%);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.8),
              0 0 28px var(--beam-glow, rgba(250, 128, 42, 0.22)) !important;
}

.contact-faq-item.is-open:hover,
.contact-faq-item.border-beam-card.is-open:hover {
  transform: translateY(-3px) !important;
}

.contact-faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.45rem 1.85rem;
  font-size: 1.06rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: start;
  cursor: pointer;
  font-family: inherit;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
  transition: color 0.25s ease;
}

.contact-faq-question {
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-faq-trigger:hover .contact-faq-question {
  color: var(--beam-color, var(--brand-orange));
}

.contact-faq-item.is-open .contact-faq-question {
  color: #FFFFFF;
  font-weight: 800;
}

.contact-faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--beam-color, var(--brand-orange));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              color 0.3s ease;
}

.contact-faq-icon svg {
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-faq-item:hover .contact-faq-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}

.contact-faq-item.is-open .contact-faq-icon {
  transform: rotate(45deg) scale(1.06);
  background: var(--beam-glow, rgba(250, 128, 42, 0.18));
  border-color: var(--beam-color, rgba(250, 128, 42, 0.45));
  box-shadow: 0 0 16px var(--beam-glow, rgba(250, 128, 42, 0.35));
  color: var(--beam-color, var(--brand-orange));
}

/* Fluid CSS Grid Expand/Collapse Animation (Butter-smooth, Zero lag) */
.contact-faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.contact-faq-item.is-open .contact-faq-body {
  grid-template-rows: 1fr;
}

.contact-faq-body-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  padding: 0 1.85rem 1.6rem 1.85rem;
  color: #94A3B8;
  font-size: 0.98rem;
  line-height: 1.85;
}

.contact-faq-item.is-open .contact-faq-body-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.38s ease 0.05s, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.contact-faq-body-inner p {
  margin: 0;
  color: inherit;
  line-height: inherit;
}

@media (max-width: 640px) {
  .contact-faq-trigger {
    padding: 1.25rem 1.2rem;
    font-size: 0.98rem;
    gap: 0.85rem;
  }
  .contact-faq-icon {
    width: 32px;
    height: 32px;
  }
  .contact-faq-body-inner {
    padding: 0 1.2rem 1.35rem 1.2rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 991.98px) {
  .what-next-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* ==========================================================================
   INTEGRATED PHONE INPUT WITH CUSTOM SVG COUNTRY PICKER & CURRENCY ENGINE
   ========================================================================== */
.phone-input-group,
body[dir="rtl"] .phone-input-group {
  direction: ltr !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100%;
  position: relative;
  background: rgba(7, 11, 14, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  overflow: visible !important;
  z-index: 10;
}

.phone-input-group:focus-within {
  border-color: var(--brand-orange) !important;
  box-shadow: 0 0 16px rgba(250, 128, 42, 0.35) !important;
  background: rgba(11, 16, 21, 0.98);
}

/* Custom Country Picker */
.custom-country-picker {
  position: relative;
  display: flex;
  align-items: stretch;
  background: rgba(16, 23, 29, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-left: none !important;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  flex-shrink: 0;
  user-select: none;
  z-index: 25;
}

/* Trigger Button */
.country-picker-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.65rem 0 0.8rem;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  color: var(--brand-white);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  transition: background 0.2s ease;
}

.country-picker-btn:hover,
.custom-country-picker.is-open .country-picker-btn {
  background: rgba(255, 255, 255, 0.06);
}

.current-flag-img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  display: inline-block;
}

.current-country-iso {
  color: var(--brand-white);
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 0.88rem;
}

.country-dropdown-arrow {
  width: 12px;
  height: 12px;
  color: var(--brand-orange);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.custom-country-picker.is-open .country-dropdown-arrow {
  transform: rotate(180deg);
}

/* Dynamic Country Dial Code Badge (مفتاح الدولة) */
.country-dial-badge,
body[dir="rtl"] .country-dial-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem 0 0.55rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--brand-amber);
  direction: ltr !important;
  cursor: pointer;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.country-dial-badge:hover {
  color: var(--brand-orange);
}

/* Hidden Select for Accessibility & FormData */
.country-code-select-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  top: 0;
  left: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
}

/* Custom Dropdown Menu with Glassmorphism */
.country-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 99999;
  width: 290px;
  max-width: 90vw;
  background: #0B1015;
  border: 1px solid rgba(250, 128, 42, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(250, 128, 42, 0.15);
  border-radius: 10px;
  padding: 0.45rem;
  display: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  direction: ltr !important;
}

.custom-country-picker.is-open .country-dropdown-menu {
  display: block;
  animation: countryDropdownPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes countryDropdownPop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.country-dropdown-list {
  max-height: 250px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(250, 128, 42, 0.4) transparent;
}

.country-dropdown-list::-webkit-scrollbar {
  width: 5px;
}

.country-dropdown-list::-webkit-scrollbar-thumb {
  background: rgba(250, 128, 42, 0.35);
  border-radius: 4px;
}

/* Dropdown Item */
.country-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.9rem;
  direction: ltr !important;
  color: #CBD5E1;
}

.country-dropdown-item:hover {
  background: rgba(250, 128, 42, 0.12);
  color: #FFFFFF;
}

.country-dropdown-item.is-selected {
  background: rgba(250, 128, 42, 0.22);
  color: #FFFFFF;
  border: 1px solid rgba(250, 128, 42, 0.35);
}

.country-item-flag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.country-item-iso {
  font-weight: 800;
  color: var(--brand-white);
  min-width: 24px;
  font-size: 0.85rem;
}

.country-item-name {
  flex: 1;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}

.country-item-code {
  font-weight: 700;
  color: var(--brand-amber);
  font-size: 0.86rem;
  direction: ltr !important;
}

/* Phone Number Input Field */
.phone-number-input,
body[dir="rtl"] .phone-number-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  color: var(--brand-white) !important;
  padding: 0.85rem 1rem !important;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none !important;
  box-shadow: none !important;
  direction: ltr !important;
  text-align: left !important;
  letter-spacing: 0.5px;
}

.phone-number-input::placeholder,
body[dir="rtl"] .phone-number-input::placeholder {
  color: #64748B !important;
  direction: ltr !important;
  text-align: left !important;
  letter-spacing: 0;
}
