﻿/* ==========================================================================
   NAFEER DIGITAL | نفير الرقمي — MASTER STYLESHEET
   World-Class, International Agency Aesthetic & Responsive Architecture
   Dual-Mode Architecture: Light Mode (Official Default) & Dark Mode (Toggleable)
   Screen Sizes: 1920px+, 1440px, 1366px, 1280px, 1024px, 768px, 480px, 320px
   Multilingual (UK English LTR / Arabic RTL) | Zero Horizontal Scroll
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & SYSTEM VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* ================= LIGHT MODE (OFFICIAL DEFAULT) ================= */
  --bg-page: #F8FAF9;
  --bg-surface: #FFFFFF;
  --bg-subtle: #EEF4F1;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-elevated: #F2F7F4;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-header-scrolled: rgba(255, 255, 255, 0.94);
  --bg-hero: #F8FAF9;

  /* Typography Colors */
  --text-main: #061F1A;
  --text-muted: #435E58;
  --text-light: #6E8882;
  --text-inverse: #FFFFFF;
  --text-inverse-muted: #D1E3DF;

  /* Brand Colors: Deep Obsidian Emerald & Champagne Gold */
  --color-obsidian: #041412;
  --color-emerald-deep: #052620;
  --color-emerald: #0A3630;
  --color-emerald-light: #10594E;
  --color-emerald-glow: rgba(10, 54, 48, 0.12);

  /* Luminous Champagne Gold */
  --color-gold: #B68B38;
  --color-gold-hover: #9E7425;
  --color-gold-light: #FFF9EE;
  --color-gold-glow: rgba(182, 139, 56, 0.18);
  --color-gold-border: rgba(182, 139, 56, 0.32);

  /* Borders & Dividers */
  --border-light: #E0E7E3;
  --border-subtle: rgba(6, 31, 26, 0.08);
  --border-card: #E4ECE8;
  --border-hover: rgba(182, 139, 56, 0.45);

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(6, 31, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(6, 31, 26, 0.06);
  --shadow-lg: 0 16px 40px rgba(6, 31, 26, 0.08);
  --shadow-xl: 0 24px 60px rgba(6, 31, 26, 0.11);
  --shadow-gold: 0 8px 25px rgba(182, 139, 56, 0.22);
  --shadow-dark: 0 16px 40px rgba(0, 0, 0, 0.25);

  /* Header & Overlay */
  --header-border: rgba(6, 31, 26, 0.08);
  --header-scrolled-border: rgba(182, 139, 56, 0.25);
  --hero-overlay-gradient: radial-gradient(circle at 75% 25%, rgba(16, 89, 78, 0.08) 0%, transparent 60%),
                           radial-gradient(circle at 20% 75%, rgba(182, 139, 56, 0.08) 0%, transparent 50%),
                           linear-gradient(180deg, rgba(248, 250, 249, 0.6) 0%, #F8FAF9 100%);
  --hero-mesh-opacity: 0.035;

  /* Typography Families */
  --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Cairo', 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family: var(--font-en);

  /* Fluid Spacing Scale */
  --container-max: 1320px;
  --container-widescreen: 1440px;
  --container-gutter: clamp(1rem, 3.5vw, 2.25rem);
  --section-spacing: clamp(4rem, 6.5vw, 7.5rem);
  --section-spacing-sm: clamp(2.5rem, 4vw, 4.5rem);

  /* Fluid Typography Scale */
  --type-hero: clamp(2.25rem, 4.4vw, 4.25rem);
  --type-hero-sub: clamp(1rem, 1.35vw, 1.25rem);
  --type-h2: clamp(1.85rem, 3.2vw, 2.75rem);
  --type-h3: clamp(1.2rem, 1.9vw, 1.6rem);
  --type-body: clamp(0.95rem, 1.05vw, 1.075rem);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= DARK MODE OVERRIDES (TOGGLEABLE) ================= */
html[data-theme="dark"] {
  --bg-page: #031411;
  --bg-surface: #07211D;
  --bg-subtle: #0B2B26;
  --bg-card: #082420;
  --bg-card-hover: #0C332D;
  --bg-elevated: #0E3630;
  --bg-glass: rgba(7, 33, 29, 0.88);
  --bg-header-scrolled: rgba(4, 20, 18, 0.94);
  --bg-hero: #031411;

  /* Typography Colors */
  --text-main: #FFFFFF;
  --text-muted: #A0BDB8;
  --text-light: #7A9E98;
  --text-inverse: #061F1A;
  --text-inverse-muted: #435E58;

  /* Brand Colors */
  --color-obsidian: #FFFFFF;
  --color-emerald-deep: #072520;
  --color-emerald: #0A3630;
  --color-emerald-light: #177164;
  --color-emerald-glow: rgba(16, 89, 78, 0.45);

  /* Gold in Dark Mode */
  --color-gold: #DFC17B;
  --color-gold-hover: #EED79D;
  --color-gold-light: #162421;
  --color-gold-glow: rgba(223, 193, 123, 0.22);
  --color-gold-border: rgba(223, 193, 123, 0.35);

  /* Borders & Dividers */
  --border-light: rgba(255, 255, 255, 0.09);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(223, 193, 123, 0.45);

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 28px rgba(223, 193, 123, 0.22);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.7);

  /* Header & Overlay */
  --header-border: rgba(255, 255, 255, 0.08);
  --header-scrolled-border: rgba(223, 193, 123, 0.2);
  --hero-overlay-gradient: radial-gradient(circle at 75% 25%, rgba(10, 54, 48, 0.55) 0%, transparent 60%),
                           radial-gradient(circle at 20% 75%, rgba(223, 193, 123, 0.12) 0%, transparent 50%),
                           linear-gradient(180deg, rgba(4, 20, 18, 0.65) 0%, rgba(4, 20, 18, 0.9) 60%, #031411 100%);
  --hero-mesh-opacity: 0.025;
}

/* Arabic Typography & RTL Setting */
html[lang="ar"],
html[dir="rtl"] {
  --font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

.site-header,
.mobile-drawer,
.section-dark,
.hero-fullscreen,
.page-hero,
.site-footer {
  --color-accent: #F0C95C;
  --color-accent-text: #32131B;
  --color-accent-hover: #F8DA83;
  --color-accent-light: rgba(255, 255, 255, 0.1);
  --color-accent-glow: rgba(240, 201, 92, 0.16);
  --color-accent-border: rgba(240, 201, 92, 0.3);
  --color-gold: #F0C95C;
  --color-gold-hover: #F8DA83;
  --color-gold-light: var(--color-accent-light);
  --color-gold-glow: var(--color-accent-glow);
  --color-gold-border: var(--color-accent-border);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & FOUNDATION
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
  letter-spacing: normal;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   3. LAYOUT & FLUID CONTAINER ARCHITECTURE
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
}

.container-widescreen {
  width: 100%;
  max-width: var(--container-widescreen);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
}

.section {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  position: relative;
  overflow: hidden;
}

.section-dark {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

html[data-theme="dark"] .section-dark {
  background-color: var(--bg-surface);
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-white {
  background-color: var(--bg-surface);
}

/* Section Header Block */
.section-header {
  margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem);
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-tag {
  margin-left: auto;
  margin-right: auto;
}

.section-header.text-center .section-title,
.section-header.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 0.85rem;
  position: relative;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: var(--color-accent);
}

html[lang="ar"] .section-tag::before {
  margin-left: 0.25rem;
}

.section-title {
  font-size: var(--type-h2);
  font-weight: 800;
  margin-bottom: 1rem;
  max-width: 840px;
  line-height: 1.2;
}

.section-desc {
  font-size: clamp(0.975rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & CALLS TO ACTION
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.875rem 1.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #DFC17B 0%, #B68B38 100%);
  color: #051916;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 18px rgba(182, 139, 56, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #EAD093 0%, #C89F48 100%);
  box-shadow: 0 8px 24px rgba(182, 139, 56, 0.42);
  transform: translateY(-2px);
  color: var(--color-accent-text);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  color: var(--color-gold);
}

html[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--color-gold);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--color-emerald);
  background-color: var(--color-emerald);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-dark-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-light);
}

.btn-dark-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: var(--color-gold-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-accent);
  color: var(--color-accent-text);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background-color: #20BD5A;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
  color: var(--color-accent-text);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.025rem;
}

.btn-full {
  width: 100%;
}

.arrow-icon {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

html[lang="ar"] .arrow-icon {
  transform: rotate(180deg);
}

html[lang="ar"] .btn:hover .arrow-icon {
  transform: rotate(180deg) translateX(4px);
}

/* --------------------------------------------------------------------------
   5. STICKY NAVIGATION BAR & HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: all var(--transition-normal);
  border-bottom: 1px solid var(--header-border);
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background-color: var(--bg-header-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--header-scrolled-border);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Brand Logo */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px var(--color-gold-glow);
  border: 1px solid var(--color-gold-border);
  background-color: #FFFFFF;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-main);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  line-height: 1.2;
  white-space: nowrap;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 1.85rem);
}

@media (min-width: 1080px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
  }
}

/* Theme Switcher Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-surface);
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn .icon-moon {
  display: block;
}

.theme-toggle-btn .icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle-btn .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle-btn .icon-sun {
  display: block;
}

/* Language Switcher Pill */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.825rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-switch-btn:hover {
  background: var(--bg-surface);
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

/* Hamburger Trigger */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-xs);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hamburger-btn:hover {
  background: var(--bg-surface);
  border-color: var(--color-gold);
}

@media (min-width: 1080px) {
  .hamburger-btn {
    display: none;
  }
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   6. MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 20, 18, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(88vw, 360px);
  background: var(--bg-surface);
  border-left: 1px solid var(--border-light);
  z-index: 1200;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}

html[lang="ar"] .mobile-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--border-light);
  transform: translateX(-100%);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 1.15rem;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: var(--color-gold-light);
  color: var(--color-gold);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.drawer-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav-link:hover {
  color: var(--color-gold);
  padding-inline-start: 0.5rem;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION (SPLIT EXECUTIVE MARKETING HERO & INTERACTIVE ENGINE)
   -------------------------------------------------------------------------- */
.hero-split-section {
  position: relative;
  background-color: var(--bg-hero);
  color: var(--text-main);
  padding-top: clamp(6.5rem, 11vh, 8.5rem);
  padding-bottom: clamp(3.5rem, 7vh, 5.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

@keyframes auroraShift {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translateX(-48%) scale(1.15);
    opacity: 1;
  }
}

.hero-ambient-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 94vw);
  height: 520px;
  background: radial-gradient(circle, rgba(182, 139, 56, 0.16) 0%, rgba(16, 89, 78, 0.1) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: auroraShift 12s ease-in-out infinite;
}

html[data-theme="dark"] .hero-ambient-glow {
  background: radial-gradient(circle, rgba(182, 139, 56, 0.22) 0%, rgba(10, 54, 48, 0.3) 50%, transparent 75%);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1040px) {
  .hero-split-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-pill-indicator {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: #25D366;
  box-shadow: 0 0 10px #25D366;
  animation: pulse-dot 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-headline {
  font-size: var(--type-hero);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
  color: var(--text-main);
}

.hero-headline-highlight {
  background: linear-gradient(135deg, var(--color-emerald-light) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .hero-headline-highlight {
  background: linear-gradient(135deg, #FFFFFF 25%, #DFC17B 75%, #B68B38 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: var(--type-hero-sub);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 660px;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Strategic Proof Stats Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  max-width: 640px;
}

.hero-stat-item .hero-stat-num {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.hero-stat-item .hero-stat-label {
  font-size: 0.785rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.35;
}

/* Creative Interactive Marketing Engine Preview Card & Floating Badges */
.hero-visual-card-wrap {
  position: relative;
  z-index: 2;
}

.hero-floating-badge {
  position: absolute;
  z-index: 5;
  background: var(--bg-surface);
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 10px 25px rgba(6, 31, 26, 0.12), 0 0 16px rgba(182, 139, 56, 0.18);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-main);
  backdrop-filter: blur(14px);
  pointer-events: none;
  white-space: nowrap;
}

.hero-badge-top-right {
  top: -18px;
  right: -10px;
  animation: floatSlow1 5.5s ease-in-out infinite;
}

.hero-badge-bottom-left {
  bottom: -16px;
  left: -12px;
  animation: floatSlow2 6.5s ease-in-out infinite;
}

html[lang="ar"] .hero-badge-top-right {
  right: auto;
  left: -10px;
}

html[lang="ar"] .hero-badge-bottom-left {
  left: auto;
  right: -12px;
}

@keyframes floatSlow1 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.2deg);
  }
}

@keyframes floatSlow2 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1.2deg);
  }
}

.hero-visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform var(--transition-normal);
}

.hero-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), 0 0 35px rgba(182, 139, 56, 0.15);
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.dashboard-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dashboard-title-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.dashboard-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.785rem;
  font-weight: 700;
  color: #25D366;
  background: rgba(37, 211, 102, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

.dashboard-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #25D366;
  box-shadow: 0 0 8px #25D366;
  animation: pulse-dot 2s infinite ease-in-out;
}

.dashboard-metric-hero {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.dashboard-metric-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.dashboard-metric-val-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.dashboard-metric-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
}

.dashboard-metric-growth {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: #16A34A;
  background: rgba(22, 163, 74, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.dashboard-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.dashboard-channel-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.channel-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.channel-stat {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-gold);
}

.dashboard-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.785rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. ABOUT SECTION (NARRATIVE & 4 STRATEGIC PILLARS)
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-surface);
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .about-split-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-narrative-title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.about-paragraph {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.35rem;
}

.about-paragraph strong {
  color: var(--text-main);
  font-weight: 700;
}

.about-highlight-box {
  background: var(--bg-subtle);
  border-inline-start: 4px solid var(--color-gold);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xs);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.6;
}

/* 4 Core Strategic Pillars */
.pillars-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .pillars-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pillar-item {
  padding: 1.5rem;
  background-color: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.pillar-item:hover {
  background-color: var(--bg-surface);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.pillar-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-gold);
  background: var(--color-gold-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  border: 1px solid var(--color-gold-border);
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.pillar-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. SERVICES SECTION (COMPLETE 12-SERVICE RESPONSIVE GRID)
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  position: relative;
}

.services-grid-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid-12 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .services-grid-12 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  background-color: var(--bg-card-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: var(--color-gold-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-gold-border);
}

.service-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.08);
  background: var(--color-gold);
  color: #FFFFFF;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

/* Service Deliverable Highlights */
.service-deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.service-deliv-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.45;
}

.service-deliv-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.service-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-gold);
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  transition: gap var(--transition-fast);
}

.service-card-cta:hover {
  color: var(--text-main);
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   10. WHY CHOOSE US (DESKTOP COMPARISON TABLE & MOBILE CARDS)
   -------------------------------------------------------------------------- */
.why-us-section {
  background-color: var(--bg-surface);
}

/* Desktop & Laptop Table View */
.differentiation-table-wrap {
  display: none;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

@media (min-width: 860px) {
  .differentiation-table-wrap {
    display: block;
  }
}

.differentiation-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

html[lang="ar"] .differentiation-table {
  text-align: right;
}

.differentiation-table th {
  padding: 1.35rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-bottom: 2px solid var(--border-light);
}

.diff-col-dimension {
  width: 26%;
  color: var(--text-main);
  background-color: var(--bg-page);
}

.diff-col-traditional {
  width: 37%;
  color: #A94442;
  background-color: #FFF8F8;
}

html[data-theme="dark"] .diff-col-traditional {
  color: #FFAAA8;
  background-color: #1F1212;
}

.diff-col-nafeer {
  width: 37%;
  color: var(--text-main);
  background: var(--color-gold-light);
}

.differentiation-table td {
  padding: 1.25rem 1.75rem;
  font-size: 0.925rem;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.55;
}

.differentiation-table tr:last-child td {
  border-bottom: none;
}

.diff-dimension-name {
  font-weight: 700;
  color: var(--text-main);
}

.diff-traditional-cell {
  color: #7A5555;
  background-color: #FFFAFA;
}

html[data-theme="dark"] .diff-traditional-cell {
  color: #D6A4A4;
  background-color: #1A1010;
}

.diff-nafeer-cell {
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--color-gold-light);
}

/* Mobile & Tablet Comparison Cards (Zero Horizontal Scroll!) */
.comparison-cards-mobile {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .comparison-cards-mobile {
    display: none;
  }
}

.comparison-card-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.comparison-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-row-traditional {
  background-color: #FFF8F8;
  border-inline-start: 3px solid #D9534F;
  border-radius: var(--radius-xs);
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

html[data-theme="dark"] .comparison-row-traditional {
  background-color: #1E1212;
}

.comparison-row-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.comparison-row-traditional .comparison-row-label {
  color: #C9302C;
}

html[data-theme="dark"] .comparison-row-traditional .comparison-row-label {
  color: #FFAAA8;
}

.comparison-row-traditional p {
  font-size: 0.875rem;
  color: #7A5555;
  line-height: 1.5;
}

html[data-theme="dark"] .comparison-row-traditional p {
  color: #D6A4A4;
}

.comparison-row-nafeer {
  background: var(--color-gold-light);
  border-inline-start: 3px solid var(--color-gold);
  border-radius: var(--radius-xs);
  padding: 0.85rem 1rem;
}

.comparison-row-nafeer .comparison-row-label {
  color: var(--color-gold);
}

.comparison-row-nafeer p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   HIGH-CONVERSION STRATEGIC CALLOUT BANNER (MID-PAGE CTA BREAK)
   -------------------------------------------------------------------------- */
.cta-banner-section {
  background: linear-gradient(135deg, #052620 0%, #031411 100%);
  color: #FFFFFF;
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(182, 139, 56, 0.25);
  border-bottom: 1px solid rgba(182, 139, 56, 0.25);
}

.cta-banner-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(182, 139, 56, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  background: rgba(182, 139, 56, 0.15);
  border: 1px solid rgba(182, 139, 56, 0.35);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.cta-banner-title {
  color: #FFFFFF;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.15rem;
}

.cta-banner-desc {
  color: #D1E3DF;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
}

/* --------------------------------------------------------------------------
   11. CASE STUDIES SECTION (COMPACT MOCKUP CARDS WITH SMALL IMAGES)
   -------------------------------------------------------------------------- */
.work-section {
  background-color: var(--bg-subtle);
  position: relative;
}

.work-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.work-filter-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.work-filter-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.work-filter-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #051916;
  box-shadow: var(--shadow-gold);
}

.work-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

@media (min-width: 768px) and (max-width: 1079px) {
  .work-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .work-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-case-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.work-case-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Small, Crisp Browser Frame Mockup */
.browser-mockup-frame {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast);
}

.work-case-card:hover .browser-mockup-frame {
  box-shadow: 0 8px 20px rgba(182, 139, 56, 0.15);
}

.browser-mockup-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.75rem;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.browser-dot.red { background-color: #FF5F56; }
.browser-dot.yellow { background-color: #FFBD2E; }
.browser-dot.green { background-color: #27C93F; }

.browser-url-pill {
  flex: 1;
  background: var(--bg-page);
  border-radius: 4px;
  font-size: 0.675rem;
  color: var(--text-muted);
  padding: 0.15rem 0.5rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
}

.browser-mockup-body {
  height: 180px;
  overflow: hidden;
  background-color: #041412;
  position: relative;
  cursor: pointer;
}

.browser-mockup-body::after {
  content: '🔍 View Full Screen';
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(4, 20, 18, 0.88);
  color: #DFC17B;
  font-size: 0.675rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--transition-fast);
  border: 1px solid rgba(182, 139, 56, 0.4);
  pointer-events: none;
}

html[lang="ar"] .browser-mockup-body::after {
  content: '🔍 معاينة بالكامل';
  right: auto;
  left: 8px;
}

.work-case-card:hover .browser-mockup-body::after {
  opacity: 1;
  transform: translateY(0);
}

.browser-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-normal);
}

.work-case-card:hover .browser-mockup-img {
  transform: scale(1.04);
}

/* Card Body Content */
.work-case-sector {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.work-case-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.work-case-summary {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.work-metrics-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
}

.metric-pill svg {
  color: var(--color-gold);
}

.work-case-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
  transition: all var(--transition-fast);
}

.work-case-link:hover {
  background: var(--color-gold);
  color: #051916;
  border-color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   CASE STUDY FULL-SCREEN LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(3, 16, 14, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  max-width: 1040px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 50px rgba(182, 139, 56, 0.25);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.lightbox-modal.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.lightbox-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lightbox-badge {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lightbox-title {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.lightbox-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.lightbox-close-btn:hover {
  background: #D9534F;
  color: #FFFFFF;
  border-color: #D9534F;
  transform: rotate(90deg);
}

.lightbox-image-wrap {
  background: #041210;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 62vh;
  overflow: auto;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: var(--radius-xs);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-footer {
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   12. WORKING PROCESS (STRUCTURED PROGRESSION TIMELINE)
   -------------------------------------------------------------------------- */
.process-section {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

.process-flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 640px) {
  .process-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .process-flow-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.process-step-card:hover {
  background: var(--bg-surface);
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-step-index {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-gold);
  opacity: 0.9;
  line-height: 1;
  margin-bottom: 1.15rem;
}

.process-step-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.process-step-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.process-deliverables-pill {
  margin-top: auto;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--color-gold);
  background: var(--color-gold-light);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-gold-border);
  text-align: center;
}

/* --------------------------------------------------------------------------
   13. INDUSTRIES SECTION
   -------------------------------------------------------------------------- */
.industries-section {
  background-color: var(--bg-subtle);
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.industry-card {
  padding: 2rem 1.75rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.industry-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.industry-icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.industry-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: var(--color-gold-light);
  color: var(--color-gold);
  border: 1px solid var(--color-gold-border);
}

.industry-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

.industry-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.industry-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-section {
  background-color: var(--bg-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  height: 100%;
}

.testimonial-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-rating-stars {
  display: flex;
  gap: 3px;
  color: var(--color-gold);
  margin-bottom: 1.15rem;
}

.testimonial-text {
  font-size: 0.975rem;
  color: var(--text-main);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author-meta {
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-light);
}

.author-role {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-sector {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   15. EDITORIAL BLOG SECTION
   -------------------------------------------------------------------------- */
.blog-section {
  background-color: var(--bg-subtle);
}

.blog-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .blog-editorial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.editorial-article-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.editorial-article-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.article-taxonomy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.785rem;
  font-weight: 700;
  color: var(--color-gold);
}

.article-read-time {
  color: var(--text-light);
  font-weight: 500;
}

.article-headline {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.article-headline a:hover {
  color: var(--color-gold);
}

.article-synopsis {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.article-cta-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.article-cta-link:hover {
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   16. FINAL CONVERSION & CONSULTATION FORM
   -------------------------------------------------------------------------- */
.conversion-section {
  background-color: var(--bg-surface);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

.conversion-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 90vw);
  height: min(800px, 90vw);
  background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.conversion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  z-index: 2;
  align-items: center;
}

@media (min-width: 980px) {
  .conversion-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.conversion-info-col {
  max-width: 520px;
}

.conversion-headline {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.conversion-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.conversion-perks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-main);
}

.perk-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Interactive Consultation Form */
.consultation-form-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--color-gold-glow);
}

.form-select option {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid #25D366;
  color: #116832;
}

html[data-theme="dark"] .form-feedback.success {
  background: rgba(37, 211, 102, 0.18);
  color: #6CE89A;
}

.form-feedback.error {
  display: block;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid #DC3545;
  color: #921E2A;
}

html[data-theme="dark"] .form-feedback.error {
  background: rgba(220, 53, 69, 0.2);
  color: #FFAAA8;
}

/* --------------------------------------------------------------------------
   17. GLOBAL FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2rem;
  border-top: 1px solid var(--border-light);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .footer-top-grid {
    grid-template-columns: 1.35fr 0.9fr 1.05fr 1.15fr;
    gap: 3rem;
  }
}

.footer-brand-desc {
  font-size: 0.885rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.15rem;
  letter-spacing: 0.02em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.885rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-gold);
  padding-inline-start: 4px;
}

.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.825rem;
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   18. SUBPAGE COMPATIBILITY (SERVICES & BLOG ARTICLES)
   -------------------------------------------------------------------------- */
.page-hero {
  background-color: var(--bg-surface);
  color: var(--text-main);
  padding-top: clamp(6.5rem, 12vh, 8.5rem);
  padding-bottom: clamp(3rem, 6vh, 4.5rem);
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.page-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 1.15rem;
}

.page-hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.65;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .service-content-grid {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

.service-main-article {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-main);
}

.service-main-article h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.service-main-article h3 {
  font-size: 1.3rem;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.service-main-article p {
  margin-bottom: 1.35rem;
  color: var(--text-muted);
}

.service-sidebar-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  position: sticky;
  top: 5.5rem;
}

/* Blog Article Layout */
.article-container {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.article-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1.15rem;
}

.article-content {
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-content h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

html[lang="ar"] .article-content ul,
html[lang="ar"] .article-content ol {
  padding-left: 0;
  padding-right: 1.5rem;
}

.article-content li {
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

/* FAQ Accordion Component */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.85rem 0;
}

.faq-item {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
  gap: 1rem;
  transition: color var(--transition-fast);
}

.faq-item.open .faq-question {
  color: var(--color-emerald);
  border-bottom: 1px solid var(--border-light);
}

html[data-theme="dark"] .faq-item.open .faq-question {
  color: var(--color-gold);
}

.faq-toggle-icon {
  font-size: 0.75rem;
  transition: transform var(--transition-normal);
  color: var(--color-gold);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 1.15rem 1.35rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Floating Quick Action CTA */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

html[lang="ar"] .floating-actions {
  right: auto;
  left: 2rem;
}

.floating-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp:hover {
  background-color: #20BD5A;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55);
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 0.85rem;
    border-radius: 50%;
  }
  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  html[lang="ar"] .floating-actions {
    right: auto;
    left: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE BREAKPOINT REFINEMENTS & INTERACTIVE ANIMATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 639px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .brand-tagline {
    display: none;
  }

  .site-header {
    padding: 0.85rem 0;
  }
}

/* Page Entrance Smooth Reveal */
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Scroll-triggered reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Enhanced Form Input Legibility & Autofill Safeguard */
.form-input,
.form-select,
.form-textarea {
  color: var(--text-main) !important;
  background-color: var(--bg-surface) !important;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
  opacity: 0.85;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text-main) !important;
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-surface) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* --------------------------------------------------------------------------
   20. CINEMATIC CORPORATE VIDEO SHOWREEL COMPONENT
   -------------------------------------------------------------------------- */
.video-showreel-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.video-showreel-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #041814 0%, #072B24 100%);
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 20px 60px rgba(4, 20, 18, 0.4), 0 0 40px rgba(182, 139, 56, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

@media (max-width: 640px) {
  .video-showreel-card {
    min-height: 360px;
  }
}

.video-showreel-card:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 0 30px 80px rgba(4, 20, 18, 0.6), 0 0 60px rgba(182, 139, 56, 0.28);
}

.video-showreel-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity var(--transition-normal), transform var(--transition-slow);
}

.video-showreel-card:hover .video-showreel-backdrop {
  opacity: 0.6;
  transform: scale(1.04);
}

.video-showreel-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(3, 20, 17, 0.25) 0%, rgba(3, 20, 17, 0.88) 85%);
  z-index: 1;
}

.video-showreel-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
}

/* Pulsating Gold Play Button with Radiant Concentric Rings */
.video-play-trigger {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ECC66D 0%, #B68B38 100%);
  color: #051916;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(182, 139, 56, 0.5);
  margin-bottom: 1.25rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.video-play-trigger:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 40px rgba(182, 139, 56, 0.7);
}

.video-play-trigger::before,
.video-play-trigger::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  animation: playPulse 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

.video-play-trigger::after {
  inset: -28px;
  border-color: rgba(212, 175, 55, 0.35);
  animation-delay: 0.8s;
}

@keyframes playPulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 0.4; }
  100% { transform: scale(1.28); opacity: 0; }
}

.video-play-icon {
  width: 32px;
  height: 32px;
  fill: #041613;
  margin-left: 4px;
  transition: transform var(--transition-fast);
}

html[lang="ar"] .video-play-icon {
  margin-left: 0;
  margin-right: 4px;
  transform: rotate(180deg);
}

.video-showreel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(4, 20, 18, 0.75);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(8px);
}

.video-showreel-title {
  color: #FFFFFF;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 680px;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.video-showreel-sub {
  color: #D1E3DF;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  max-width: 540px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-showreel-meta {
  z-index: 2;
  position: relative;
  padding: 1.25rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 20, 17, 0.95) 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Full Cinema Video Modal */
.cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 3500;
  background: rgba(3, 14, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-modal.active {
  opacity: 1;
  visibility: visible;
}

.cinema-dialog {
  width: 100%;
  max-width: 1040px;
  background: #000000;
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 60px rgba(182, 139, 56, 0.3);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.cinema-modal.active .cinema-dialog {
  transform: scale(1);
}

.cinema-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.4rem;
  background: #041412;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cinema-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinema-video-wrap video,
.cinema-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------------------------------
   21. INTERACTIVE ACCORDION & COLLAPSIBLE CONTENT ARCHITECTURE
   -------------------------------------------------------------------------- */
.services-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.accordion-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.accordion-service-card:hover {
  border-color: var(--color-gold-border);
  box-shadow: var(--shadow-md);
}

.accordion-service-card.open {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(182, 139, 56, 0.12);
}

.accordion-service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  cursor: pointer;
  user-select: none;
  gap: 1.25rem;
  background: transparent;
  transition: background var(--transition-fast);
}

.accordion-service-card.open .accordion-service-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.accordion-service-title-wrap {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex: 1;
}

.accordion-service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.accordion-service-card.open .accordion-service-icon {
  background: var(--color-gold);
  color: #051916;
  transform: scale(1.05);
}

.accordion-service-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.accordion-service-title {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.accordion-service-summary {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.accordion-service-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background var(--transition-fast), color var(--transition-fast);
}

.accordion-service-card.open .accordion-service-toggle {
  transform: rotate(180deg);
  background: var(--color-gold);
  color: #051916;
  border-color: var(--color-gold);
}

/* Smooth GPU-Accelerated Height Collapse/Expand */
.accordion-service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-service-card.open .accordion-service-body {
  grid-template-rows: 1fr;
}

.accordion-service-content {
  overflow: hidden;
}

.accordion-service-inner {
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .accordion-service-inner {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }
}

.accordion-deliv-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-roi-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Mobile-First Micro-Interactions & Touch Targets */
@media (max-width: 640px) {
  .accordion-service-header {
    padding: 1rem;
    gap: 0.85rem;
  }
  .accordion-service-icon {
    width: 40px;
    height: 40px;
  }
  .accordion-service-toggle {
    width: 32px;
    height: 32px;
  }
  .accordion-service-inner {
    padding: 1rem;
    gap: 1rem;
  }
}
