/* =====================================================
   المحترف لصيانة الأبواب الأوتوماتيكية
   Main Stylesheet — Premium Light Professional Design
   v2.0 — Design System: White / Royal Blue / Gold
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Design Tokens ───────────────────────────────── */
:root {
  /* Colors */
  --c-white:        #FFFFFF;
  --c-bg:           #F4FAFF;
  --c-bg-alt:       #F7F9FC;
  --c-surface:      #FFFFFF;
  --c-surface-2:    #EAF3FB;

  --c-blue:         #0878D1;
  --c-blue-dark:    #12345B;
  --c-blue-deep:    #0a2444;
  --c-blue-light:   #EBF5FF;
  --c-blue-mid:     rgba(8,120,209,0.12);
  --c-blue-hover:   #0667b8;

  --c-gold:         #F5B52E;
  --c-gold-dark:    #d99e1a;
  --c-gold-dim:     rgba(245,181,46,0.15);

  --c-text:         #12345B;
  --c-text-body:    #2c4a6e;
  --c-text-muted:   #6b88a8;
  --c-border:       #d8e8f5;
  --c-border-light: #e8f2fb;

  --c-overlay-blue: rgba(8,52,91,0.68);
  --c-overlay-dark: rgba(12,28,50,0.55);

  /* Typography */
  --font-ar:     'Cairo', sans-serif;

  /* Spacing */
  --section-py:  clamp(64px, 8vw, 100px);
  --container-w: 1280px;
  --container-p: clamp(16px, 4vw, 60px);

  /* Radius */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-xs:   0 1px 3px rgba(8,52,91,0.07);
  --shadow-sm:   0 4px 12px rgba(8,52,91,0.08);
  --shadow-md:   0 8px 28px rgba(8,52,91,0.12);
  --shadow-lg:   0 16px 48px rgba(8,52,91,0.16);
  --shadow-xl:   0 24px 64px rgba(8,52,91,0.20);
  --shadow-blue: 0 8px 28px rgba(8,120,209,0.25);
  --shadow-gold: 0 8px 24px rgba(245,181,46,0.30);

  /* Transitions */
  --tr-fast:   0.18s cubic-bezier(0.4,0,0.2,1);
  --tr-base:   0.35s cubic-bezier(0.4,0,0.2,1);
  --tr-slow:   0.7s  cubic-bezier(0.4,0,0.2,1);
  --tr-cinematic: 1.1s cubic-bezier(0.25,0.46,0.45,0.94);

  /* Z-index */
  --z-hero:    1;
  --z-float:   50;
  --z-nav:     100;
  --z-overlay: 200;
  --z-loader:  9999;

  /* Nav */
  --nav-h:     72px;
}

/* ─── Reset & Base ────────────────────────────────── */
*, *::before, *::after {
  box-sizing:  border-box;
  margin:      0;
  padding:     0;
}

html {
  scroll-behavior:        smooth;
  font-size:              16px;
  -webkit-text-size-adjust: 100%;
  overflow-x:             hidden;
}

body {
  font-family:            var(--font-ar);
  background-color:       var(--c-white);
  color:                  var(--c-text-body);
  direction:              rtl;
  overflow-x:             hidden;
  min-height:             100vh;
  line-height:            1.7;
  -webkit-font-smoothing: antialiased;
}

img, video {
  display:   block;
  max-width: 100%;
  height:    auto;
}

a {
  color:           inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor:      pointer;
  border:      none;
  background:  transparent;
}

ul { list-style: none; }

/* ─── Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg-alt); }
::-webkit-scrollbar-thumb { background: var(--c-blue); border-radius: 3px; }

/* ─── Container ───────────────────────────────────── */
.container {
  width:      100%;
  max-width:  var(--container-w);
  margin:     0 auto;
  padding:    0 var(--container-p);
}

/* =====================================================
   PAGE LOADER
   ===================================================== */
#page-loader {
  position:        fixed;
  inset:           0;
  z-index:         var(--z-loader);
  background:      var(--c-white);
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  gap:             20px;
  transition:      opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden {
  opacity:        0;
  visibility:     hidden;
  pointer-events: none;
}
.loader-logo {
  font-size:      clamp(22px, 3vw, 32px);
  font-weight:    800;
  color:          var(--c-blue-dark);
  letter-spacing: 0.03em;
}
.loader-logo span { color: var(--c-blue); }
.loader-bar {
  width:          200px;
  height:         3px;
  background:     var(--c-border);
  border-radius:  3px;
  overflow:       hidden;
}
.loader-bar::after {
  content:       '';
  display:       block;
  height:        100%;
  width:         0%;
  background:    linear-gradient(90deg, var(--c-blue), var(--c-gold));
  border-radius: 3px;
  animation:     loaderFill 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loaderFill {
  0%   { width: 0%; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

/* =====================================================
   CUSTOM CURSOR (Desktop only)
   ===================================================== */
.cursor-dot,
.cursor-ring {
  display:        none;
  position:       fixed;
  pointer-events: none;
  z-index:        var(--z-loader);
  border-radius:  50%;
  opacity:        0;
  transition:     opacity 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    display:    block;
    width:      8px;
    height:     8px;
    background: var(--c-blue);
    transform:  translate(-50%, -50%);
  }
  .cursor-ring {
    display:    block;
    width:      36px;
    height:     36px;
    border:     1.5px solid rgba(8,120,209,0.45);
    transform:  translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
  }
  .cursor-ring.hovered {
    width:        56px;
    height:       56px;
    border-color: rgba(8,120,209,0.8);
  }
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-nav {
  position:                fixed;
  top:                     0;
  right:                   0;
  left:                    0;
  z-index:                 var(--z-nav);
  height:                  var(--nav-h);
  display:                 flex;
  align-items:             center;
  background:              rgba(255, 255, 255, 0.98);
  backdrop-filter:         blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom:           1px solid var(--c-border-light);
  box-shadow:              0 2px 16px rgba(8, 52, 91, 0.06);
  transition:              box-shadow var(--tr-base), background var(--tr-base);
}
.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(8, 52, 91, 0.12);
  background: rgba(255, 255, 255, 0.99);
}

.nav-container {
  width:           100%;
  max-width:       var(--container-w);
  margin:          0 auto;
  padding:         0 var(--container-p);
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             24px;
  height:          100%;
}

/* Logo */
.nav-logo {
  display:         flex;
  align-items:     center;
  gap:             12px;
  flex-shrink:     0;
  text-decoration: none;
}
.nav-logo img {
  height:     44px;
  width:      auto;
  object-fit: contain;
}
.nav-logo-text {
  display:        flex;
  flex-direction: column;
  line-height:    1.25;
}
.nav-logo-text .brand-name {
  font-size:   clamp(15px, 1.3vw, 17px);
  font-weight: 800;
  color:       var(--c-blue-dark);
}
.nav-logo-text .brand-sub {
  font-size:   clamp(11px, 0.85vw, 12px);
  font-weight: 600;
  color:       var(--c-text-muted);
}

/* Desktop links */
.nav-links {
  display:         flex;
  align-items:     center;
  gap:             6px;
  flex:            1;
  justify-content: center;
}
.nav-links a {
  font-size:     14.5px;
  font-weight:   600;
  color:         var(--c-text-body);
  padding:       8px 18px;
  border-radius: var(--radius-full);
  transition:    all var(--tr-fast);
  white-space:   nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color:       var(--c-blue);
  background:  var(--c-blue-light);
}

/* CTA Button */
.btn-nav-cta {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  padding:       10px 22px;
  font-size:     14px;
  font-weight:   700;
  color:         var(--c-blue-dark) !important;
  background:    var(--c-gold);
  border-radius: var(--radius-full);
  box-shadow:    var(--shadow-gold);
  transition:    all var(--tr-fast);
  white-space:   nowrap;
  flex-shrink:   0;
}
.btn-nav-cta .phone-num {
  font-size:  12px;
  font-weight: 700;
  opacity:    0.9;
  direction:  ltr;
}
.btn-nav-cta:hover {
  background:  var(--c-gold-dark);
  transform:   translateY(-2px);
  box-shadow:  0 10px 24px rgba(245, 181, 46, 0.40);
}

/* Mobile Actions & Toggle */
.nav-mobile-actions {
  display:     none;
  align-items: center;
  gap:         8px;
}
.btn-nav-phone-mobile {
  width:           38px;
  height:          38px;
  border-radius:   50%;
  background:      var(--c-blue-light);
  color:           var(--c-blue) !important;
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  font-size:       15px;
  transition:      all var(--tr-fast);
}
.btn-nav-phone-mobile:hover {
  background: var(--c-blue);
  color:      var(--c-white) !important;
}

.nav-toggle {
  display:         none;
  flex-direction:  column;
  justify-content: center;
  align-items:     center;
  width:           42px;
  height:          42px;
  gap:             5px;
  cursor:          pointer;
  border-radius:   var(--radius-sm);
  background:      var(--c-surface-2);
  border:          1px solid var(--c-border);
  transition:      all var(--tr-fast);
  padding:         0;
}
.nav-toggle:hover {
  background:   var(--c-blue-light);
  border-color: var(--c-blue);
}
.nav-toggle span {
  display:       block;
  width:         22px;
  height:        2px;
  background:    var(--c-blue-dark);
  border-radius: 2px;
  transition:    transform var(--tr-fast), opacity var(--tr-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hide mobile menu on desktop completely */
@media (min-width: 769px) {
  .nav-mobile,
  .nav-mobile-overlay {
    display: none !important;
  }
}

/* Mobile Menu Backdrop */
.nav-mobile-overlay {
  position:                fixed;
  inset:                   0;
  background:              rgba(12, 28, 50, 0.45);
  backdrop-filter:         blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index:                 85;
  opacity:                 0;
  visibility:              hidden;
  pointer-events:          none;
  transition:              opacity var(--tr-fast), visibility var(--tr-fast);
}
.nav-mobile-overlay.show {
  opacity:        1;
  visibility:     visible;
  pointer-events: auto;
}

/* Mobile Menu */
.nav-mobile {
  position:       fixed;
  top:            var(--nav-h);
  right:          0;
  left:           0;
  z-index:        90;
  background:     var(--c-white);
  box-shadow:     0 14px 36px rgba(8, 52, 91, 0.16);
  padding:        16px 20px 24px;
  border-bottom:  3px solid var(--c-blue);
  border-top:     1px solid var(--c-border-light);
  opacity:        0;
  visibility:     hidden;
  pointer-events: none;
  transform:      translateY(-12px);
  transition:     opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.nav-mobile.open {
  opacity:        1;
  visibility:     visible;
  pointer-events: auto;
  transform:      translateY(0);
}
.nav-mobile ul {
  display:        flex;
  flex-direction: column;
  gap:            6px;
  margin-bottom:  16px;
}
.nav-mobile ul a {
  display:       flex;
  align-items:   center;
  gap:           12px;
  padding:       12px 16px;
  font-size:     15px;
  font-weight:   600;
  color:         var(--c-text);
  border-radius: var(--radius-sm);
  background:    var(--c-bg);
  transition:    background var(--tr-fast), color var(--tr-fast);
}
.nav-mobile ul a i {
  color:       var(--c-blue);
  width:       20px;
  text-align:  center;
  font-size:   14px;
}
.nav-mobile ul a:hover,
.nav-mobile ul a.active {
  background: var(--c-blue-light);
  color:      var(--c-blue);
}
.btn-call-mobile {
  display:       flex;
  align-items:   center;
  justify-content: center;
  gap:           10px;
  padding:       14px 24px;
  background:    var(--c-blue);
  color:         var(--c-white) !important;
  font-size:     15px;
  font-weight:   700;
  border-radius: var(--radius-full);
  box-shadow:    var(--shadow-blue);
  transition:    background var(--tr-fast), transform var(--tr-fast);
}
.btn-call-mobile:hover {
  background: var(--c-blue-hover);
  transform:  translateY(-1px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position:       relative;
  width:          100%;
  height:         100vh;
  height:         100svh;
  min-height:     600px;
  display:        flex;
  align-items:    flex-start;
  justify-content: flex-start;
  overflow:       hidden;
  background:     var(--c-blue-deep);
}

/* Slides */
.hero-slides {
  position:  absolute;
  inset:     0;
  z-index:   var(--z-hero);
}
.hero-slide {
  position:   absolute;
  inset:      0;
  opacity:    0;
  transition: opacity 1.2s ease;
  overflow:   hidden;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  object-position: center;
  transform:  scale(1.08);
  transition: transform 7s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.hero-slide.active img { transform: scale(1.0); }

/* Overlay */
.hero-slide::after {
  content:    '';
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    105deg,
    rgba(12,28,60,0.80) 0%,
    rgba(8,52,91,0.55) 50%,
    rgba(8,120,209,0.20) 100%
  );
}

/* Hero Content */
.hero-content {
  position:       relative;
  z-index:        10;
  width:          100%;
  max-width:      680px;
  padding-top:    calc(var(--nav-h) + clamp(36px, 7vw, 72px));
  padding-bottom: clamp(80px, 12vw, 140px);
  padding-right:  var(--container-p);
  padding-left:   var(--container-p);
  margin-right:   auto;
  display:        flex;
  flex-direction: column;
  gap:            18px;
  flex-shrink:    0;
}

/* Hero Brand Tag */
.hero-company-tag {
  display:      inline-flex;
  align-items:  center;
  gap:          8px;
  font-size:    14px;
  font-weight:  700;
  color:        var(--c-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-company-tag::before {
  content:       '';
  display:       block;
  width:         28px;
  height:        2px;
  background:    var(--c-gold);
  border-radius: 2px;
}

/* Hero Logo */
.hero-logo {
  margin-bottom: -8px;
}
.hero-logo img { height: 56px; }
.hero-logo-text-fallback {
  font-size:   clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color:       var(--c-white);
}
.hero-logo-text-fallback em {
  color:      var(--c-gold);
  font-style: normal;
}

/* H1 */
.hero-title {
  font-size:   clamp(28px, 4.5vw, 58px);
  font-weight: 900;
  color:       var(--c-white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Sub-title */
.hero-subtitle {
  font-size:   clamp(14px, 1.5vw, 18px);
  font-weight: 600;
  color:       rgba(255,255,255,0.80);
  display:     flex;
  align-items: center;
  gap:         10px;
  flex-wrap:   wrap;
}
.hero-subtitle .sep {
  opacity: 0.5;
  font-size: 0.7em;
}

/* Description */
.hero-description {
  font-size:   clamp(14px, 1.3vw, 17px);
  color:       rgba(255,255,255,0.75);
  max-width:   520px;
  line-height: 1.8;
}

/* Buttons */
.hero-buttons {
  display:   flex;
  gap:       14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn-primary {
  display:     inline-flex;
  align-items: center;
  gap:         10px;
  padding:     14px 30px;
  font-size:   15px;
  font-weight: 700;
  color:       var(--c-white) !important;
  background:  var(--c-blue);
  border-radius: var(--radius-full);
  box-shadow:  var(--shadow-blue);
  transition:  background var(--tr-fast), transform var(--tr-fast), box-shadow var(--tr-fast);
  white-space: nowrap;
  font-family: var(--font-ar);
}
.btn-primary:hover {
  background:  var(--c-blue-hover);
  transform:   translateY(-2px);
  box-shadow:  0 12px 32px rgba(8,120,209,0.35);
}
.btn-primary .phone-num {
  font-size:  13px;
  font-weight: 600;
  opacity:    0.85;
  direction:  ltr;
  display:    inline-block;
}
.btn-secondary {
  display:     inline-flex;
  align-items: center;
  gap:         8px;
  padding:     14px 28px;
  font-size:   15px;
  font-weight: 600;
  color:       var(--c-white) !important;
  background:  transparent;
  border:      2px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-full);
  transition:  background var(--tr-fast), border-color var(--tr-fast), transform var(--tr-fast);
  white-space: nowrap;
  font-family: var(--font-ar);
}
.btn-secondary:hover {
  background:    rgba(255,255,255,0.15);
  border-color:  rgba(255,255,255,0.9);
  transform:     translateY(-2px);
}

/* Hero Floating Cards */
.hero-floats {
  position:  absolute;
  z-index:   15;
  bottom:    clamp(60px, 10vw, 100px);
  left:      var(--container-p);
  display:   flex;
  gap:       12px;
  flex-wrap: wrap;
}
.hero-float-card {
  display:       flex;
  align-items:   center;
  gap:           10px;
  padding:       12px 18px;
  background:    rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  box-shadow:    0 8px 24px rgba(8,52,91,0.18);
  border:        1px solid rgba(255,255,255,0.6);
  animation:     floatCard 3s ease-in-out infinite;
  cursor:        default;
  transition:    transform var(--tr-fast), box-shadow var(--tr-fast);
}
.hero-float-card:nth-child(2) { animation-delay: 0.8s; }
.hero-float-card:nth-child(3) { animation-delay: 1.6s; }
.hero-float-card:nth-child(4) { animation-delay: 2.4s; }
.hero-float-card:hover {
  transform:  translateY(-4px);
  box-shadow: 0 14px 32px rgba(8,52,91,0.22);
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
.float-icon {
  width:         38px;
  height:        38px;
  border-radius: var(--radius-sm);
  background:    var(--c-blue-light);
  display:       flex;
  align-items:   center;
  justify-content: center;
  flex-shrink:   0;
  color:         var(--c-blue);
  font-size:     16px;
}
.float-text .float-title {
  font-size:   13px;
  font-weight: 700;
  color:       var(--c-blue-dark);
  white-space: nowrap;
}
.float-text .float-sub {
  font-size: 11px;
  color:     var(--c-text-muted);
  white-space: nowrap;
}

/* Slide Indicators */
.hero-indicators {
  position:    absolute;
  bottom:      clamp(20px, 4vw, 36px);
  right:       var(--container-p);
  z-index:     15;
  display:     flex;
  align-items: center;
  gap:         10px;
}
.hero-dots { display: flex; gap: 6px; }
.hero-dot {
  width:         8px;
  height:        8px;
  border-radius: 50%;
  background:    rgba(255,255,255,0.40);
  cursor:        pointer;
  transition:    background var(--tr-base), width var(--tr-base);
  border:        none;
}
.hero-dot.active {
  background: var(--c-gold);
  width:      24px;
  border-radius: var(--radius-full);
}
.slide-number {
  font-size:   12px;
  font-weight: 600;
  color:       rgba(255,255,255,0.6);
}
.slide-number.current { color: var(--c-gold); }

/* Scroll hint */
.hero-scroll {
  position:    absolute;
  bottom:      32px;
  left:        50%;
  transform:   translateX(-50%);
  z-index:     15;
  display:     flex;
  flex-direction: column;
  align-items: center;
  gap:         8px;
  color:       rgba(255,255,255,0.5);
  font-size:   11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  animation:   scrollBounce 2s ease-in-out infinite;
}
.scroll-line {
  width:      1.5px;
  height:     40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  border-radius: 2px;
}
@keyframes scrollBounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.5; transform: translateX(-50%) translateY(6px); }
}

/* =====================================================
   MARQUEE BAR
   ===================================================== */
.marquee-bar {
  background:   var(--c-blue-dark);
  padding:      0;
  overflow:     hidden;
  position:     relative;
  white-space:  nowrap;
  border-top:   3px solid var(--c-gold);
}
.marquee-inner {
  overflow: hidden;
  padding:  14px 0;
}
.marquee-track {
  display:         inline-flex;
  gap:             0;
  animation:       marqueeRTL 28s linear infinite;
  will-change:     transform;
}
.marquee-item {
  font-size:      13px;
  font-weight:    600;
  color:          rgba(255,255,255,0.85);
  padding:        0 24px;
  letter-spacing: 0.02em;
}
.marquee-sep {
  color:    var(--c-gold);
  font-size: 16px;
  line-height: 1;
  align-self: center;
}
@keyframes marqueeRTL {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================
   FEATURES BAR
   ===================================================== */
.features-bar {
  background:   var(--c-white);
  padding:      clamp(40px, 6vw, 64px) 0;
  border-bottom: 1px solid var(--c-border-light);
}
.features-grid {
  display:   grid;
  grid-template-columns: repeat(4, 1fr);
  gap:       1px;
  background: var(--c-border-light);
  border-radius: var(--radius-lg);
  overflow:  hidden;
  box-shadow: var(--shadow-sm);
}
.feature-item {
  display:        flex;
  align-items:    flex-start;
  gap:            16px;
  padding:        28px 24px;
  background:     var(--c-white);
  transition:     background var(--tr-fast);
  position:       relative;
}
.feature-item:not(:last-child)::after {
  content:  '';
  position: absolute;
  top:      20%;
  left:     0;
  height:   60%;
  width:    1px;
  background: var(--c-border-light);
}
.feature-item:hover { background: var(--c-bg); }
.feature-icon-wrap {
  width:           48px;
  height:          48px;
  border-radius:   var(--radius-md);
  background:      var(--c-blue-light);
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
  color:           var(--c-blue);
  font-size:       20px;
  transition:      background var(--tr-base), color var(--tr-base);
}
.feature-item:hover .feature-icon-wrap {
  background: var(--c-blue);
  color:      var(--c-white);
}
.feature-text .feature-title {
  font-size:   16px;
  font-weight: 700;
  color:       var(--c-text);
  margin-bottom: 4px;
}
.feature-text .feature-desc {
  font-size: 13px;
  color:     var(--c-text-muted);
  line-height: 1.5;
}

/* =====================================================
   SECTION COMMONS
   ===================================================== */
.section-header {
  text-align:    center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-label {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  font-size:      13px;
  font-weight:    700;
  color:          var(--c-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom:  12px;
}
.section-label::before,
.section-label::after {
  content:       '';
  display:       block;
  width:         24px;
  height:        2px;
  background:    var(--c-blue);
  border-radius: 2px;
}
.section-title {
  font-size:   clamp(26px, 3.5vw, 44px);
  font-weight: 900;
  color:       var(--c-text);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title span { color: var(--c-blue); }
.section-subtitle {
  font-size:  clamp(14px, 1.3vw, 17px);
  color:      var(--c-text-muted);
  max-width:  580px;
  margin:     0 auto;
  line-height: 1.8;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-section {
  padding:    var(--section-py) 0;
  background: var(--c-bg);
}

.services-showcase {
  position: relative;
}

/* Services Tab Nav */
.services-nav {
  display:         flex;
  gap:             8px;
  flex-wrap:       wrap;
  justify-content: center;
  margin-bottom:   40px;
}
.service-tab {
  display:     inline-flex;
  align-items: center;
  gap:         8px;
  padding:     10px 20px;
  font-size:   14px;
  font-weight: 600;
  color:       var(--c-text-muted);
  background:  var(--c-white);
  border:      1.5px solid var(--c-border);
  border-radius: var(--radius-full);
  cursor:      pointer;
  transition:  all var(--tr-fast);
  font-family: var(--font-ar);
}
.service-tab:hover {
  color:        var(--c-blue);
  border-color: var(--c-blue);
  background:   var(--c-blue-light);
}
.service-tab.active {
  color:       var(--c-white);
  background:  var(--c-blue);
  border-color: var(--c-blue);
  box-shadow:  var(--shadow-blue);
}
.service-tab i { font-size: 13px; }

/* Services Horizontal Slider */
.services-slider-wrap {
  position:   relative;
  overflow:   hidden;
}
.services-slider {
  display:     flex;
  gap:         20px;
  padding:     16px 4px 24px;
  overflow-x:  auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.services-slider::-webkit-scrollbar { display: none; }

/* Service Card */
.service-card {
  flex:          0 0 clamp(280px, 30vw, 340px);
  scroll-snap-align: start;
  background:    var(--c-white);
  border-radius: var(--radius-lg);
  overflow:      hidden;
  box-shadow:    var(--shadow-sm);
  border:        1.5px solid var(--c-border-light);
  transition:    transform var(--tr-base), box-shadow var(--tr-base), border-color var(--tr-base);
  cursor:        pointer;
  display:       flex;
  flex-direction: column;
  position:      relative;
}
.service-card:hover,
.service-card.featured {
  transform:    translateY(-8px);
  box-shadow:   var(--shadow-lg);
  border-color: var(--c-blue);
}
.service-card.featured {
  flex:         0 0 clamp(300px, 32vw, 380px);
  border-color: var(--c-blue);
  box-shadow:   var(--shadow-blue);
}

/* Card Image */
.service-card-image {
  position:   relative;
  height:     clamp(180px, 20vw, 230px);
  overflow:   hidden;
  background: var(--c-blue-light);
}
.service-card-image img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.service-card:hover .service-card-image img {
  transform: scale(1.07);
}
.service-card-image .no-img {
  display:        flex;
  align-items:    center;
  justify-content: center;
  width:          100%;
  height:         100%;
  font-size:      48px;
  color:          var(--c-blue);
  opacity:        0.4;
}
.service-card-badge {
  position:      absolute;
  top:           14px;
  right:         14px;
  padding:       5px 12px;
  background:    var(--c-blue);
  color:         var(--c-white);
  font-size:     11px;
  font-weight:   700;
  border-radius: var(--radius-full);
}

/* Card Body */
.service-card-body {
  padding:        22px;
  flex:           1;
  display:        flex;
  flex-direction: column;
  gap:            12px;
}
.service-card-icon {
  width:           44px;
  height:          44px;
  border-radius:   var(--radius-md);
  background:      var(--c-blue-light);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--c-blue);
  font-size:       18px;
}
.service-card .card-title {
  font-size:   17px;
  font-weight: 800;
  color:       var(--c-text);
}
.service-card .card-desc {
  font-size:   13.5px;
  color:       var(--c-text-muted);
  line-height: 1.7;
  flex:        1;
}
.service-card-actions {
  display:  flex;
  gap:      10px;
  flex-wrap: wrap;
}
.btn-card-detail {
  flex:          1;
  display:       inline-flex;
  align-items:   center;
  justify-content: center;
  gap:           6px;
  padding:       10px 14px;
  font-size:     13px;
  font-weight:   600;
  color:         var(--c-blue);
  background:    var(--c-blue-light);
  border-radius: var(--radius-sm);
  transition:    background var(--tr-fast), color var(--tr-fast);
  font-family:   var(--font-ar);
  border:        none;
  cursor:        pointer;
}
.btn-card-detail:hover {
  background: var(--c-blue);
  color:      var(--c-white);
}
.btn-card-call {
  display:       inline-flex;
  align-items:   center;
  gap:           6px;
  padding:       10px 16px;
  font-size:     13px;
  font-weight:   700;
  color:         var(--c-white) !important;
  background:    var(--c-blue);
  border-radius: var(--radius-sm);
  transition:    background var(--tr-fast), transform var(--tr-fast);
  white-space:   nowrap;
  font-family:   var(--font-ar);
}
.btn-card-call:hover {
  background:  var(--c-blue-hover);
  transform:   translateY(-1px);
}

/* Slider Controls */
.slider-controls {
  display:        flex;
  align-items:    center;
  justify-content: center;
  gap:            12px;
  margin-top:     20px;
}
.slider-btn {
  width:           44px;
  height:          44px;
  border-radius:   50%;
  background:      var(--c-white);
  border:          1.5px solid var(--c-border);
  color:           var(--c-text-muted);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       16px;
  cursor:          pointer;
  transition:      all var(--tr-fast);
  box-shadow:      var(--shadow-xs);
}
.slider-btn:hover {
  background:    var(--c-blue);
  border-color:  var(--c-blue);
  color:         var(--c-white);
  box-shadow:    var(--shadow-blue);
}
.slider-dots {
  display: flex;
  gap:     6px;
}
.slider-dot {
  width:         8px;
  height:        8px;
  border-radius: 50%;
  background:    var(--c-border);
  cursor:        pointer;
  transition:    all var(--tr-fast);
  border:        none;
}
.slider-dot.active {
  background:    var(--c-blue);
  width:         22px;
  border-radius: var(--radius-full);
}

/* Services CTA link */
.services-cta-link {
  display:     inline-flex;
  align-items: center;
  gap:         8px;
  font-size:   14px;
  font-weight: 700;
  color:       var(--c-blue);
  padding:     10px 20px;
  border:      1.5px solid var(--c-blue);
  border-radius: var(--radius-full);
  transition:  all var(--tr-fast);
}
.services-cta-link:hover {
  background: var(--c-blue);
  color:      var(--c-white) !important;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
  padding:    var(--section-py) 0;
  background: var(--c-white);
  overflow:   hidden;
}
.about-container {
  display:     grid;
  grid-template-columns: 1fr 1fr;
  gap:         clamp(40px, 6vw, 80px);
  align-items: center;
  max-width:   var(--container-w);
  margin:      0 auto;
  padding:     0 var(--container-p);
}

/* Image side */
.about-image-side {
  position: relative;
}
.about-img-main {
  width:         100%;
  height:        clamp(380px, 50vw, 560px);
  object-fit:    cover;
  border-radius: var(--radius-xl);
  box-shadow:    var(--shadow-xl);
}
.about-badge {
  position:        absolute;
  bottom:          -20px;
  left:            -20px;
  background:      var(--c-blue);
  color:           var(--c-white);
  padding:         20px 24px;
  border-radius:   var(--radius-lg);
  text-align:      center;
  font-size:       13px;
  font-weight:     700;
  box-shadow:      var(--shadow-blue);
  line-height:     1.4;
}
.about-badge strong { font-size: 26px; display: block; margin-bottom: 4px; }
.about-badge i { font-size: 22px; margin-bottom: 6px; display: block; }

/* Text side */
.about-text-side { }
.about-title {
  font-size:   clamp(24px, 3vw, 38px);
  font-weight: 900;
  color:       var(--c-text);
  line-height: 1.25;
  margin-bottom: 20px;
}
.about-desc {
  font-size:   clamp(14px, 1.2vw, 16px);
  color:       var(--c-text-muted);
  line-height: 1.9;
  margin-bottom: 28px;
}
.about-features {
  display:   flex;
  flex-direction: column;
  gap:       10px;
  margin-bottom: 28px;
}
.about-features li {
  display:     flex;
  align-items: center;
  gap:         12px;
  font-size:   14px;
  font-weight: 600;
  color:       var(--c-text-body);
}
.about-features li::before {
  content:         '';
  width:           8px;
  height:          8px;
  border-radius:   50%;
  background:      var(--c-blue);
  flex-shrink:     0;
}

/* About Mini Features */
.about-mini-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:     16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border-light);
}
.mini-feature {
  text-align: center;
  padding:    16px 12px;
  background: var(--c-bg);
  border-radius: var(--radius-md);
  border:     1px solid var(--c-border-light);
  transition: all var(--tr-fast);
}
.mini-feature:hover {
  background:   var(--c-blue-light);
  border-color: var(--c-blue);
}
.mini-feature i {
  font-size:    22px;
  color:        var(--c-blue);
  margin-bottom: 8px;
  display:      block;
}
.mini-feature .mf-title {
  font-size:   13px;
  font-weight: 700;
  color:       var(--c-text);
  margin-bottom: 4px;
}
.mini-feature .mf-sub {
  font-size: 11.5px;
  color:     var(--c-text-muted);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  position:   relative;
  overflow:   hidden;
  padding:    clamp(80px, 10vw, 120px) 0;
}
.cta-bg {
  position: absolute;
  inset:    0;
  z-index:  0;
}
.cta-bg img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  object-position: center;
}
.cta-bg::after {
  content:    '';
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    135deg,
    rgba(10,36,68,0.90) 0%,
    rgba(8,120,209,0.75) 100%
  );
}
.cta-content {
  position:     relative;
  z-index:      5;
  text-align:   center;
  max-width:    600px;
  margin:       0 auto;
  padding:      0 var(--container-p);
  display:      flex;
  flex-direction: column;
  align-items:  center;
  gap:          20px;
}
.cta-label {
  font-size:      13px;
  font-weight:    700;
  color:          var(--c-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cta-title {
  font-size:   clamp(28px, 4vw, 48px);
  font-weight: 900;
  color:       var(--c-white);
  line-height: 1.2;
}
.cta-desc {
  font-size:   clamp(14px, 1.3vw, 17px);
  color:       rgba(255,255,255,0.80);
  line-height: 1.8;
}
.btn-cta-call {
  display:      inline-flex;
  align-items:  center;
  gap:          12px;
  padding:      18px 40px;
  font-size:    17px;
  font-weight:  800;
  color:        var(--c-blue-dark) !important;
  background:   var(--c-gold);
  border-radius: var(--radius-full);
  box-shadow:   var(--shadow-gold);
  transition:   transform var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast);
  animation:    ctaPulse 2.5s ease-in-out infinite;
  font-family:  var(--font-ar);
}
.btn-cta-call:hover {
  transform:   translateY(-3px) scale(1.02);
  background:  var(--c-gold-dark);
  box-shadow:  0 16px 40px rgba(245,181,46,0.50);
  animation:   none;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(245,181,46,0.30); }
  50%       { box-shadow: 0 12px 36px rgba(245,181,46,0.55); }
}
.cta-phone {
  font-size:   clamp(22px, 3vw, 32px);
  font-weight: 900;
  color:       var(--c-white) !important;
  direction:   ltr;
  display:     inline-block;
  letter-spacing: 0.03em;
  transition:  color var(--tr-fast);
}
.cta-phone:hover { color: var(--c-gold) !important; }

.cta-services-list {
  display:   flex;
  gap:       12px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-service-tag {
  display:     inline-flex;
  align-items: center;
  gap:         6px;
  padding:     8px 16px;
  background:  rgba(255,255,255,0.12);
  border:      1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size:   13px;
  font-weight: 600;
  color:       rgba(255,255,255,0.90);
  backdrop-filter: blur(8px);
}
.cta-service-tag i { color: var(--c-gold); font-size: 12px; }

/* =====================================================
   CONTACT STRIP
   ===================================================== */
.contact-strip {
  background:  var(--c-blue-dark);
  padding:     clamp(48px, 7vw, 80px) var(--container-p);
  text-align:  center;
  display:     flex;
  flex-direction: column;
  align-items: center;
  gap:         16px;
}
.contact-strip h2 {
  font-size:   clamp(22px, 3vw, 36px);
  font-weight: 900;
  color:       var(--c-white);
}
.contact-strip p {
  font-size: clamp(14px, 1.3vw, 17px);
  color:     rgba(255,255,255,0.70);
}
.contact-phone-big {
  font-size:      clamp(28px, 5vw, 52px);
  font-weight:    900;
  color:          var(--c-gold) !important;
  direction:      ltr;
  display:        inline-block;
  letter-spacing: 0.03em;
  transition:     color var(--tr-fast);
  margin-top:     8px;
}
.contact-phone-big:hover { color: var(--c-white) !important; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--c-blue-deep);
  color:      rgba(255,255,255,0.75);
  padding:    clamp(48px, 7vw, 80px) var(--container-p) 0;
}
.footer-main {
  max-width:           var(--container-w);
  margin:              0 auto;
  display:             grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap:                 clamp(32px, 5vw, 60px);
  padding-bottom:      clamp(40px, 5vw, 60px);
  border-bottom:       1px solid rgba(255,255,255,0.10);
}

/* Brand */
.footer-brand { }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 44px; width: auto; }
.footer-logo-text {
  font-size:   clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  color:       var(--c-white);
  line-height: 1.2;
}
.footer-logo-text span {
  display:     block;
  font-size:   0.7em;
  font-weight: 400;
  color:       rgba(255,255,255,0.55);
  margin-top:  3px;
}
.footer-desc {
  font-size:   14px;
  color:       rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-phone {
  display:     inline-flex;
  align-items: center;
  gap:         10px;
  font-size:   18px;
  font-weight: 700;
  color:       var(--c-gold) !important;
  direction:   ltr;
  margin-bottom: 14px;
  transition:  color var(--tr-fast);
}
.footer-phone:hover { color: var(--c-white) !important; }
.footer-call-btn {
  display:     inline-flex;
  align-items: center;
  gap:         8px;
  padding:     12px 24px;
  background:  var(--c-blue);
  color:       var(--c-white) !important;
  font-size:   14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition:  background var(--tr-fast), transform var(--tr-fast);
  font-family: var(--font-ar);
}
.footer-call-btn:hover {
  background: var(--c-gold);
  color:      var(--c-blue-dark) !important;
  transform:  translateY(-2px);
}

/* Cols */
.footer-col h4 {
  font-size:     15px;
  font-weight:   800;
  color:         var(--c-white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom:  1px solid rgba(255,255,255,0.10);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size:   14px;
  color:       rgba(255,255,255,0.60);
  transition:  color var(--tr-fast), padding-right var(--tr-fast);
  display:     flex;
  align-items: center;
  gap:         8px;
}
.footer-links a::before {
  content:   '←';
  font-size: 11px;
  opacity:   0;
  transition: opacity var(--tr-fast), transform var(--tr-fast);
  transform:  translateX(4px);
}
.footer-links a:hover {
  color:         var(--c-gold);
  padding-right: 4px;
}
.footer-links a:hover::before {
  opacity:   1;
  transform: translateX(0);
}

/* Bottom Bar */
.footer-bottom {
  max-width: var(--container-w);
  margin:    0 auto;
  padding:   20px 0;
  display:   flex;
  align-items: center;
  justify-content: center;
}
.footer-copy {
  font-size: 13px;
  color:     rgba(255,255,255,0.35);
  text-align: center;
}

/* =====================================================
   FLOATING CALL BUTTON (Mobile)
   ===================================================== */
.floating-call {
  position:      fixed;
  bottom:        24px;
  left:          24px;
  z-index:       var(--z-float);
  display:       none;
  align-items:   center;
  gap:           10px;
  padding:       14px 22px;
  background:    var(--c-blue);
  color:         var(--c-white) !important;
  font-size:     14px;
  font-weight:   700;
  border-radius: var(--radius-full);
  box-shadow:    var(--shadow-blue);
  transition:    transform var(--tr-fast), box-shadow var(--tr-fast);
  animation:     floatingPulse 2.5s ease-in-out infinite;
  font-family:   var(--font-ar);
}
.floating-call:hover {
  transform:   translateY(-3px) scale(1.03);
  box-shadow:  0 14px 36px rgba(8,120,209,0.45);
  animation:   none;
}
@keyframes floatingPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(8,120,209,0.35); }
  50%       { box-shadow: 0 12px 40px rgba(8,120,209,0.55); }
}

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal,
.reveal-left,
.reveal-right {
  opacity:    0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal         { transform: translateY(30px); }
.reveal-left    { transform: translateX(-40px); }
.reveal-right   { transform: translateX(40px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity:   1;
  transform: none;
}
.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.30s !important; }
.delay-3 { transition-delay: 0.45s !important; }
.delay-4 { transition-delay: 0.60s !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-slide img,
  .hero-float-card,
  .floating-call,
  .btn-cta-call {
    animation: none !important;
    transition: none !important;
  }
}

/* =====================================================
   RESPONSIVE — TABLET
   ===================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-side { order: -1; }
  .about-img-main { height: 340px; }
  .about-badge { bottom: -16px; left: -12px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Nav */
  .nav-links { display: none !important; }
  .btn-nav-cta { display: none !important; }
  .nav-mobile-actions { display: flex !important; }
  .nav-toggle { display: flex !important; }
  .nav-container { padding: 0 16px; gap: 12px; }
  .nav-logo { min-width: 0; flex: 1; gap: 8px; }
  .nav-logo-text { overflow: hidden; min-width: 0; }
  .nav-logo-text .brand-name {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-logo-text .brand-sub {
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Hero */
  .hero {
    height:     100vh;
    height:     100svh;
    min-height: 560px;
  }
  .hero-content {
    max-width:      100%;
    margin-right:   0;
    margin-left:    0;
    padding-top:    calc(var(--nav-h) + 24px);
    padding-right:  20px;
    padding-left:   20px;
    padding-bottom: 160px;
  }
  .hero-floats {
    bottom:    16px;
    left:      16px;
    right:     16px;
  }
  .hero-float-card {
    padding: 10px 14px;
  }
  .float-icon { width: 32px; height: 32px; font-size: 13px; }
  .float-text .float-title { font-size: 12px; }
  .float-text .float-sub   { font-size: 10px; }
  .hero-scroll { display: none; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-item:nth-child(odd)::after { display: none; }

  /* Services */
  .services-nav {
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .services-nav::-webkit-scrollbar { display: none; }
  .service-tab { flex-shrink: 0; font-size: 13px; padding: 8px 16px; }
  .service-card { flex: 0 0 280px; }
  .service-card.featured { flex: 0 0 300px; }

  /* About */
  .about-mini-features { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr; }

  /* Floating Call */
  .floating-call { display: inline-flex; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .about-mini-features { grid-template-columns: 1fr; }
  .hero-floats { flex-direction: row; overflow-x: auto; }
  .hero-float-card { flex-shrink: 0; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .cta-services-list { display: none; }
  .footer-main { gap: 24px; }
}

/* ─── Prevent Horizontal Overflow ─────────────────── */
img, video, iframe, table { max-width: 100%; }
