/* ===================================================================
   RAFFIQ AL-EBDAA — Premium Corporate Website
   Design System & Styles
   =================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700;800;900&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Color Palette */
  --gold: #C8A45C;
  --gold-light: #D4B06A;
  --gold-dark: #A8873D;
  --gold-gradient: linear-gradient(135deg, #C8A45C 0%, #E8D5A0 50%, #C8A45C 100%);
  --navy: #0A1628;
  --navy-light: #1B2D4A;
  --navy-mid: #142238;
  --steel: #1B3A5C;
  --steel-light: #2A5580;
  --amber: #D4A843;
  --bg-light: #F8F6F1;
  --bg-cream: #F2EFE8;
  --bg-dark: #111820;
  --bg-darker: #0B0F15;
  --text-primary: #1A1A2E;
  --text-secondary: #6B7B8D;
  --text-light: #9AABB8;
  --text-white: #F0F0F0;
  --text-white-muted: rgba(240,240,240,0.7);
  --glass-white: rgba(255,255,255,0.06);
  --glass-white-strong: rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.1);
  --glass-dark: rgba(10,22,40,0.6);
  --success: #2ECC71;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-gold: 0 8px 30px rgba(200,164,92,0.25);

  /* Typography */
  --font-en-heading: 'Inter', sans-serif;
  --font-en-body: 'DM Sans', sans-serif;
  --font-ar-heading: 'Tajawal', sans-serif;
  --font-ar-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-heading: var(--font-en-heading);
  --font-body: var(--font-en-body);

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1280px;
  --container-padding: 0 24px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease);
  --transition: 0.4s var(--ease);
  --transition-slow: 0.8s var(--ease-out);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

/* Arabic font override */
[lang="ar"] {
  --font-heading: var(--font-ar-heading);
  --font-body: var(--font-ar-body);
}

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

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

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

/* RTL adjustments */
[dir="rtl"] body {
  text-align: right;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-padding {
  padding: var(--section-padding);
}

/* Language visibility */
.lang-en, .lang-ar { display: none; }
[lang="en"] .lang-en { display: inline; }
[lang="ar"] .lang-ar { display: inline; }
[lang="en"] .block-en { display: block; }
[lang="ar"] .block-ar { display: block; }
[lang="en"] .block-ar { display: none; }
[lang="ar"] .block-en { display: none; }
[lang="en"] .flex-en { display: flex; }
[lang="ar"] .flex-ar { display: flex; }
[lang="en"] .flex-ar { display: none; }
[lang="ar"] .flex-en { display: none; }
[lang="en"] .grid-en { display: grid; }
[lang="ar"] .grid-ar { display: grid; }
[lang="en"] .grid-ar { display: none; }
[lang="ar"] .grid-en { display: none; }
[lang="en"] .inline-en { display: inline; }
[lang="ar"] .inline-ar { display: inline; }
[lang="en"] .inline-ar { display: none; }
[lang="ar"] .inline-en { display: none; }

/* Section titles */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--gold);
}

[dir="rtl"] .section-label::before {
  order: 2;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-title-light {
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.8;
}

.section-subtitle-light {
  color: var(--text-white-muted);
}

/* Gold text */
.text-gold {
  color: var(--gold);
}

.gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Scroll Animation Base --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.active > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.active > *:nth-child(8) { transition-delay: 0.8s; }
.stagger-children.active > *:nth-child(9) { transition-delay: 0.9s; }
.stagger-children.active > *:nth-child(10) { transition-delay: 1.0s; }

.stagger-children.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1001;
}

.nav-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--navy);
  flex-shrink: 0;
}

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

.nav-logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.nav-logo-tagline {
  font-size: 0.65rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-fast);
  position: relative;
  letter-spacing: 0.3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

[dir="rtl"] .nav-links a::after {
  left: auto;
  right: 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  cursor: pointer;
}

.lang-toggle button {
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s var(--ease);
  font-family: var(--font-en-heading);
}

.lang-toggle button.active {
  background: var(--gold);
  color: var(--navy);
}

/* CTA Nav Button */
.nav-cta {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
  letter-spacing: 0.3px;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

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

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

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

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.png') center/cover no-repeat;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.65) 0%,
    rgba(10, 22, 40, 0.50) 40%,
    rgba(10, 22, 40, 0.75) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 164, 92, 0.12);
  border: 1px solid rgba(200, 164, 92, 0.25);
  border-radius: var(--radius-full);
  padding: 8px 24px;
  margin-bottom: 32px;
  animation: fadeInDown 1s var(--ease-out) 0.3s both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  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.3); }
}



.hero-badge-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 1s var(--ease-out) 0.5s both;
}

.hero-title .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 1s var(--ease-out) 0.7s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 1s var(--ease-out) 0.9s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
  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,0.3), transparent);
  transition: left 0.5s var(--ease);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s var(--ease-out) 1.5s both;
}

.scroll-mouse {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

.scroll-text {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===================================================================
   ABOUT SECTION
   =================================================================== */
.about {
  padding: var(--section-padding);
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,164,92,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

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

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

[dir="rtl"] .about-badge {
  right: auto;
  left: -20px;
}

.about-badge-number {
  font-family: var(--font-en-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.9;
}

.about-ceo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(200,164,92,0.06);
  border: 1px solid rgba(200,164,92,0.15);
  border-radius: var(--radius-md);
  margin-top: 32px;
}

.about-ceo-avatar {
  width: 60px;
  height: 60px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  flex-shrink: 0;
}

.about-ceo-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.about-ceo-info p {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
}

/* ===================================================================
   VISION & MISSION
   =================================================================== */
.vision-mission {
  padding: var(--section-padding);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.vision-mission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.vm-card {
  padding: 50px 40px;
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.vm-card:hover {
  background: var(--glass-white-strong);
  transform: translateY(-8px);
  border-color: rgba(200,164,92,0.3);
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
}

[dir="rtl"] .vm-card::before {
  left: auto;
  right: 0;
}

.vm-icon {
  width: 64px;
  height: 64px;
  background: rgba(200,164,92,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.vm-card h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 16px;
}

.vm-card p {
  font-size: 1.05rem;
  color: var(--text-white-muted);
  line-height: 1.8;
}

/* ===================================================================
   CORE VALUES
   =================================================================== */
.values {
  padding: var(--section-padding);
  background: var(--bg-light);
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.value-card {
  padding: 48px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.value-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,164,92,0.2);
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(200,164,92,0.1), rgba(200,164,92,0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.4s var(--ease);
}

.value-card:hover .value-icon {
  background: var(--gold);
  transform: rotateY(180deg);
}

.value-card:hover .value-icon svg {
  color: var(--navy);
}

.value-card h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================================
   SERVICES SECTION
   =================================================================== */
.services {
  padding: var(--section-padding);
  background: var(--bg-cream);
  position: relative;
}

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

.services-header .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  padding: 40px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

[dir="rtl"] .service-card::before {
  transform-origin: right;
}

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

.service-number {
  font-family: var(--font-en-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(200,164,92,0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(200,164,92,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--gold);
  transition: all 0.3s var(--ease);
}

.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--navy);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================================
   BUSINESS SECTORS
   =================================================================== */
.sectors {
  padding: var(--section-padding);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.sectors::after {
  content: '';
  position: absolute;
  bottom: -300px;
  right: -300px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,164,92,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

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

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.sector-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 20px;
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.4s var(--ease);
}

.sector-chip:hover {
  background: var(--glass-white-strong);
  border-color: rgba(200,164,92,0.3);
  transform: translateY(-8px);
}

.sector-chip-icon {
  width: 56px;
  height: 56px;
  background: rgba(200,164,92,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s var(--ease);
}

.sector-chip:hover .sector-chip-icon {
  background: var(--gold);
  transform: scale(1.1);
}

.sector-chip h4 {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
}

/* ===================================================================
   PROJECTS SECTION
   =================================================================== */
.projects {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 24px;
}

.project-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.04);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
}

[dir="rtl"] .project-category {
  left: auto;
  right: 16px;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.project-location svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* ===================================================================
   WHY CHOOSE US
   =================================================================== */
.why-us {
  padding: var(--section-padding);
  background: var(--bg-cream);
}

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

.why-us-header .section-subtitle {
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  padding: 40px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: all 0.4s var(--ease);
  border: 1px solid rgba(0,0,0,0.04);
  border-left: 4px solid var(--gold);
}

[dir="rtl"] .why-card {
  border-left: 1px solid rgba(0,0,0,0.04);
  border-right: 4px solid var(--gold);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 50px;
  height: 50px;
  background: rgba(200,164,92,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--gold);
}

.why-card h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================================
   STATISTICS SECTION
   =================================================================== */
.stats {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.png') center/cover no-repeat;
  opacity: 0.08;
}

.stats::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius-md);
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease);
}

.stat-item:hover {
  background: var(--glass-white-strong);
  transform: translateY(-6px);
  border-color: rgba(200,164,92,0.3);
}

.stat-number {
  font-family: var(--font-en-heading);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-suffix {
  font-size: 1.8rem;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-white-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ===================================================================
   CLIENTS SECTION
   =================================================================== */
.clients {
  padding: var(--section-padding);
  background: var(--bg-light);
  text-align: center;
}

.clients-header {
  margin-bottom: 60px;
}

.clients-header .section-subtitle {
  margin: 0 auto;
}

.clients-marquee {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), transparent);
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), transparent);
}

.clients-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-card {
  flex-shrink: 0;
  padding: 24px 40px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 100px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s var(--ease);
}

.client-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,164,92,0.2);
}

.client-card img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.8);
  transition: all 0.3s var(--ease);
}

.client-card:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
.contact {
  padding: var(--section-padding);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -400px;
  left: -400px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200,164,92,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  padding: 20px 0;
}

.contact-info .section-title {
  color: #fff;
}

.contact-text {
  font-size: 1.05rem;
  color: var(--text-white-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(200,164,92,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--gold);
}

.contact-item h4 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  font-size: 0.9rem;
  color: var(--text-white-muted);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-form-wrapper {
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(200,164,92,0.15);
}

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

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C8A45C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

[dir="rtl"] .form-group select {
  background-position: left 16px center;
  padding-right: 18px;
  padding-left: 40px;
}

.form-group select option {
  background: var(--navy);
  color: #fff;
}

.form-submit {
  padding: 16px 40px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  align-self: flex-start;
}

[dir="rtl"] .form-submit {
  align-self: flex-end;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--bg-darker);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .nav-logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-white-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-white-muted);
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-links a:hover::before {
  width: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item p,
.footer-contact-item a {
  font-size: 0.9rem;
  color: var(--text-white-muted);
  line-height: 1.6;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--gold);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-gold);
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: 30px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(200,164,92,0.35);
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */

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

  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

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

  .vm-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

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

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

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

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

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

  .projects-grid {
    grid-template-columns: 1fr;
  }

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

  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .contact-form-wrapper {
    padding: 32px 24px;
  }

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

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

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

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

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .project-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .lang-toggle {
    order: -1;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* ===================================================================
   ACCESSIBILITY
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Print styles */
@media print {
  .navbar, .hero-scroll-indicator, .back-to-top, .mobile-toggle {
    display: none !important;
  }
  .hero { min-height: auto; padding: 40px 0; }
}


/* ===== INTERNAL PAGES ===== */
.page-header {
  padding: 150px 0 60px;
  background: var(--bg-alt);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 20px;
}

/* Detailed Services */
.detailed-services .service-card {
  text-align: left;
}
html[dir="rtl"] .detailed-services .service-card {
  text-align: right;
}
.detailed-services ul li {
  margin-bottom: 10px;
  position: relative;
}
.detailed-services ul li::before {
  content: '✓';
  position: absolute;
  left: -20px;
  color: var(--primary);
}
html[dir="rtl"] .detailed-services ul li::before {
  left: auto;
  right: -20px;
}
