/* ===================================================
   MEDICAL FLUX — Premium Design System
   Ultra-modern medical technology corporate CSS
   =================================================== */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* === CSS VARIABLES === */
:root {
  /* Brand Colors */
  --midnight: #0F1214;
  --midnight-light: #1A1D21;
  --midnight-lighter: #252930;
  --iron: #9A9EA0;
  --iron-light: #B8BBBE;
  --iron-dark: #6B6F72;
  --white: #FFFFFF;
  --white-off: #F8F9FA;
  --white-warm: #FAFAFA;
  --fire: #C61D23;
  --fire-dark: #A01820;
  --fire-light: #E8353B;
  --fire-glow: rgba(198, 29, 35, 0.15);
  --fire-subtle: rgba(198, 29, 35, 0.08);

  /* Gradients */
  --grad-midnight: linear-gradient(135deg, #0F1214 0%, #1A1D21 50%, #0F1214 100%);
  --grad-fire: linear-gradient(135deg, #C61D23 0%, #E8353B 100%);
  --grad-fire-dark: linear-gradient(135deg, #A01820 0%, #C61D23 100%);
  --grad-hero: linear-gradient(180deg, rgba(15,18,20,0.92) 0%, rgba(15,18,20,0.7) 40%, rgba(15,18,20,0.85) 100%);
  --grad-card: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  --grad-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);

  /* Typography */
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ar: 'Cairo', 'IBM Plex Arabic', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 64px rgba(0,0,0,0.16);
  --shadow-fire: 0 4px 24px rgba(198, 29, 35, 0.25);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.12);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-base: 0.3s var(--ease-smooth);
  --transition-slow: 0.5s var(--ease-smooth);

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 960px;
  --header-height: 80px;

  /* Z-Index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 500;
  --z-overlay: 900;
  --z-modal: 1000;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.7;
  color: var(--midnight);
  background: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

::selection {
  background: var(--fire);
  color: var(--white);
}

/* === UTILS === */
.mobile-only {
  display: none !important;
}
@media (max-width: 768px) {
  .mobile-only {
    display: block !important;
  }
  .desktop-only {
    display: none !important;
  }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--midnight);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.text-iron { color: var(--iron); }
.text-fire { color: var(--fire); }
.text-white { color: var(--white); }
.text-light { color: var(--iron-light); }

.subtitle {
  font-size: 1.125rem;
  color: var(--iron);
  line-height: 1.8;
  font-weight: 400;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fire);
  margin-bottom: var(--space-lg);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fire);
}

body[dir="rtl"] .section-label::before {
  order: 1;
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--iron);
  max-width: 640px;
  line-height: 1.8;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  max-width: var(--container-wide);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-5xl) 0;
}

.section-dark {
  background: var(--midnight);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--white);
}

.section-dark .section-desc,
.section-dark .subtitle {
  color: var(--iron-light);
}

.section-gray {
  background: var(--white-off);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid {
  display: grid;
}

.text-center {
  text-align: center;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  transition: all var(--transition-base);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--space-2xl);
  max-width: var(--container-wide);
  margin: 0 auto;
}

.header.transparent {
  background: transparent;
}

.header.transparent .nav-link {
  color: var(--white);
}

.header.transparent .nav-link:hover,
.header.transparent .nav-link.active {
  color: var(--fire);
}

.header.scrolled {
  background: rgba(15, 18, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header.scrolled .nav-link {
  color: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: var(--z-modal);
}

.logo img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-medical {
  color: var(--white);
  font-weight: 300;
  font-size: 0.625rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: block;
  margin-top: -4px;
  opacity: 0.7;
}

/* Logo SVG */
.logo-svg {
  height: 40px;
  width: auto;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--iron);
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--fire);
  transition: width var(--transition-base);
}

body[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--fire);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: var(--z-modal);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: rgba(255,255,255,0.05);
}

.lang-switch:hover {
  border-color: var(--fire);
  color: var(--fire);
}

.lang-switch svg {
  width: 16px;
  height: 16px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-fire);
  color: var(--white);
  box-shadow: var(--shadow-fire);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(198, 29, 35, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  border-color: var(--fire);
  color: var(--fire);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--midnight);
  border: 1.5px solid rgba(15,18,20,0.15);
}

.btn-outline-dark:hover {
  border-color: var(--fire);
  color: var(--fire);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--midnight);
}

.btn-white:hover {
  background: var(--white-off);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 56px;
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--midnight);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 2;
}

/* Animated pattern circles (from brand) */
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(198, 29, 35, 0.08);
  animation: pulse-circle 8s ease-in-out infinite;
}

.hero-circle:nth-child(1) {
  width: 200px; height: 200px;
  top: 50%; left: 70%;
  transform: translate(-50%,-50%);
  animation-delay: 0s;
}

.hero-circle:nth-child(2) {
  width: 350px; height: 350px;
  top: 50%; left: 70%;
  transform: translate(-50%,-50%);
  animation-delay: 0.5s;
}

.hero-circle:nth-child(3) {
  width: 500px; height: 500px;
  top: 50%; left: 70%;
  transform: translate(-50%,-50%);
  animation-delay: 1s;
}

.hero-circle:nth-child(4) {
  width: 650px; height: 650px;
  top: 50%; left: 70%;
  transform: translate(-50%,-50%);
  animation-delay: 1.5s;
}

.hero-circle:nth-child(5) {
  width: 800px; height: 800px;
  top: 50%; left: 70%;
  transform: translate(-50%,-50%);
  animation-delay: 2s;
}

.hero-circle:nth-child(6) {
  width: 950px; height: 950px;
  top: 50%; left: 70%;
  transform: translate(-50%,-50%);
  animation-delay: 2.5s;
}

@keyframes pulse-circle {
  0%, 100% { opacity: 0.3; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%,-50%) scale(1.03); }
}

/* Laser beam animation */
.hero-laser {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.laser-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fire), transparent);
  opacity: 0.3;
  animation: laser-sweep 6s ease-in-out infinite;
}

.laser-line:nth-child(1) {
  top: 30%; width: 60%; left: 20%;
  animation-delay: 0s;
}

.laser-line:nth-child(2) {
  top: 50%; width: 40%; left: 35%;
  animation-delay: 2s;
}

.laser-line:nth-child(3) {
  top: 70%; width: 50%; left: 25%;
  animation-delay: 4s;
}

@keyframes laser-sweep {
  0%, 100% { opacity: 0; transform: scaleX(0); }
  50% { opacity: 0.4; transform: scaleX(1); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding-top: var(--header-height);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  color: var(--fire);
}

.hero .hero-subtitle {
  font-size: 1.1875rem;
  color: var(--iron-light);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--iron);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce-scroll 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--fire), transparent);
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card-dark {
  background: var(--midnight-light);
  border-color: rgba(255,255,255,0.06);
}

.card-dark:hover {
  border-color: rgba(198, 29, 35, 0.2);
  background: var(--midnight-lighter);
}

.card-glass {
  background: var(--grad-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

.card-glass:hover {
  border-color: rgba(198, 29, 35, 0.3);
}

/* Icon card */
.icon-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.icon-card .card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: var(--fire-subtle);
  transition: all var(--transition-base);
}

.icon-card:hover .card-icon {
  background: var(--fire);
  transform: scale(1.05);
}

.icon-card .card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--fire);
  transition: color var(--transition-fast);
}

.icon-card:hover .card-icon svg {
  color: var(--white);
}

.icon-card h4 {
  margin-bottom: var(--space-sm);
}

.icon-card p {
  color: var(--iron);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* === PRODUCT CARDS === */
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--white-off);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--fire);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
}

body[dir="rtl"] .product-card-badge {
  left: auto;
  right: 12px;
}

.product-card-body {
  padding: var(--space-xl);
}

.product-card-body h4 {
  margin-bottom: 6px;
  font-size: 1.0625rem;
}

.product-card-body p {
  color: var(--iron);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.product-card-actions {
  display: flex;
  gap: 8px;
}

/* === SERVICE CARDS === */
.service-card {
  position: relative;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all var(--transition-base);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--fire);
  transition: height var(--transition-base);
}

body[dir="rtl"] .service-card::before {
  left: auto;
  right: 0;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(198, 29, 35, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fire-subtle);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--fire);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--fire);
  transition: color var(--transition-fast);
}

.service-card:hover .service-icon svg {
  color: var(--white);
}

.service-card h4 {
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--iron);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* === WORLD MAP === */
.world-map-section {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

.world-map-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
}

.map-svg-container {
  position: relative;
  width: 100%;
}

.map-point {
  position: absolute;
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.map-point-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fire);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 12px rgba(198, 29, 35, 0.6);
}

.map-point-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--fire);
  transform: translate(-50%,-50%);
  animation: map-pulse 2s ease-out infinite;
}

@keyframes map-pulse {
  0% { opacity: 1; transform: translate(-50%,-50%) scale(0.5); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(2); }
}

.map-point-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(15,18,20,0.9);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.map-point:hover .map-point-label {
  opacity: 1;
}

/* === STATS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--fire);
  line-height: 1;
  margin-bottom: var(--space-sm);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--iron);
  font-weight: 500;
}

/* === TEAM === */
.team-card {
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card-avatar {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--midnight-light), var(--midnight));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-avatar .avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-avatar .avatar-placeholder svg {
  width: 36px;
  height: 36px;
  color: var(--iron);
}

.team-card-body {
  padding: var(--space-xl);
}

.team-card-body h4 {
  margin-bottom: 4px;
}

.team-card-body .role {
  color: var(--fire);
  font-size: 0.875rem;
  font-weight: 500;
}

/* === NEWS / EVENTS === */
.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition-base);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--midnight-light), var(--midnight));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--fire);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
}

body[dir="rtl"] .news-tag {
  left: auto;
  right: 12px;
}

.news-card-body {
  padding: var(--space-xl);
}

.news-card-body .news-date {
  font-size: 0.8125rem;
  color: var(--iron);
  margin-bottom: 8px;
}

.news-card-body h4 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card-body p {
  color: var(--iron);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* === SOCIAL CARDS === */
.social-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition-base);
  cursor: pointer;
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(198, 29, 35, 0.15);
}

.social-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.social-card:hover .social-icon-wrap {
  transform: scale(1.1);
}

.social-icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.social-card-text h5 {
  margin-bottom: 2px;
}

.social-card-text p {
  color: var(--iron);
  font-size: 0.875rem;
}

/* === CTA SECTION === */
.cta-section {
  position: relative;
  padding: var(--space-5xl) 0;
  background: var(--midnight);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 29, 35, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.cta-content p {
  color: var(--iron-light);
  font-size: 1.125rem;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
  background: var(--midnight);
  color: var(--iron);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-main {
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.footer h5 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: var(--space-xl);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--iron);
  transition: all var(--transition-fast);
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--fire);
  padding-left: 4px;
}

body[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--fire);
}

.footer-bottom {
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--fire);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  color: var(--iron);
}

.footer-social-link:hover svg {
  color: var(--white);
}

/* === FORMS === */
.form-group {
  margin-bottom: var(--space-xl);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--midnight);
}

.section-dark .form-label {
  color: var(--white);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--midnight);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--fire);
  box-shadow: 0 0 0 3px var(--fire-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--iron);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* === ABOUT PAGE === */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--midnight-light) 0%, var(--midnight) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  background: var(--fire);
  z-index: -1;
}

body[dir="rtl"] .about-image-accent {
  right: auto;
  left: -20px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

body[dir="rtl"] .timeline {
  padding-left: 0;
  padding-right: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0,0,0,0.08);
}

body[dir="rtl"] .timeline::before {
  left: auto;
  right: 12px;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fire);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--fire);
}

body[dir="rtl"] .timeline-item::before {
  left: auto;
  right: -33px;
}

.timeline-year {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--fire);
  margin-bottom: var(--space-xs);
}

.timeline-item h4 {
  margin-bottom: var(--space-sm);
}

.timeline-item p {
  color: var(--iron);
  font-size: 0.9375rem;
}

/* === FILTER TABS === */
.filter-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--iron);
  background: var(--white-off);
  border: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--fire);
  color: var(--fire);
}

.filter-tab.active {
  background: var(--fire);
  color: var(--white);
  border-color: var(--fire);
}

/* === SEARCH BAR === */
.search-bar {
  position: relative;
  max-width: 400px;
  margin-bottom: var(--space-2xl);
}

.search-bar input {
  width: 100%;
  padding: 12px 18px 12px 48px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-full);
  background: var(--white);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

body[dir="rtl"] .search-bar input {
  padding: 12px 48px 12px 18px;
}

.search-bar input:focus {
  border-color: var(--fire);
  box-shadow: 0 0 0 3px var(--fire-glow);
}

.search-bar svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--iron);
}

body[dir="rtl"] .search-bar svg {
  left: auto;
  right: 16px;
}

/* === PAGE HERO (subpages) === */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--midnight);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,29,35,0.3), transparent);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--iron);
}

.page-hero .breadcrumb a {
  color: var(--iron);
  transition: color var(--transition-fast);
}

.page-hero .breadcrumb a:hover {
  color: var(--fire);
}

.page-hero .breadcrumb .separator {
  color: var(--iron-dark);
}

.page-hero .breadcrumb .current {
  color: var(--fire);
}

/* Page hero pattern */
.page-hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  pointer-events: none;
  opacity: 0.05;
}

body[dir="rtl"] .page-hero-pattern {
  right: auto;
  left: 0;
}

/* === MOBILE MENU === */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: var(--z-modal);
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile sticky actions */
.mobile-actions {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(15,18,20,0.95);
  backdrop-filter: blur(20px);
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-actions-inner {
  display: flex;
  justify-content: space-around;
}

.mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--iron);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-action-btn:hover,
.mobile-action-btn:active {
  color: var(--fire);
}

.mobile-action-btn svg {
  width: 22px;
  height: 22px;
}

/* === ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Counter animation */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Glow pulse */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(198, 29, 35, 0.3); }
  50% { box-shadow: 0 0 40px rgba(198, 29, 35, 0.5); }
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--white-off);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  background: var(--fire-subtle);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fire-subtle);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--fire);
}

.contact-info-text h5 {
  margin-bottom: 4px;
}

.contact-info-text p {
  color: var(--iron);
  font-size: 0.9375rem;
}

.contact-info-text a {
  color: var(--fire);
  font-weight: 500;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  border: 1px solid rgba(0,0,0,0.06);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .world-map-container {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,18,20,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s var(--ease-bounce);
    z-index: var(--z-overlay);
    padding: var(--space-4xl) var(--space-xl);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.5rem;
    color: var(--white);
    padding: 10px;
    width: 100%;
    text-align: center;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-actions {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    /* Removed padding: 0 var(--space-md) to prevent double padding with container */
    padding-top: calc(var(--header-height) + var(--space-2xl));
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }

  .hero .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-circle {
    display: none;
  }

  .hero-circle:nth-child(1),
  .hero-circle:nth-child(2),
  .hero-circle:nth-child(3) {
    display: block;
    left: 50%;
  }

  /* Grid adjustments */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.375rem; }

  .section-desc {
    font-size: 0.9375rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .btn-lg {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 0.9375rem;
  }

  .card, .service-card, .product-card-body, .news-card-body, .team-card-body, .contact-info-card {
    padding: var(--space-lg) var(--space-md);
  }
}

/* === DARK SECTION ICON CARDS === */
.section-dark .icon-card {
  background: var(--midnight-light);
  border-color: rgba(255,255,255,0.06);
}

.section-dark .icon-card:hover {
  border-color: rgba(198, 29, 35, 0.2);
  background: var(--midnight-lighter);
}

.section-dark .icon-card h4 {
  color: var(--white);
}

.section-dark .icon-card p {
  color: var(--iron-light);
}

/* === CONTACT QUICK BUTTONS === */
.quick-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
}

.quick-action-btn.whatsapp {
  background: #25D366;
  color: white;
}

.quick-action-btn.whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.quick-action-btn.call {
  background: var(--fire);
  color: white;
}

.quick-action-btn.call:hover {
  background: var(--fire-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-fire);
}

.quick-action-btn svg {
  width: 20px;
  height: 20px;
}

/* === PARTNERS / WHY CHOOSE US GRID === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* === PRODUCTS GRID === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* === TEAM GRID === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === NEWS GRID === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* === SOCIAL GRID === */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === RTL OVERRIDES === */
body[dir="rtl"] {
  text-align: right;
}

body[dir="rtl"] .section-label::before {
  order: 2;
}

body[dir="rtl"] .service-card::before {
  left: auto;
  right: 0;
}

body[dir="rtl"] .timeline {
  padding-left: 0;
  padding-right: 40px;
}

body[dir="rtl"] .timeline::before {
  left: auto;
  right: 12px;
}

body[dir="rtl"] .timeline-item::before {
  left: auto;
  right: -33px;
}

/* === LOADING SCREEN === */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  animation: float 2s ease-in-out infinite;
}

.loader-logo svg {
  width: 120px;
  height: auto;
}

/* Loader progress bar */
.loader-bar {
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0;
  background: var(--fire);
  border-radius: 2px;
  animation: load-bar 1.5s ease-in-out forwards;
}

@keyframes load-bar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--fire);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
  box-shadow: var(--shadow-fire);
  border: none;
}

body[dir="rtl"] .back-to-top {
  right: auto;
  left: 24px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(198, 29, 35, 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* === PREFERS REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--midnight);
}

::-webkit-scrollbar-thumb {
  background: var(--iron-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fire);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--iron-dark) var(--midnight);
}

/* === UTILITY RESPONSIVE GRIDS === */
@media (max-width: 768px) {
  /* About page Vision/Mission grid override */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Team page support/sales split */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Contact form two-column override */
  .contact-grid [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
