@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+Arabic:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #0a1628;
  --primary-light: #162240;
  --accent: #d4a853;
  --accent-light: #e8c97a;
  --accent-dark: #b8913e;
  --white: #ffffff;
  --off-white: #f5f3ef;
  --gray-50: #f8f9fa;
  --gray-100: #eef0f2;
  --gray-200: #dde1e6;
  --gray-300: #bcc3cd;
  --gray-400: #8d95a3;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --text-dark: #0f1724;
  --text-body: #3a4454;
  --success: #22c55e;
  --font-en: 'Inter', sans-serif;
  --font-ar: 'Noto Sans Arabic', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

body[dir="rtl"] { font-family: var(--font-ar); }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }

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

/* ───── NAVBAR ───── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10,22,40,.85);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(10,22,40,.97);
  box-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img {
  height: 52px; width: auto;
  transition: all var(--transition);
}
.nav-brand-name {
  font-size: 1.2rem; font-weight: 700; color: var(--white);
  letter-spacing: 0.5px; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 500;
  letter-spacing: .3px; position: relative; padding: 4px 0;
  transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
[dir="rtl"] .nav-links a::after { left: auto; right: 0; }

.lang-toggle {
  background: rgba(255,255,255,.08); color: var(--white);
  border: 1px solid rgba(255,255,255,.15); padding: 8px 18px;
  border-radius: 8px; font-size: .85rem; font-weight: 600;
  transition: all var(--transition); letter-spacing: .3px;
}
.lang-toggle:hover {
  background: var(--accent); border-color: var(--accent); color: var(--primary);
  transform: translateY(-1px); box-shadow: 0 4px 15px rgba(212,168,83,.3);
}

.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 6px;
}
.mobile-toggle span {
  width: 24px; height: 2px; background: var(--white);
  border-radius: 2px; transition: all var(--transition);
}
.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); }

/* ───── HERO ───── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.7) 40%, rgba(10,22,40,.5) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 720px;
  padding-top: 76px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,168,83,.12); border: 1px solid rgba(212,168,83,.3);
  border-radius: 40px; padding: 8px 20px; margin-bottom: 28px;
  color: var(--accent-light); font-size: .82rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.6); }
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800;
  color: var(--white); line-height: 1.12; margin-bottom: 24px;
  letter-spacing: -.5px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,.72); line-height: 1.8;
  margin-bottom: 40px; max-width: 560px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; border-radius: 10px; font-size: .95rem;
  font-weight: 600; letter-spacing: .3px; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
  transform: translateX(-100%); transition: none;
}
.btn:hover::after { transform: translateX(100%); transition: transform .6s ease; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary); box-shadow: 0 4px 20px rgba(212,168,83,.3);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(212,168,83,.5);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1); border-color: var(--accent);
  color: var(--accent-light); transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.hero-stats {
  display: flex; gap: 48px; margin-top: 64px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat h3 {
  font-size: 2.4rem; font-weight: 800; color: var(--accent);
  line-height: 1;
}
.hero-stat p {
  font-size: .82rem; color: rgba(255,255,255,.55);
  margin-bottom: 0; text-transform: uppercase; letter-spacing: 1px;
  margin-top: 6px;
}

/* ───── SECTION COMMON ───── */
section { padding: 100px 0; scroll-margin-top: 80px; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent-dark);
  margin-bottom: 16px;
}
.section-label::before, .section-label::after {
  content: ''; width: 28px; height: 1.5px; background: var(--accent);
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--text-dark); line-height: 1.2; margin-bottom: 18px;
  letter-spacing: -.3px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--gray-500); line-height: 1.75;
}

/* ───── ABOUT ───── */
.about { background: var(--off-white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.about-accent-box {
  position: absolute; bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary); padding: 28px 32px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
[dir="rtl"] .about-accent-box { right: auto; left: -24px; }
.about-accent-box h4 { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about-accent-box span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.about-text .section-label { justify-content: flex-start; }
[dir="rtl"] .about-text .section-label { justify-content: flex-end; }
.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800;
  color: var(--text-dark); line-height: 1.2; margin-bottom: 20px;
}
.about-text p { margin-bottom: 20px; font-size: 1.02rem; }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 32px;
}
.about-feature {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--white);
  border-radius: 10px; box-shadow: var(--shadow-sm);
  transition: all var(--transition); border: 1px solid transparent;
}
.about-feature:hover {
  transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-md);
  border-color: rgba(212,168,83,.2);
}
.about-feature .icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(212,168,83,.15), rgba(212,168,83,.05));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-dark); font-size: 1.1rem; flex-shrink: 0;
  transition: all var(--transition);
}
.about-feature:hover .icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white); transform: rotate(5deg) scale(1.1);
}
.about-feature span { font-size: .88rem; font-weight: 600; color: var(--text-dark); }

/* ───── PORTFOLIO FILTER BAR ───── */
.services { background: var(--white); }
.portfolio-filter {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-bottom: 48px;
}
.filter-btn {
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: 40px; padding: 10px 24px;
  font-size: .88rem; font-weight: 600; color: var(--gray-600);
  transition: all var(--transition); letter-spacing: .3px;
}
.filter-btn:hover {
  background: var(--white); box-shadow: var(--shadow-sm);
  color: var(--primary); border-color: rgba(212,168,83,.3);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary); border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(212,168,83,.3);
}

/* ───── PORTFOLIO MASONRY GRID ───── */
.portfolio-grid {
  columns: 3;
  column-gap: 24px;
}
.portfolio-card {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all .45s cubic-bezier(.4,0,.2,1);
  border: 1px solid var(--gray-100);
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  border-color: rgba(212,168,83,.25);
}
.portfolio-card img {
  width: 100%; height: auto; display: block;
  transition: transform .7s cubic-bezier(.4,0,.2,1), filter .7s ease;
}
.portfolio-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}
.portfolio-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.8) 0%, rgba(10,22,40,.15) 40%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: var(--primary);
  padding: 5px 14px; border-radius: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
[dir="rtl"] .portfolio-card-badge { left: auto; right: 14px; }
.portfolio-card-title {
  color: var(--white); font-size: 1.1rem; font-weight: 700;
  transform: translateY(10px);
  transition: transform var(--transition);
}
.portfolio-card:hover .portfolio-card-title { transform: translateY(0); }
.portfolio-card-count {
  color: rgba(255,255,255,.65); font-size: .8rem; margin-top: 4px;
}
.portfolio-card-icon {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: .85rem; z-index: 2;
  opacity: 0; transform: scale(.8);
  transition: all var(--transition);
}
.portfolio-card:hover .portfolio-card-icon {
  opacity: 1; transform: scale(1);
}
[dir="rtl"] .portfolio-card-icon { right: auto; left: 14px; }

/* Card filter animation */
.portfolio-card.hidden {
  display: none;
}
.portfolio-card.fade-in {
  animation: cardFadeIn .4s ease forwards;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ───── LIGHTBOX ───── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(6,13,24,.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.lightbox.active {
  opacity: 1; pointer-events: all;
}
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  background: none; border: none;
  color: rgba(255,255,255,.7); font-size: 2.2rem;
  cursor: pointer; z-index: 10;
  transition: all var(--transition);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.lightbox-close:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
  transform: rotate(90deg);
}
[dir="rtl"] .lightbox-close { right: auto; left: 28px; }

.lightbox-content {
  display: flex; align-items: center; gap: 20px;
  width: 100%; max-width: 1100px; padding: 0 60px;
  position: relative;
}
.lightbox-slider {
  flex: 1; overflow: hidden; border-radius: var(--radius-lg);
  position: relative;
}
.lightbox-track {
  display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.lightbox-track img {
  width: 100%; flex-shrink: 0;
  max-height: 70vh; object-fit: contain;
  border-radius: var(--radius-lg);
}
.lightbox-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: var(--white); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: all var(--transition);
}
.lightbox-arrow:hover {
  background: var(--accent); border-color: var(--accent);
  color: var(--primary); transform: scale(1.1);
}

.lightbox-info {
  text-align: center; margin-top: 20px;
}
.lightbox-title {
  color: var(--white); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 14px; letter-spacing: .3px;
}
.lightbox-dots {
  display: flex; gap: 8px; justify-content: center;
}
.lightbox-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.25); border: none;
  cursor: pointer; transition: all var(--transition);
}
.lightbox-dot.active {
  background: var(--accent); transform: scale(1.3);
  box-shadow: 0 0 12px rgba(212,168,83,.4);
}

/* ───── PROCESS ───── */
.process { background: var(--primary); color: var(--white); }
.process .section-label { color: var(--accent-light); }
.process .section-title { color: var(--white); }
.process .section-subtitle { color: rgba(255,255,255,.6); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 52px;
  left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
  opacity: .3;
}
.step-card {
  text-align: center; position: relative; padding: 20px 16px;
  border-radius: var(--radius); transition: all var(--transition);
}
.step-card:hover { background: rgba(255,255,255,.04); }
.step-number {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary); font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative; z-index: 2;
  box-shadow: 0 4px 24px rgba(212,168,83,.3);
  transition: all var(--transition);
}
.step-card:hover .step-number {
  transform: scale(1.12); box-shadow: 0 8px 35px rgba(212,168,83,.5);
}
.step-card h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 10px;
  transition: color var(--transition);
}
.step-card:hover h3 { color: var(--accent-light); }
.step-card p {
  font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.65;
}

/* ───── PROJECTS ───── */
.projects { background: var(--off-white); }
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.project-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: all .45s cubic-bezier(.4,0,.2,1);
  border: 1px solid var(--gray-100);
}
.project-card:hover {
  transform: translateY(-12px); box-shadow: 0 25px 60px rgba(0,0,0,.18);
  border-color: rgba(212,168,83,.2);
}
.project-image {
  position: relative; overflow: hidden; aspect-ratio: 16/10;
}
.project-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1), filter .7s ease;
}
.project-card:hover .project-image img { transform: scale(1.12); filter: brightness(1.05); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.75) 0%, rgba(10,22,40,.1) 50%, transparent 100%);
  transition: opacity var(--transition);
}
.project-card:hover .project-overlay { opacity: .8; }
.project-category {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: var(--primary);
  padding: 6px 16px; border-radius: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; transition: all var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.project-card:hover .project-category { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(212,168,83,.4); }
[dir="rtl"] .project-category { left: auto; right: 16px; }
.project-info { padding: 24px 28px; }
.project-info h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 8px; transition: color var(--transition);
}
.project-card:hover .project-info h3 { color: var(--accent-dark); }
.project-info p { font-size: .88rem; color: var(--gray-500); }
.project-meta {
  display: flex; gap: 20px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.project-meta span {
  font-size: .78rem; color: var(--gray-400); display: flex;
  align-items: center; gap: 5px;
}

/* ───── STATS BAR ───── */
.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 72px 0; position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center; position: relative;
}
.stat-item {
  padding: 24px 16px; border-radius: var(--radius); transition: all var(--transition);
}
.stat-item:hover { background: rgba(255,255,255,.04); transform: translateY(-4px); }
.stat-item h3 {
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
  color: var(--accent); line-height: 1;
  text-shadow: 0 0 30px rgba(212,168,83,.2);
}
.stat-item p {
  font-size: .85rem; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: 1.2px;
  margin-top: 8px; font-weight: 500;
}

/* ───── CTA ───── */
.cta {
  position: relative; padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2d4a 100%);
  overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,.1) 0%, transparent 70%);
}
.cta-content {
  position: relative; z-index: 2; text-align: center; max-width: 700px;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--white); margin-bottom: 20px; line-height: 1.2;
}
.cta p {
  font-size: 1.1rem; color: rgba(255,255,255,.65); margin-bottom: 36px;
  line-height: 1.75;
}
.cta .btn-primary { font-size: 1rem; padding: 17px 40px; }

/* ───── FOOTER ───── */
.footer {
  background: #060d18; color: rgba(255,255,255,.6); padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand img {
  height: 90px; width: auto; margin-bottom: 24px;
}
.footer-brand p { font-size: .9rem; line-height: 1.75; max-width: 320px; }
.footer h4 {
  color: var(--white); font-size: .95rem; font-weight: 700;
  margin-bottom: 20px; letter-spacing: .3px;
}
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  font-size: .88rem; color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer ul a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px;
  font-size: .88rem;
}
.footer-contact-item .icon {
  color: var(--accent); font-size: .9rem; margin-top: 3px; flex-shrink: 0;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; font-size: .82rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.06); display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: all var(--transition);
  font-size: .9rem;
}
.footer-social a:hover {
  background: var(--accent); color: var(--primary);
  transform: translateY(-3px) scale(1.1); box-shadow: 0 6px 20px rgba(212,168,83,.3);
}

/* ───── MOBILE NAV ───── */
.mobile-menu {
  display: none; position: fixed; top: 76px; left: 0; width: 100%;
  background: rgba(10,22,40,.98); backdrop-filter: blur(20px);
  padding: 32px 24px; flex-direction: column; gap: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  transform: translateY(-10px); opacity: 0;
  transition: all var(--transition); pointer-events: none;
  max-height: calc(100vh - 76px); overflow-y: auto;
}
.mobile-menu.active {
  display: flex; transform: translateY(0); opacity: 1; pointer-events: all;
}
.mobile-menu a {
  color: rgba(255,255,255,.8); padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 1rem; font-weight: 500;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .lang-toggle { margin-top: 16px; text-align: center; }

/* ───── SCROLL ANIMATIONS ───── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .35s; }
.reveal:nth-child(6) { transition-delay: .4s; }

/* ───── RESPONSIVE ───── */
@media (max-width: 1024px) {
  .about-grid { gap: 48px; }
  .portfolio-grid { columns: 2; }
  .lightbox-content { padding: 0 20px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .navbar .container { height: 68px; }
  .hero-content { padding-top: 68px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; }
  .hero-stat h3 { font-size: 1.8rem; }
  section { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-accent-box { bottom: -16px; right: -8px; padding: 20px 24px; }
  [dir="rtl"] .about-accent-box { left: -8px; }
  .about-features { grid-template-columns: 1fr; }
  .portfolio-grid { columns: 1; }
  .portfolio-filter { gap: 8px; }
  .filter-btn { padding: 8px 18px; font-size: .82rem; }
  .lightbox-content { padding: 0 12px; }
  .lightbox-arrow { width: 40px; height: 40px; font-size: .85rem; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta h2 { font-size: 1.8rem; }
  .btn { padding: 13px 26px; font-size: .9rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.6rem; }
}

/* ───── RTL OVERRIDES ───── */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-buttons { justify-content: flex-start; }
[dir="rtl"] .nav-links { direction: rtl; }
[dir="rtl"] .footer-contact-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
@media (max-width: 768px) {
  [dir="rtl"] .footer-bottom { flex-direction: column; }
}
