/* ══════════════════════════════════════════════════
   ALBASSAMI GROUP — Classic Red/Black Theme
   Restored from www.albassami.sa original design
   ══════════════════════════════════════════════════ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Tajawal:wght@400;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Custom Properties ─── */
:root {
  --r: #C8151B;
  --rd: #8B0C10;
  --rg: #E8353B;
  --rl: #FF6B6B;
  --g: #C9963A;
  --gl: #E8B85A;
  --d: #070707;
  --d2: #0D0D0D;
  --d3: #131313;
  --d4: #1A1A1A;
  --w: #fff;
  --font: 'Cairo', sans-serif;
  /* Aliases for compatibility */
  --c-primary: #070707;
  --c-accent: #C8151B;
  --c-accent-light: #E8353B;
  --c-accent-glow: rgba(200,21,27,0.3);
  --c-bg: #070707;
  --c-bg-dark: #070707;
  --c-bg-card: #131313;
  --c-text: #F0F0F0;
  --c-text-muted: rgba(255,255,255,0.45);
  --c-text-light: #F0F0F0;
  --c-border: rgba(200,21,27,0.12);
  --c-glass: rgba(255,255,255,0.03);
  --c-glass-border: rgba(200,21,27,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 4px 30px rgba(0,0,0,0.5);
  --shadow-elevated: 0 12px 60px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 40px rgba(200,21,27,0.2);
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--d);
  color: var(--w);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

body[dir="ltr"] { font-family: 'Plus Jakarta Sans', sans-serif; }
body[dir="rtl"] { font-family: var(--font); }

a { color: inherit; text-decoration: none; cursor: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; cursor: none; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--r); border-radius: 2px; }

/* ─── Custom Cursor ─── */
.cursor-main {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--r);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
  transform: translate(-50%, -50%);
}

.cursor-trail {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(200,21,27,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              width 0.4s ease, height 0.4s ease;
  transform: translate(-50%, -50%);
}

.cursor-main.hover {
  width: 50px;
  height: 50px;
  background: transparent;
  border: 2px solid var(--r);
  mix-blend-mode: normal;
}

.cursor-trail.hover {
  width: 70px;
  height: 70px;
  border-color: rgba(200,21,27,0.4);
}

.cursor-glow {
  position: fixed;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200,21,27,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

@media (max-width: 768px) {
  .cursor-main, .cursor-trail, .cursor-glow { display: none; }
  body { cursor: auto; }
  body a, body button { cursor: pointer; }
}

/* ─── Scroll Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-rotate {
  opacity: 0;
  transform: perspective(800px) rotateY(12deg) translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-rotate.visible { opacity: 1; transform: perspective(800px) rotateY(0) translateY(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.34s; }
.delay-4 { transition-delay: 0.46s; }
.delay-5 { transition-delay: 0.58s; }
.delay-6 { transition-delay: 0.7s; }

/* ─── 3D Tilt Cards ─── */
.tilt-card { transform-style: preserve-3d; transition: transform var(--transition); }
.tilt-card .tilt-inner { transform: translateZ(30px); transition: transform var(--transition); }

/* ─── Parallax ─── */
.parallax-section { position: relative; overflow: hidden; }
.parallax-bg { position: absolute; top: -20%; left: 0; width: 100%; height: 140%; will-change: transform; }

/* ─── Floating Animations ─── */
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotateX(0); }
  50% { transform: translateY(-18px) rotateX(3deg); }
}
@keyframes float-x {
  0%, 100% { transform: translateX(0) rotateY(0); }
  50% { transform: translateX(14px) rotateY(5deg); }
}
@keyframes float-rotate {
  0% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(3deg) translateY(-8px); }
  50% { transform: rotate(0deg) translateY(-16px); }
  75% { transform: rotate(-3deg) translateY(-6px); }
  100% { transform: rotate(0deg) translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 14px rgba(200,21,27,0.4); }
  50% { box-shadow: 0 0 36px rgba(200,21,27,0.7), 0 0 60px rgba(200,21,27,0.2); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes meshShift {
  0% {
    background:
      radial-gradient(ellipse 80% 60% at 20% 80%, rgba(200,21,27,.18) 0%, transparent 60%),
      radial-gradient(ellipse 60% 80% at 85% 20%, rgba(139,12,16,.22) 0%, transparent 55%),
      radial-gradient(ellipse 50% 50% at 50% 50%, rgba(201,150,58,.06) 0%, transparent 50%);
  }
  100% {
    background:
      radial-gradient(ellipse 80% 60% at 70% 30%, rgba(200,21,27,.15) 0%, transparent 60%),
      radial-gradient(ellipse 60% 80% at 15% 70%, rgba(139,12,16,.20) 0%, transparent 55%),
      radial-gradient(ellipse 50% 50% at 60% 40%, rgba(201,150,58,.08) 0%, transparent 50%);
  }
}
@keyframes accentPulse {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; filter: blur(2px); box-shadow: 0 0 20px var(--r); }
}
@keyframes ldrPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.95); }
}
@keyframes ldrFill {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  30% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); }
  70% { transform: translate(9%, 4%); }
  90% { transform: translate(-1%, 7%); }
}
@keyframes bdot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.7); }
}
@keyframes tick {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.float-y { animation: float-y 6s ease-in-out infinite; }
.float-x { animation: float-x 7s ease-in-out infinite; }
.float-rotate { animation: float-rotate 8s ease-in-out infinite; }

/* ─── Grain Overlay ─── */
.grain-overlay { position: relative; }
.grain-overlay::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
  pointer-events: none;
  z-index: 1;
}

/* ─── Page Loader ─── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .7s, visibility .7s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  width: 72px;
  height: auto;
  margin-bottom: 18px;
  animation: ldrPulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 150px;
  height: 2px;
  background: rgba(255,255,255,.07);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rd), var(--rg));
  animation: ldrFill 2s cubic-bezier(.4,0,.2,1) forwards;
}

/* ─── Scroll Progress ─── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rd), var(--rg));
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  padding: 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000;
  border-bottom: 1px solid rgba(200,21,27,.1);
  transition: all .4s;
}

.navbar.scrolled {
  background: rgba(0,0,0,.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 40px rgba(0,0,0,.6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.nav-logo img {
  height: 40px;
  width: auto;
  filter: brightness(1.1);
  transition: height var(--transition);
}

.navbar.scrolled .nav-logo img { height: 34px; }

.nav-logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.nav-logo-text small {
  display: block;
  font-size: 9px;
  color: rgba(255,255,255,.35);
  letter-spacing: .5px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 0 14px;
  height: 70px;
  line-height: 70px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.58);
  position: relative;
  transition: color .25s;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px; right: 14px;
  height: 2px;
  background: var(--r);
  transform: scaleX(0);
  transition: transform .3s;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-lang {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 3px;
}

.nav-lang a {
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  transition: all .2s;
  border: none;
  background: none;
}

.nav-lang a:hover { color: rgba(255,255,255,.8); }
.nav-lang a.active { background: rgba(200,21,27,.15); color: var(--rg); }

.nav-cta {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--r), var(--rd));
  color: #fff !important;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(200,21,27,.4);
  transition: all .3s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 7px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200,21,27,.6);
  background: linear-gradient(135deg, var(--rg), var(--r));
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  padding: 9px;
  transition: .3s;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: all .35s;
}

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 80px 40px 60px;
  transform: translateX(-100%);
  transition: transform .45s cubic-bezier(.23,1,.32,1);
}

.nav-mobile-overlay.open {
  display: flex;
  transform: translateX(0);
}

.nav-mobile-overlay a {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  padding: 12px 32px;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  transition: all .2s;
  border: 1px solid transparent;
}

.nav-mobile-overlay a:hover {
  color: #fff;
  background: rgba(200,21,27,.1);
  border-color: rgba(200,21,27,.2);
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .navbar { padding: 0 20px; }
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(200,21,27,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(139,12,16,.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(201,150,58,.06) 0%, transparent 50%);
  animation: meshShift 12s ease-in-out infinite alternate;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .025;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(200,21,27,.5) 80px, rgba(200,21,27,.5) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(200,21,27,.5) 80px, rgba(200,21,27,.5) 81px);
}

.hero-float-element {
  position: absolute;
  border-radius: var(--radius-lg);
  z-index: 4;
}

.hero-float-1 {
  top: 15%; right: 8%;
  width: 110px; height: 110px;
  background: linear-gradient(135deg, rgba(200,21,27,.12), rgba(200,21,27,.03));
  border: 1px solid rgba(200,21,27,.08);
  animation: float-y 6s ease-in-out infinite;
  backdrop-filter: blur(8px);
}

.hero-float-2 {
  bottom: 20%; right: 15%;
  width: 75px; height: 75px;
  background: linear-gradient(225deg, rgba(200,21,27,.08), transparent);
  border: 1px solid rgba(200,21,27,.06);
  border-radius: 50%;
  animation: float-x 8s ease-in-out infinite;
}

.hero-float-3 {
  top: 40%; right: 25%;
  width: 190px; height: 190px;
  border: 1px solid rgba(200,21,27,.05);
  border-radius: 50%;
  animation: float-rotate 10s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1300px;
  margin: 0 auto;
  padding: 160px 80px 140px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(201,150,58,.12), rgba(201,150,58,.05));
  border: 1px solid rgba(201,150,58,.22);
  border-radius: 100px;
  margin-bottom: 32px;
  font-size: 11px;
  color: var(--gl);
  font-weight: 700;
  letter-spacing: 1.5px;
  animation: fadeUp .8s .1s both;
  backdrop-filter: blur(6px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gl);
  border-radius: 50%;
  animation: bdot 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(42px, 6.5vw, 78px);
  font-weight: 900;
  color: rgba(255,255,255,.95);
  line-height: 1.04;
  margin-bottom: 16px;
  letter-spacing: -.01em;
  animation: fadeUp .8s .25s both;
}

.hero h1 .shimmer-text,
.hero h1 em {
  font-style: normal;
  display: inline;
  background: linear-gradient(120deg, var(--r) 0%, var(--rg) 40%, var(--rl) 70%, var(--g) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero h1 .accent {
  color: var(--rg);
  -webkit-text-fill-color: var(--rg);
}

.hero-subtitle {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,.5);
  max-width: 540px;
  line-height: 2.1;
  margin-bottom: 44px;
  font-weight: 400;
  animation: fadeUp .8s .5s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .8s .62s both;
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(200,21,27,.12);
  animation: fadeUp .8s .75s both;
}

.hero-stat { text-align: center; }

.hero-stat-number {
  font-family: 'Tajawal', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--rg);
  line-height: 1;
  margin-bottom: 5px;
}

.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: .08em;
}

@media (max-width: 768px) {
  .hero-content { padding: 120px 24px 70px; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .hero-float-1, .hero-float-2, .hero-float-3 { display: none; }
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: linear-gradient(135deg, var(--r), var(--rd));
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(200,21,27,.45);
  transition: all .35s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transition: left .6s;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(200,21,27,.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: transparent;
  color: rgba(255,255,255,.78);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  transition: all .3s;
}

.btn-outline:hover {
  border-color: rgba(200,21,27,.6);
  color: var(--rg);
  transform: translateY(-2px);
}

/* ─── Ticker ─── */
.ticker {
  background: var(--r);
  overflow: hidden;
  padding: 10px 0;
}
.ticker-t {
  display: flex;
  width: max-content;
  animation: tick 32s linear infinite;
}
.ticker-t:hover { animation-play-state: paused; }
.ticker-i {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  padding: 0 28px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 28px;
}
.ticker-i::after { content: '◆'; color: rgba(255,255,255,.35); }

/* ─── Section Common ─── */
.section {
  padding: 100px 64px;
  position: relative;
  background: var(--d);
  color: var(--w);
}

.section-dark {
  background: var(--d2);
}

.section-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--r);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--r);
}

[dir="rtl"] .section-label::before { display: none; }
[dir="rtl"] .section-label::after {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--r);
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 14px;
  color: var(--w);
}

.section-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,.48);
  max-width: 560px;
  line-height: 1.95;
}

@media (max-width: 768px) {
  .section { padding: 80px 24px; }
}

/* ─── Service / Department Cards ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.service-card {
  position: relative;
  padding: 32px 28px;
  background: var(--d3);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .4s;
  transform-style: preserve-3d;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rd), var(--rg));
  opacity: 0;
  transition: opacity .4s;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200,21,27,.22);
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
}
.service-card:hover::before { opacity: 1; }

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(200,21,27,.1);
  border: 1px solid rgba(200,21,27,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: all .4s;
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--r), var(--rd));
  box-shadow: 0 8px 24px rgba(200,21,27,.4);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--w);
}

.service-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,.48);
  line-height: 1.9;
  margin-bottom: 18px;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service-card-tag {
  padding: 5px 13px;
  background: rgba(200,21,27,.08);
  border: 1px solid rgba(200,21,27,.18);
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rg);
  transition: gap .3s;
}
.service-card-link:hover { gap: 12px; }

/* ─── Stats Bar ─── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(200,21,27,.12);
  margin-top: 52px;
}

.stat-item {
  padding: 44px 24px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
  transition: all .4s;
  cursor: default;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rd), var(--rg));
  transform: scaleX(0);
  transition: transform .4s;
}

.stat-item:hover::after { transform: scaleX(1); }

.stat-number {
  font-family: 'Tajawal', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--rg);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.38);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Features / Why Us ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 52px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  background: var(--d3);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: var(--radius-lg);
  transition: all .35s;
}

.feature-card:hover {
  background: rgba(200,21,27,.07);
  border-color: rgba(200,21,27,.2);
  transform: translateY(-3px);
}

[dir="rtl"] .feature-card:hover { transform: translateY(-3px); }

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(200,21,27,.1);
  border: 1px solid rgba(200,21,27,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-card h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--w);
}

.feature-card p {
  font-size: 12.5px;
  color: rgba(255,255,255,.38);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ─── Branches Section ─── */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 52px;
}

.branch-card {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--d3);
  border: 1px solid rgba(255,255,255,.04);
  transition: all .4s;
  overflow: hidden;
  color: var(--w);
}

.branch-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rd), var(--rg));
  transform: scaleX(0);
  transition: transform .5s;
}

.branch-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200,21,27,.22);
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
}
.branch-card:hover::after { transform: scaleX(1); }

.branch-card.hq {
  border-color: rgba(200,21,27,.2);
}

.branch-city {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--w);
}

.branch-detail {
  font-size: 12px;
  color: rgba(255,255,255,.38);
  margin-bottom: 12px;
}

.branch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.branch-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  background: rgba(200,21,27,.08);
  border: 1px solid rgba(200,21,27,.18);
  color: rgba(255,255,255,.62);
}

/* ─── CTA Section ─── */
.cta-section {
  position: relative;
  padding: 100px 40px;
  background: var(--d2);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200,21,27,.1) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  color: var(--w);
  margin-bottom: 18px;
}

.cta-content p {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  margin-bottom: 40px;
  line-height: 1.9;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Contact Form ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 52px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200,21,27,.12);
  background: var(--d3);
  transition: all .3s;
}

.contact-info-card:hover {
  border-color: rgba(200,21,27,.3);
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(200,21,27,.1);
  border: 1px solid rgba(200,21,27,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 10px;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--w);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(200,21,27,.15);
  border-radius: var(--radius-md);
  background: var(--d4);
  font-size: 13px;
  color: var(--w);
  transition: border-color .3s, box-shadow .3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--r);
  box-shadow: 0 0 0 3px rgba(200,21,27,.15);
}

.form-group textarea { min-height: 110px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Footer ─── */
.footer {
  background: var(--d2);
  padding: 80px 64px 30px;
  border-top: 1px solid rgba(200,21,27,.1);
}

.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  line-height: 1.8;
  margin-top: 14px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  color: var(--r);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  transition: color .25s;
}

.footer-col a:hover { color: var(--rg); }

.footer-bottom {
  max-width: 1300px;
  margin: 50px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(200,21,27,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.22);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(200,21,27,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,.3);
  transition: all .3s;
}

.footer-socials a:hover {
  background: var(--r);
  color: #fff;
  border-color: var(--r);
  box-shadow: 0 4px 14px rgba(200,21,27,.4);
}

@media (max-width: 768px) {
  .footer { padding: 60px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* ─── WhatsApp FAB ─── */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: all var(--transition);
  animation: float-y 4s ease-in-out infinite;
}

[dir="rtl"] .whatsapp-fab { right: auto; left: 30px; }

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37,211,102,.45);
}

.whatsapp-fab svg { width: 26px; height: 26px; fill: white; }

/* ─── Department Page Specific ─── */
.dept-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: #000;
  overflow: hidden;
}

.dept-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

@media (max-width: 768px) {
  .dept-features { grid-template-columns: 1fr; }
}

.dept-feature-card {
  padding: 32px 24px;
  background: var(--d3);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.04);
  transition: all .4s;
  text-align: center;
}

.dept-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,21,27,.22);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.dept-feature-icon {
  font-size: 30px;
  margin-bottom: 18px;
}

.dept-feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 9px;
  color: var(--w);
}

.dept-feature-card p {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
}

/* ─── Smooth Counter ─── */
.count-up { display: inline-block; }
