/* ==========================================================================
   شركة التوكيل للتوريدات العمومية - Main Stylesheet (Modern Industrial B2B)
   ========================================================================== */

:root {
  /* Brand Palette derived from original website */
  --primary: #850303;
  --primary-hover: #6a0202;
  --primary-dark: #4d0101;
  --primary-light: #a81313;
  --primary-subtle: #fdf2f2;
  --primary-glow: rgba(133, 3, 3, 0.25);

  /* Industrial Charcoal & Grayscale */
  --dark: #0f141c;
  --dark-surface: #18202c;
  --dark-border: #2a3444;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-card: #e5e7eb;

  /* Accents */
  --accent-gold: #d97706;
  --accent-green: #10b981;
  --whatsapp-green: #25d366;

  /* Typography */
  --font-primary: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Zain', 'Cairo', sans-serif;

  /* Layout & Elevations */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 30px -10px rgba(133, 3, 3, 0.18);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   CSS Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2vw + 0.25rem, 1.85rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #d62828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Top Sticky Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 101;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-slogan {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  opacity: 0.92;
  font-size: 0.85rem;
  direction: ltr;
}

.top-bar-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Header & Navigation (Ultra-Slim Compact B2B System - 50px/44px)
   -------------------------------------------------------------------------- */
.top-bar {
  display: none !important; /* Fully removed to make header sleek and eliminate clutter */
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  height: 48px;
  max-height: 48px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.site-header.header-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  gap: 12px;
  height: 48px;
  max-height: 48px;
  box-sizing: border-box;
}

.site-header.header-scrolled .header-inner {
  padding: 0;
  height: 48px;
  max-height: 48px;
}

/* Brand / Single Crisp Logo */
.brand-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 32px;
  width: auto;
  max-width: 135px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-emblem-img {
  display: none !important; /* Hide duplicate emblem to keep header slim & clean */
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  margin: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  font-weight: 700;
  color: #334155;
  border-radius: 6px;
  font-size: 0.83rem;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.nav-link:hover {
  color: var(--primary);
  background-color: rgba(133, 3, 3, 0.05);
}

.nav-link.active {
  color: var(--primary);
  background-color: rgba(133, 3, 3, 0.08);
  font-weight: 800;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 8px;
  left: 8px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Highlighted Nav Link (طلب تسعير) */
.nav-link-highlight {
  background: rgba(133, 3, 3, 0.07);
  color: var(--primary) !important;
  border: 1px solid rgba(133, 3, 3, 0.2);
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.81rem;
}

.nav-link-highlight:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
}

/* Dropdown Caret Icon */
.dropdown-chevron {
  width: 10px !important;
  height: 10px !important;
  max-width: 10px !important;
  max-height: 10px !important;
  min-width: 10px !important;
  min-height: 10px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin-right: 2px !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-item-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown Menu Box */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 6px;
  margin-top: 2px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1100;
  pointer-events: none;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  margin-bottom: 2px;
}

.nav-dropdown-item:last-child {
  margin-bottom: 0;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 6px;
  color: #334155;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 700;
  transition: all 0.15s ease;
}

.nav-dropdown-link:hover {
  background: rgba(133, 3, 3, 0.05);
  color: var(--primary);
}

.nav-dropdown-link.active {
  background: rgba(133, 3, 3, 0.08);
  color: var(--primary);
  font-weight: 800;
}

.dropdown-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: rgba(133, 3, 3, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
}

.dropdown-item-title {
  font-size: 0.82rem;
  line-height: 1.2;
}

.dropdown-item-desc {
  font-size: 0.70rem;
  color: #64748b;
  font-weight: 500;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #25D366 0%, #16a34a 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 10px;
  height: 28px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(37, 211, 102, 0.25);
  transition: all 0.15s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.header-btn-whatsapp:hover {
  background: linear-gradient(135deg, #22c35e 0%, #15803d 100%);
  transform: translateY(-1px);
}

.header-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e293b !important;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 9px;
  height: 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  direction: ltr;
  box-sizing: border-box;
}

.header-btn-call:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: rgba(133, 3, 3, 0.04);
}

/* Mobile Action Buttons (< 1024px) */
.btn-mobile-action {
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.btn-mobile-action:active {
  transform: scale(0.92);
}

.btn-mobile-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #16a34a 100%);
}

.btn-mobile-call {
  background: linear-gradient(135deg, #850303 0%, #b91c1c 100%);
}

.mobile-toggle-btn {
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: all 0.15s ease;
}

.mobile-toggle-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* Tablet & Mobile Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
  .top-bar {
    display: none !important;
  }

  .main-nav {
    display: none !important;
  }

  .header-actions .btn-desktop {
    display: none !important;
  }

  .btn-mobile-action {
    display: inline-flex !important;
  }

  .mobile-toggle-btn {
    display: inline-flex !important;
  }

  .brand-emblem-img {
    display: none !important;
  }

  .brand-logo-img {
    height: 26px !important;
    max-width: 110px !important;
  }

  .site-header {
    padding: 0 !important;
  }

  .header-inner {
    padding: 3px 0 !important;
    min-height: 42px !important;
    gap: 5px !important;
  }

  .header-actions {
    gap: 4px !important;
  }
}

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  max-width: 85vw;
  height: 100%;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}

.drawer-header img {
  height: 30px;
  width: auto;
}

.drawer-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e2e8f0;
  border: none;
  color: #334155;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.drawer-info-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(133, 3, 3, 0.04);
  border-bottom: 1px solid rgba(133, 3, 3, 0.08);
  font-size: 0.74rem;
  color: var(--primary);
  font-weight: 700;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 8px;
  gap: 3px;
  flex: 1;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #1e293b;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.15s ease;
  position: relative;
}

.drawer-link:hover {
  background: #f8fafc;
  color: var(--primary);
}

.drawer-link.active {
  background: rgba(133, 3, 3, 0.08);
  color: var(--primary);
  font-weight: 800;
}

.drawer-link-icon {
  font-size: 1rem;
  width: 22px;
  text-align: center;
}

.drawer-link-badge {
  margin-right: auto;
  font-size: 0.68rem;
  background: var(--primary);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 800;
}

.drawer-footer {
  padding: 14px 16px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.drawer-footer .btn {
  width: 100%;
  justify-content: center;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(133, 3, 3, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-subtle);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--dark);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: #000000;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #1ebc59;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Hero Section (Compact & Balanced B2B Dimensions)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  background-color: #121820;
  overflow: hidden;
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.2) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(87, 0, 0, 0.92) 0%, rgba(15, 20, 28, 0.95) 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 44px 0;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  color: #e2e8f0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Trust Metrics Bar
   -------------------------------------------------------------------------- */
.trust-metrics {
  background-color: #ffffff;
  margin-top: -30px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 24px 30px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: center;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.metric-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Section Layouts & Headings
   -------------------------------------------------------------------------- */
.section {
  padding: 48px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--dark);
  color: #ffffff;
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: #cbd5e1;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px auto;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--primary-subtle);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
  font-weight: 800;
}

.section-desc {
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Product Cards & Grid
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(133, 3, 3, 0.3);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(15, 20, 28, 0.85);
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Filter Buttons (Products Page)
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   Featured Distributorship Banner (Nassar Group)
   -------------------------------------------------------------------------- */
.featured-distributor-card {
  background: linear-gradient(135deg, #7a0000 0%, #4a0000 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 40px 45px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.distributor-logo-box {
  background-color: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.distributor-logo-box img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.distributor-content h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.distributor-content p {
  color: #fee2e2;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.distributor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.distributor-tag-item {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Brands Section
   -------------------------------------------------------------------------- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
}

.brand-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.brand-card img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: var(--transition);
}

.brand-card:hover img {
  filter: grayscale(0%);
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(133, 3, 3, 0.3);
}

.service-icon-wrap {
  width: 74px;
  height: 74px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 12px;
}

.service-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.payment-method-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  padding: 10px 14px;
  background-color: var(--bg-alt);
  border-radius: var(--radius-sm);
  border-right: 3px solid var(--primary);
}

/* --------------------------------------------------------------------------
   Contact Page & Form
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.contact-info-panel {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-agent-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.agent-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--primary-subtle);
}

.agent-meta h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.agent-meta p {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-text h5 {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 2px;
}

.detail-text p, .detail-text a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.contact-form-panel {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-feedback {
  display: none;
  padding: 14px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-feedback.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.map-wrapper {
  margin-top: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  height: 380px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   About Section & Values
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.feature-box h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.feature-box p {
  font-size: 0.9rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   CTA Fast Strip
   -------------------------------------------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.cta-strip h2 {
  color: #ffffff;
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.cta-strip p {
  color: #fee2e2;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 30px auto;
}

.cta-strip-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #570000 0%, #110000 100%);
  color: #ffffff;
  padding-top: 70px;
  margin-top: auto;
  border-top: 3px solid var(--primary-light);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  width: fit-content;
}

.footer-logo-img {
  height: 44px;
  width: auto;
}

.footer-desc {
  color: #f1f5f9;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #cbd5e1;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.footer-contact-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Floating Quick Action Buttons (WhatsApp & Call)
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  color: #ffffff;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-whatsapp {
  background-color: var(--whatsapp-green);
}

.floating-call {
  background-color: var(--primary);
}

.floating-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  background-color: var(--dark);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   Quick Modal (Quote / Inquiry)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  left: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-light);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--dark);
}

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: #ffffff;
  z-index: 1002;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.drawer-link:hover, .drawer-link.active {
  background-color: var(--primary-subtle);
  color: var(--primary);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-slogan {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
  }
  .main-nav {
    display: none;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .featured-distributor-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px;
  }
  .distributor-logo-box {
    margin: 0 auto;
    max-width: 160px;
  }
  .distributor-tags {
    justify-content: center;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn-lg {
    width: 100%;
  }
  .brand-logo-img {
    height: 42px;
  }
  .brand-emblem-img {
    height: 36px;
    width: 36px;
  }
}

/* ==========================================================================
   Continuous Ambient Background Animations (Subtle & GPU-Accelerated)
   ========================================================================== */

/* 1. Behind-the-Icons Continuous Motion */
.service-icon-box,
.metric-icon-box,
.service-icon-wrap,
.service-icon-box,
.feature-icon-box,
.contact-icon-box,
.stat-icon,
.step-num,
.brand-card,
.ambient-halo-target {
  position: relative;
  isolation: isolate;
}

.metric-icon-box::before,
.service-icon-wrap::before,
.service-icon-box::before,
.feature-icon-box::before,
.contact-icon-box::before,
.stat-icon::before,
.step-num::before,
.brand-card::before,
.ambient-halo-target::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1.5px dashed rgba(196, 22, 28, 0.45);
  z-index: -1;
  pointer-events: none;
  animation: continuousHaloRotate 14s linear infinite;
  will-change: transform;
}

.metric-icon-box::after,
.service-icon-wrap::after,
.service-icon-box::after,
.feature-icon-box::after,
.contact-icon-box::after,
.stat-icon::after,
.step-num::after,
.brand-card::after,
.ambient-halo-target::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(196, 22, 28, 0.22) 0%, rgba(220, 38, 38, 0.06) 65%, transparent 85%);
  z-index: -2;
  pointer-events: none;
  animation: iconPulseAmbient 3.5s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes continuousHaloRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes iconPulseAmbient {
  0% {
    transform: scale(0.92);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.55;
  }
}

/* 2. Continuous Motion Behind Text & Section Headings */
.section-tag {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 22, 28, 0.15), transparent);
  z-index: -1;
  animation: textTagShimmer 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes textTagShimmer {
  0% {
    transform: translateX(-50%);
  }
  50% {
    transform: translateX(50%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.section-title {
  position: relative;
  isolation: isolate;
}

.section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -25px;
  width: 160px;
  height: 70px;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, rgba(196, 22, 28, 0.12) 0%, rgba(196, 22, 28, 0.02) 65%, transparent 85%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(18px);
  pointer-events: none;
  animation: ambientFloatGlow 7s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes ambientFloatGlow {
  0% {
    transform: translateY(-50%) scale(0.95) translateX(0);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-50%) scale(1.15) translateX(-15px);
    opacity: 0.95;
  }
}

/* 3. Global Ambient Floating Background Nodes */
.ambient-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  opacity: 0.085;
  will-change: transform;
}

.orb-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #c4161c, transparent);
  top: 10%;
  right: -5%;
  animation: ambientOrbFloat1 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #0284c7, transparent);
  bottom: 15%;
  left: -8%;
  animation: ambientOrbFloat2 22s ease-in-out infinite alternate;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #f59e0b, transparent);
  top: 45%;
  left: 20%;
  animation: ambientOrbFloat3 26s ease-in-out infinite alternate;
}

@keyframes ambientOrbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 60px) scale(1.1); }
  100% { transform: translate(30px, -40px) scale(0.95); }
}

@keyframes ambientOrbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.15); }
  100% { transform: translate(-30px, 40px) scale(0.9); }
}

@keyframes ambientOrbFloat3 {
  0% { transform: translate(0, 0) scale(0.9); }
  50% { transform: translate(-60px, -30px) scale(1.05); }
  100% { transform: translate(40px, 50px) scale(1); }
}

/* 4. Product Search & Filter Bar */
.product-search-bar-wrap {
  max-width: 780px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-input-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 22, 28, 0.15);
}

.search-icon {
  color: var(--text-muted);
  margin-left: 10px;
  flex-shrink: 0;
}

.search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark);
  outline: none;
  padding: 8px 0;
}

.clear-search-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 6px;
  display: none;
}

.search-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.active-count-badge {
  background: rgba(196, 22, 28, 0.08);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
}


/* 5. Product Card Action Buttons (Direct Quote & Direct WhatsApp) */
.product-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #eef2f6;
  margin-top: auto;
}

/* طلب تسعير فوري: لون عنابي صناعي فاخر مع حواف وظلال متناسقة */
.btn-quote-product {
  background: linear-gradient(135deg, #850303 0%, #ab0606 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 10px;
  border-radius: 8px;
  border: 1px solid rgba(133, 3, 3, 0.4);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(133, 3, 3, 0.28);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-quote-product:hover {
  background: linear-gradient(135deg, #6a0202 0%, #850303 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(133, 3, 3, 0.45);
}

/* تواصل واتساب: خلفية خضراء واتساب واضحة وفاخرة مع حواف متناسقة */
.btn-whatsapp-product {
  background: #25D366;
  background: linear-gradient(135deg, #25D366 0%, #16a34a 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 10px;
  border-radius: 8px;
  border: 1px solid rgba(22, 163, 74, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.32);
}

.btn-whatsapp-product svg {
  color: #ffffff !important;
  fill: currentColor;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.btn-whatsapp-product:hover {
  background: linear-gradient(135deg, #1ebc59 0%, #15803d 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-product:hover svg {
  transform: scale(1.15);
}


/* 6. High-End Industrial Search Bar & Filter Chips */
.product-search-bar-wrap {
  max-width: 920px;
  margin: 0 auto 35px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-bar-panel {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  overflow: hidden;
}

.search-bar-panel:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(133, 3, 3, 0.12);
}

.search-category-select {
  background: #f8fafc;
  border: none;
  border-left: 1.5px solid #e2e8f0;
  padding: 0 16px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  color: #334155;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
}

.search-input-box {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  padding: 4px 14px;
  background: transparent;
}

.search-icon {
  color: var(--primary);
  margin-left: 10px;
  flex-shrink: 0;
}

.search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: #0f172a;
  outline: none;
  padding: 8px 4px;
}

.search-input::placeholder {
  color: #94a3b8;
  font-size: 0.92rem;
}

.clear-search-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 8px;
  display: none;
  line-height: 1;
  transition: color 0.2s ease;
}

.clear-search-btn:hover {
  color: var(--primary);
}

.search-action-btn {
  background: linear-gradient(135deg, #850303 0%, #a81313 100%);
  color: #ffffff;
  border: none;
  padding: 0 24px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-action-btn:hover {
  background: linear-gradient(135deg, #6a0202 0%, #850303 100%);
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.chips-label {
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 700;
  margin-left: 4px;
}

.search-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-chip:hover,
.search-chip.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(133, 3, 3, 0.25);
}

.search-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 0.88rem;
  color: #64748b;
}

.active-count-badge {
  background: rgba(133, 3, 3, 0.08);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid rgba(133, 3, 3, 0.15);
}

.no-products-found {
  grid-column: 1 / -1;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 48px 24px;
  text-align: center;
  margin: 20px 0;
}

.no-products-found h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.no-products-found p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* 7. Continuous Ambient Motion Animations (Behind Icons & Text) */
@keyframes continuousHaloRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes iconPulseGlow {
  0% { transform: scale(0.92); opacity: 0.35; }
  50% { transform: scale(1.16); opacity: 0.75; }
  100% { transform: scale(0.92); opacity: 0.35; }
}

@keyframes textTagShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes ambientFloatGlow {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.35; }
  50% { transform: translate(-46%, -54%) scale(1.15); opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.35; }
}

/* أنيميشن مستمر خلف كافة الأيقونات في الموقع */
.feature-icon-box,
.service-icon-box,
.stat-icon,
.contact-icon-box,
.detail-icon,
.card-icon {
  position: relative !important;
  isolation: isolate;
}

.feature-icon-box::before,
.service-icon-box::before,
.stat-icon::before,
.contact-icon-box::before,
.detail-icon::before,
.card-icon::before {
  content: "" !important;
  position: absolute !important;
  inset: -8px !important;
  border-radius: inherit !important;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.32) 0%, rgba(185, 28, 28, 0) 70%) !important;
  animation: iconPulseGlow 3.5s ease-in-out infinite alternate !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

.feature-icon-box::after,
.service-icon-box::after,
.stat-icon::after,
.contact-icon-box::after,
.detail-icon::after,
.card-icon::after {
  content: "" !important;
  position: absolute !important;
  inset: -5px !important;
  border-radius: inherit !important;
  border: 1.5px dashed rgba(185, 28, 28, 0.45) !important;
  animation: continuousHaloRotate 12s linear infinite !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

/* أنيميشن مستمر خلف شارات وعناوين الأقسام */
.section-tag {
  position: relative;
  background: linear-gradient(90deg, #fdf2f2 0%, #fee2e2 50%, #fdf2f2 100%) !important;
  background-size: 200% 100% !important;
  animation: textTagShimmer 4s ease-in-out infinite !important;
  box-shadow: 0 0 15px rgba(185, 28, 28, 0.12) !important;
}

.page-banner .section-tag {
  background: linear-gradient(90deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.24) 50%, rgba(255,255,255,0.12) 100%) !important;
  background-size: 200% 100% !important;
  animation: textTagShimmer 4s ease-in-out infinite !important;
}

.section-header {
  position: relative;
}

.section-header::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 65px;
  background: radial-gradient(ellipse, rgba(185, 28, 28, 0.18) 0%, rgba(185, 28, 28, 0) 70%);
  filter: blur(18px);
  animation: ambientFloatGlow 5s ease-in-out infinite alternate !important;
  pointer-events: none;
  z-index: 0;
}

/* طبقة جزيئات وأجرام ضوئية هادئة مستمرة بالخلفية */
.ambient-bg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  pointer-events: none;
  opacity: 0.35;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #b91c1c 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: floatOrb1 14s ease-in-out infinite alternate;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #e11d48 0%, transparent 70%);
  bottom: -15%;
  left: 10%;
  animation: floatOrb2 16s ease-in-out infinite alternate;
}

.orb-3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, #d97706 0%, transparent 70%);
  top: 40%;
  left: -5%;
  animation: floatOrb3 12s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 35px) scale(1.15); }
  100% { transform: translate(35px, -25px) scale(0.9); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, -45px) scale(1.2); }
  100% { transform: translate(-25px, 25px) scale(0.95); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, 25px) scale(1.1); }
  100% { transform: translate(-40px, -20px) scale(0.9); }
}

/* 8. Enhanced Mobile Optimization (< 768px & < 480px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* mobile header handled in master block */

  .hero {
    padding: 45px 0 55px !important;
  }

  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }

  .hero-actions {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
  }

  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .product-card {
    max-width: 100% !important;
  }

  .product-img-wrap {
    height: 220px !important;
  }

  .product-info {
    padding: 20px 16px !important;
  }

  .product-title {
    font-size: 1.2rem !important;
  }

  .product-footer {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .btn-quote-product,
  .btn-whatsapp-product {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 0.94rem !important;
    min-height: 46px !important;
  }

  .search-bar-panel {
    flex-direction: column !important;
    border-radius: 10px !important;
  }

  .search-category-select {
    border-left: none !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    padding: 10px 14px !important;
    width: 100% !important;
    border-radius: 0 !important;
  }

  .search-input-box {
    padding: 8px 12px !important;
  }

  .search-action-btn {
    border-radius: 0 !important;
    padding: 12px 18px !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .search-chips {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
  }

  .search-chip {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .filter-tabs {
    gap: 8px !important;
    margin-bottom: 25px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding: 4px 2px 10px !important;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .floating-actions {
    bottom: 20px !important;
    right: 16px !important;
    gap: 10px !important;
  }

  .floating-btn {
    width: 48px !important;
    height: 48px !important;
  }

  .floating-tooltip {
    display: none !important;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .stat-card {
    padding: 16px 12px !important;
  }

  .footer-main {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 30px !important;
  }

  .brand-emblem-img {
    height: 26px !important;
    width: 26px !important;
  }

  .top-bar-contacts {
    font-size: 0.74rem !important;
    gap: 8px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Utility & Fixes
   ========================================================================== */
.text-white {
  color: #ffffff !important;
}

.page-banner h1,
.page-banner .section-title {
  color: #ffffff !important;
}

/* ==========================================================================
   Continuous Live Industrial Ticker Tape Animation
   ========================================================================== */
.industrial-ticker-wrap {
  display: flex;
  align-items: center;
  background: #0b111e;
  border-top: 1.5px solid rgba(185, 28, 28, 0.4);
  border-bottom: 1.5px solid rgba(185, 28, 28, 0.4);
  color: #f8fafc;
  overflow: hidden;
  height: 46px;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ticker-heading {
  background: linear-gradient(135deg, #850303 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: tickerScrollRTL 35s linear infinite;
  padding-right: 20px;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.ticker-sep {
  color: #ef4444;
  font-weight: bold;
}

@keyframes tickerScrollRTL {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* Interactive Ambient Particle Canvas */
#ambientHeroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   New Pages Styles (Projects, Specs, RFQ, FAQs)
   ========================================================================== */

/* 1. Projects Portfolio (al-masharie.html) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.project-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(133, 3, 3, 0.12);
  border-color: rgba(133, 3, 3, 0.3);
}

.project-card-header {
  padding: 24px 22px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.project-sector-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(133, 3, 3, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 6px;
  margin-bottom: 10px;
}

.project-card-body {
  padding: 20px 22px;
  flex: 1;
}

.project-supplies-list {
  list-style: none;
  margin-top: 14px;
  padding: 0;
}

.project-supplies-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 8px;
}

/* 2. Technical Standards & Specs (al-maweer-wal-mwasfat.html) */
.spec-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 30px 26px;
  margin-bottom: 35px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.spec-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.92rem;
}

.spec-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 14px 16px;
  font-weight: 700;
}

.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.spec-table tr:nth-child(even) td {
  background: #f8fafc;
}

.spec-table tr:hover td {
  background: #fdf2f2;
}

.spec-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
}

.spec-badge-iso { background: #dbeafe; color: #1e40af; }
.spec-badge-din { background: #fee2e2; color: #991b1b; }
.spec-badge-astm { background: #dcfce7; color: #166534; }

/* 3. FAQs Accordion (al-asela-al-shaeaa.html) */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(133, 3, 3, 0.1);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: right;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 22px 20px;
}

/* 4. RFQ Form (talab-tasir.html) */
.rfq-container {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.rfq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 768px) {
  .rfq-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STATS COUNTER SECTION (أرقام وإنجازات التوكيل - مدمج وأنيق)
   ========================================================================== */
.stats-counter-section {
  position: relative;
  padding: 32px 0 36px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  color: var(--text-main);
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.stats-counter-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 180px;
  background: radial-gradient(circle, rgba(133, 3, 3, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.stats-counter-section .container {
  position: relative;
  z-index: 1;
}

.stats-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 24px;
}

.stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  background: rgba(133, 3, 3, 0.07);
  border: 1px solid rgba(133, 3, 3, 0.2);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stats-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 6px;
}

.stats-title span {
  color: var(--primary);
}

.stats-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 1 !important;
  visibility: visible !important;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(133, 3, 3, 0.35);
  box-shadow: 0 8px 20px rgba(133, 3, 3, 0.1);
}

.stat-icon-wrap {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  background: rgba(133, 3, 3, 0.06);
  border: 1px solid rgba(133, 3, 3, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.2s ease;
}

.stat-card:hover .stat-icon-wrap {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

.stat-number-wrap {
  font-family: 'Cairo', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  direction: ltr;
}

.stat-prefix, .stat-suffix {
  color: #d97706;
  font-weight: 800;
  font-size: 1.5rem;
}

.counter-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s ease;
}

.stat-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.3;
}

.stat-card-desc {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .stats-title {
    font-size: 1.55rem;
  }
}

@media (max-width: 580px) {
  .stats-counter-section {
    padding: 24px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 14px 8px;
  }
  .stat-number-wrap {
    font-size: 1.65rem;
  }
  .stat-card-title {
    font-size: 0.82rem;
  }
  .stat-card-desc {
    display: none;
  }
}

/* ==========================================================================
   Global Site-Wide Animations
   ========================================================================== */

/* 1. Global Ambient Background Layer */
#globalAmbientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* 2. Enhanced Halo & Dashed Rotation for all icons */
.metric-icon-box,
.service-icon-wrap,
.service-icon-box,
.feature-icon-box,
.contact-icon-box,
.stat-icon,
.step-num,
.brand-card,
.faq-icon-box,
.quick-help-icon,
.ambient-halo-target {
  position: relative;
  isolation: isolate;
}

.metric-icon-box::before,
.service-icon-wrap::before,
.service-icon-box::before,
.feature-icon-box::before,
.contact-icon-box::before,
.stat-icon::before,
.step-num::before,
.brand-card::before,
.faq-icon-box::before,
.quick-help-icon::before,
.ambient-halo-target::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1.8px dashed rgba(196, 22, 28, 0.45);
  z-index: -1;
  pointer-events: none;
  animation: continuousHaloRotate 14s linear infinite;
  will-change: transform;
}

.metric-icon-box::after,
.service-icon-wrap::after,
.service-icon-box::after,
.feature-icon-box::after,
.contact-icon-box::after,
.stat-icon::after,
.step-num::after,
.brand-card::after,
.faq-icon-box::after,
.quick-help-icon::after,
.ambient-halo-target::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(196, 22, 28, 0.22) 0%, rgba(220, 38, 38, 0.06) 65%, transparent 85%);
  z-index: -2;
  pointer-events: none;
  animation: iconPulseAmbient 3.5s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

/* 3. Shimmer on Tags and Badges */
.section-tag,
.hero-badge,
.product-badge,
.spec-badge,
.ticker-badge,
.project-sector-tag {
  position: relative;
  overflow: hidden;
}

.section-tag::before,
.hero-badge::before,
.product-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 240%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  z-index: 1;
  animation: textTagShimmer 5s ease-in-out infinite;
  pointer-events: none;
}

/* 4. Button Shimmer Effect */
.btn-primary,
.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #1ebc59;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Hero Section (Compact & Balanced B2B Dimensions)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  background-color: #121820;
  overflow: hidden;
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.2) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(87, 0, 0, 0.92) 0%, rgba(15, 20, 28, 0.95) 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 44px 0;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
}

