/* ═══════════════════════════════════════════════════════════
   Najmat Business Services — Tech Solutions
   najmat.com.sa
   Design System & Styles
   ═══════════════════════════════════════════════════════════ */

/* ── IMPORTS ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

/* ── VARIABLES ────────────────────────────────────────────── */
:root {
  --gold:       #C9962A;
  --gold-hover: #D4A33A;
  --gold2:      #E8B84B;
  --gold3:      #F5D98B;
  --gold-glow:  rgba(201, 150, 42, 0.35);
  --dark:       #0F1117;
  --dark2:      #1A1D27;
  --dark3:      #252836;
  --cream:      #FDF6E8;
  --cream2:     #F5EDD6;
  --cream3:     #FFF8EE;
  --white:      #FFFFFF;
  --text:       #1A1D27;
  --text-muted: #6B7280;
  --card-bg:    #FFFFFF;

  --font-en: 'Poppins', sans-serif;
  --font-ar: 'Tajawal', sans-serif;

  --header-height: 80px;
  --section-padding: 100px 0;

  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 8px rgba(15, 17, 23, 0.06);
  --shadow-md: 0 4px 24px rgba(15, 17, 23, 0.1);
  --shadow-lg: 0 8px 40px rgba(15, 17, 23, 0.14);
  --shadow-gold: 0 4px 30px rgba(201, 150, 42, 0.2);
  --shadow-gold-lg: 0 8px 50px rgba(201, 150, 42, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-en);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION COMMON ───────────────────────────────────────── */
.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold2);
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  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.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  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.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-fast);
  background: transparent;
}

.header.scrolled {
  height: 64px;
  background: rgba(253, 246, 232, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 30px rgba(201, 150, 42, 0.12);
  border-bottom: 1px solid rgba(201, 150, 42, 0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.header-logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.35));
  transition: all var(--transition-fast);
}

.header.scrolled .header-logo-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.header.scrolled .logo-swirl {
  fill: #2D2D2D;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-text .logo-ar {
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.header-logo-text .logo-en {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(245, 237, 214, 0.75);
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

.header.scrolled .header-logo-text .logo-ar {
  color: var(--dark);
}

.header.scrolled .header-logo-text .logo-en {
  color: var(--text-muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream2);
  padding: 8px 18px;
  border-radius: 100px;
  transition: all var(--transition-fast);
  position: relative;
}

.header.scrolled .header-nav a {
  color: var(--dark2);
}

.header-nav a:hover {
  color: var(--gold2);
  background: rgba(201, 150, 42, 0.15);
}

.header.scrolled .header-nav a:hover {
  color: var(--gold);
  background: rgba(201, 150, 42, 0.08);
}

.header-nav a.active {
  color: var(--gold);
}

.header-cta-btn {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-fast) !important;
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, var(--gold-hover), var(--gold)) !important;
  box-shadow: var(--shadow-gold-lg) !important;
  transform: translateY(-1px);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold2);
  background: rgba(201, 150, 42, 0.12);
  border: 1px solid rgba(201, 150, 42, 0.3);
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: 8px;
}

.header.scrolled .lang-btn {
  color: var(--dark);
  border-color: rgba(201, 150, 42, 0.4);
  background: rgba(201, 150, 42, 0.1);
}

.lang-btn:hover {
  background: var(--gold);
  color: var(--dark) !important;
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream2);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.header.scrolled .menu-toggle span {
  background: var(--dark);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0F1117 0%, #1A1D27 30%, #252836 60%, #0F1117 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201, 150, 42, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(232, 184, 75, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

#hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 150, 42, 0.12);
  border: 1px solid rgba(201, 150, 42, 0.25);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold2);
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title .gold-text {
  background: linear-gradient(135deg, var(--gold2), var(--gold3), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(245, 237, 214, 0.7);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold2), var(--gold3));
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 30px rgba(232, 184, 75, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold3), var(--gold2));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(232, 184, 75, 0.45);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  color: var(--cream2);
  padding: 16px 32px;
  border-radius: 100px;
  border: 1px solid rgba(201, 150, 42, 0.3);
  background: rgba(201, 150, 42, 0.08);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  border-color: var(--gold2);
  background: rgba(201, 150, 42, 0.15);
  color: var(--gold2);
  transform: translateY(-2px);
}



/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 237, 214, 0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold2), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.3; height: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT / WHO WE ARE SECTION
   ═══════════════════════════════════════════════════════════ */
.about {
  background: var(--cream);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content {
  position: relative;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 40px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(201, 150, 42, 0.12);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201, 150, 42, 0.3);
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About visual */
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-card {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  background: linear-gradient(160deg, var(--dark), var(--dark3));
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 150, 42, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(232, 184, 75, 0.1) 0%, transparent 50%);
}

.about-visual-card .visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 150, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 150, 42, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* 5-service showcase inside the visual card */
.visual-services {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px;
  z-index: 2;
}

.visual-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: calc(33.33% - 16px);
  padding: 18px 8px;
  border-radius: 16px;
  background: rgba(201, 150, 42, 0.06);
  border: 1px solid rgba(201, 150, 42, 0.12);
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
  animation: float-item 5s ease-in-out infinite;
}

.visual-service-item:nth-child(1) { animation-delay: 0s; }
.visual-service-item:nth-child(2) { animation-delay: -1s; }
.visual-service-item:nth-child(3) { animation-delay: -2s; }
.visual-service-item:nth-child(4) { animation-delay: -3s; }
.visual-service-item:nth-child(5) { animation-delay: -4s; }

/* Center the bottom row of 2 items */
.visual-service-item:nth-child(4),
.visual-service-item:nth-child(5) {
  width: calc(33.33% - 16px);
}

.visual-service-item:hover {
  background: rgba(201, 150, 42, 0.14);
  border-color: rgba(201, 150, 42, 0.35);
  transform: translateY(-4px);
}

@keyframes float-item {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.visual-service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(201, 150, 42, 0.2), rgba(232, 184, 75, 0.08));
  border: 1px solid rgba(201, 150, 42, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold2);
}

.visual-service-item span {
  font-size: 11px;
  font-weight: 700;
  color: var(--cream2);
  text-align: center;
  letter-spacing: 0.5px;
}

/* Central glowing orb */
.visual-center-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.orb-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(201, 150, 42, 0.08);
  background: radial-gradient(circle, rgba(201, 150, 42, 0.06) 0%, transparent 70%);
  animation: orb-pulse 4s ease-in-out infinite;
}

.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  box-shadow: 0 0 40px rgba(201, 150, 42, 0.35), 0 0 80px rgba(201, 150, 42, 0.15);
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════ */
.services {
  background: linear-gradient(180deg, var(--cream2) 0%, var(--cream) 100%);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.services-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

/* Service Card */
.service-card {
  background: var(--white);
  border: 1px solid rgba(201, 150, 42, 0.12);
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold2), var(--gold3), var(--gold2));
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 150, 42, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold-lg);
  border-color: rgba(201, 150, 42, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.15) 0%, rgba(232, 184, 75, 0.03) 60%, transparent 80%);
  border: 1.5px solid rgba(201, 150, 42, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-card-icon {
  border-color: rgba(201, 150, 42, 0.35);
  background: radial-gradient(circle, rgba(232, 184, 75, 0.25) 0%, rgba(232, 184, 75, 0.05) 60%, transparent 80%);
  transform: scale(1.05);
}

.service-card-icon svg {
  width: 52px;
  height: 52px;
}

.service-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.service-card-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold2), var(--gold3));
  border-radius: 2px;
  margin: 0 auto 16px;
  transition: width var(--transition-fast);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-card-divider {
  width: 60px;
}

.service-card-list {
  text-align: left;
  position: relative;
  z-index: 1;
}

.service-card-list li {
  font-size: 14.5px;
  color: var(--dark2);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.service-card-list li::before {
  content: '★';
  color: var(--gold);
  font-size: 10px;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   WHY CHOOSE US SECTION
   ═══════════════════════════════════════════════════════════ */
.why-us {
  background: var(--cream);
}

.why-us-header {
  text-align: center;
  margin-bottom: 60px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(201, 150, 42, 0.1);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold2), transparent);
  opacity: 0;
  transition: all var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201, 150, 42, 0.25);
}

.why-card:hover::before {
  opacity: 1;
  width: 100%;
}

.why-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(201, 150, 42, 0.1), rgba(232, 184, 75, 0.05));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.why-card:hover .why-card-icon {
  background: linear-gradient(135deg, rgba(201, 150, 42, 0.2), rgba(232, 184, 75, 0.1));
  transform: scale(1.1);
}

.why-card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.why-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.why-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(160deg, #0F1117 0%, #1A1D27 40%, #252836 70%, #0F1117 100%);
  padding: 80px 0 0;
  color: var(--cream2);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(201, 150, 42, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(201, 150, 42, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(201, 150, 42, 0.15);
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.35));
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-text .f-ar {
  display: block;
  font-family: var(--font-ar);
  font-size: 16px;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.25;
}

.footer-logo-text .f-en {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(245, 237, 214, 0.7);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(245, 237, 214, 0.6);
  line-height: 1.8;
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(245, 237, 214, 0.6);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--gold2);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  transition: transform var(--transition-fast);
}

.footer-contact-item:hover {
  transform: translateY(-2px);
}

.footer-contact-icon {
  width: 38px;
  height: 38px;
  background: rgba(201, 150, 42, 0.1);
  border: 1px solid rgba(201, 150, 42, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 16px;
  height: 16px;
  color: var(--gold2);
}

.footer-contact-text {
  font-size: 14px;
  color: rgba(245, 237, 214, 0.8);
}

.footer-contact-text small {
  display: block;
  font-size: 11px;
  color: rgba(245, 237, 214, 0.4);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(245, 237, 214, 0.4);
}

.footer-bottom .cr {
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-visual {
    order: -1;
  }

  .about-visual-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-row-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* Header mobile */
  .menu-toggle {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(253, 246, 232, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 4px;
    transition: right var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    align-items: stretch;
  }

  .header-nav.open {
    right: 0;
  }

  .header-nav a {
    font-size: 16px;
    padding: 14px 20px;
    border-radius: 12px;
    text-align: left;
  }

  .header-cta-btn {
    text-align: center !important;
    justify-content: center;
    margin-top: 12px;
  }

  /* Hero */
  .hero-star {
    width: 250px;
    height: 250px;
    right: -30px;
    top: 15%;
    transform: none;
  }

  .hero-scroll {
    display: none;
  }

  /* About */
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 11px;
  }

  .visual-service-item {
    padding: 12px 4px;
  }

  .visual-service-icon {
    width: 36px;
    height: 36px;
  }

  .visual-service-icon svg {
    width: 18px;
    height: 18px;
  }

  .visual-services {
    padding: 24px;
    gap: 10px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-row-2 {
    grid-template-columns: 1fr;
  }

  /* Why Us */
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    max-width: 100%;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col h4 {
    text-align: center;
  }

  .footer-col ul {
    text-align: center;
  }

  .footer-col ul li a {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   RTL (ARABIC) TYPOGRAPHY & LAYOUT OVERRIDES
   ═══════════════════════════════════════════════════════════ */
[dir="rtl"] {
  font-family: 'Tajawal', sans-serif !important;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .service-card-title,
[dir="rtl"] .why-card-title,
[dir="rtl"] .logo-ar,
[dir="rtl"] .f-ar {
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

[dir="rtl"] .hero-title {
  font-size: 3.4rem !important;
  line-height: 1.35 !important;
  text-align: right;
}

[dir="rtl"] .hero-subtitle {
  font-size: 1.2rem !important;
  line-height: 1.8 !important;
  font-weight: 500 !important;
  text-align: right;
}

[dir="rtl"] .section-title {
  font-size: 2.6rem !important;
  line-height: 1.4 !important;
  font-weight: 800 !important;
  text-align: right;
}

[dir="rtl"] .services-header .section-title,
[dir="rtl"] .why-us-header .section-title {
  text-align: center;
}

[dir="rtl"] .section-label {
  font-weight: 700 !important;
  font-size: 15px !important;
}

[dir="rtl"] .about-text {
  font-size: 1.15rem !important;
  line-height: 1.85 !important;
  font-weight: 500 !important;
  text-align: right;
}

[dir="rtl"] .stat-label {
  font-size: 14px !important;
  font-weight: 700 !important;
}

[dir="rtl"] .service-card-title {
  font-size: 1.4rem !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  text-align: right;
}

[dir="rtl"] .service-card-list li {
  font-size: 15px !important;
  line-height: 1.7 !important;
  font-weight: 500 !important;
  text-align: right;
}

[dir="rtl"] .why-card-title {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  text-align: right;
}

[dir="rtl"] .why-card-text {
  font-size: 1rem !important;
  line-height: 1.75 !important;
  font-weight: 500 !important;
  text-align: right;
}

[dir="rtl"] .header-nav {
  direction: rtl;
}

[dir="rtl"] .header-nav a {
  font-size: 15px !important;
  font-weight: 700 !important;
}

[dir="rtl"] .lang-btn {
  margin-left: 0;
  margin-right: 8px;
  font-family: var(--font-en) !important;
  font-size: 13px !important;
}

[dir="rtl"] .btn-primary,
[dir="rtl"] .btn-secondary {
  font-size: 16px !important;
  font-weight: 800 !important;
}

[dir="rtl"] .btn-primary svg {
  transform: rotate(180deg);
}

[dir="rtl"] .footer-brand p {
  font-size: 15px !important;
  line-height: 1.8 !important;
  text-align: right;
}

[dir="rtl"] .footer-col h4 {
  font-size: 17px !important;
  font-weight: 800 !important;
  text-align: right !important;
}

[dir="rtl"] .footer-col ul li a {
  font-size: 15px !important;
  text-align: right;
}

[dir="rtl"] .footer-contact-item {
  direction: rtl !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: right !important;
}

[dir="rtl"] .footer-contact-text {
  text-align: right !important;
  direction: rtl !important;
}

[dir="rtl"] .footer-contact-text small {
  display: block;
  text-align: right !important;
}

.footer-contact-text span[dir="ltr"] {
  display: inline-block;
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

[dir="rtl"] .footer-bottom {
  font-size: 14px !important;
}

@media (max-width: 768px) {
  [dir="rtl"] .hero-title {
    font-size: 2.3rem !important;
    text-align: center;
  }
  [dir="rtl"] .hero-subtitle {
    text-align: center;
  }
  [dir="rtl"] .section-title {
    font-size: 2rem !important;
    text-align: center;
  }
  [dir="rtl"] .about-text {
    text-align: center;
  }
}
