:root {
  --primary: #F5A623;
  --primary-dark: #D4891A;
  --primary-light: #FCEBD0;
  --secondary: #1B3A5C;
  --secondary-dark: #0F2540;
  --secondary-light: #2C5282;
  --accent: #E8952E;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-500: #ADB5BD;
  --gray-700: #495057;
  --gray-900: #212529;
  --font-ar: 'Cairo', 'Tajawal', sans-serif;
  --font-en: 'Inter', 'Poppins', sans-serif;
  --shadow-sm: 0 2px 8px rgba(27,58,92,0.08);
  --shadow-md: 0 4px 20px rgba(27,58,92,0.12);
  --shadow-lg: 0 8px 40px rgba(27,58,92,0.16);
  --shadow-xl: 0 16px 60px rgba(27,58,92,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-ar);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body[data-lang="en"] { font-family: var(--font-en); direction: ltr; text-align: left; }
body[data-lang="ar"] { font-family: var(--font-ar); direction: rtl; text-align: right; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.3; font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* ===== Utility ===== */
[data-lang="ar"] [data-en],
[data-lang="en"] [data-ar] { display: none !important; }
[data-lang="ar"] [data-ar],
[data-lang="en"] [data-en] { display: inline; }
[data-lang="ar"] [data-ar-block],
[data-lang="en"] [data-en-block] { display: block !important; }
[data-lang="ar"] [data-en-block],
[data-lang="en"] [data-ar-block] { display: none !important; }
.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--secondary);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 700px;
  line-height: 1.8;
}
/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate { opacity: 0; }
.animate.visible { animation-duration: 0.8s; animation-fill-mode: forwards; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.animate.visible.fade-up { animation-name: fadeInUp; }
.animate.visible.fade-left { animation-name: fadeInLeft; }
.animate.visible.fade-right { animation-name: fadeInRight; }
.animate.visible.scale-in { animation-name: scaleIn; animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,58,92,0.08);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 55px; width: auto; }
.logo-text { font-size: 0.8rem; font-weight: 700; color: var(--secondary); line-height: 1.3; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-light); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle {
  display: flex; align-items: center;
  background: var(--gray-100);
  border-radius: 50px;
  padding: 3px;
  cursor: pointer;
  border: 1px solid var(--gray-200);
}
.lang-toggle button {
  border: none; background: transparent;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-500);
  font-family: var(--font-en);
}
.lang-toggle button.active {
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245,166,35,0.3);
  white-space: nowrap;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,166,35,0.4);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  width: 26px; height: 3px;
  background: var(--secondary);
  border-radius: 3px;
  transition: var(--transition);
}
/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('hero-bg.png') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,58,92,0.92) 0%, rgba(15,37,64,0.85) 50%, rgba(27,58,92,0.75) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 750px;
  padding: 60px 0;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.25;
}
.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(245,166,35,0.35);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(245,166,35,0.45); }
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); border-color: var(--primary); }
.hero-stats {
  display: flex; gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat { text-align: center; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
/* ===== About ===== */
.about { padding: 100px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-image img { width: 100%; height: 500px; object-fit: cover; }
.about-image::before {
  content: '';
  position: absolute; inset: 0;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: 1;
  opacity: 0;
  transition: var(--transition);
}
.about-image:hover::before { opacity: 1; }
.experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  z-index: 2;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
[data-lang="en"] .experience-badge { left: auto; right: 20px; }
.experience-badge .number { font-size: 2rem; font-weight: 800; line-height: 1; }
.experience-badge .text { font-size: 0.8rem; font-weight: 600; }
/* ===== Services ===== */
.services { padding: 100px 0; background: var(--off-white); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-desc { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-image img {
  transform: scale(1.08);
}
.service-content {
  padding: 24px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-content h3 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 12px;
}
.service-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 0.3s ease;
}
[data-lang="en"] .service-content h3::after {
  right: auto;
  left: 0;
}
.service-card:hover .service-content h3::after {
  width: 60px;
}
.service-content p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
}
/* ===== Projects ===== */
.projects { padding: 100px 0; background: var(--white); }
.projects-header { text-align: center; margin-bottom: 60px; }
.projects-header .section-desc { margin: 0 auto; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: var(--transition);
}
[data-lang="en"] .project-card::before {
  left: auto;
  right: 0;
  border-radius: 4px 0 0 4px;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.project-card:hover::before {
  opacity: 1;
}
.project-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  min-width: 48px;
  text-align: center;
  transition: var(--transition);
}
.project-card:hover .project-num {
  opacity: 1;
  transform: scale(1.1);
}
.project-card h3 {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

/* ===== Project Gallery (Bento Mosaic) ===== */
.projects-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 12px;
  margin-top: 40px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid var(--white);
}
.gallery-item:hover {
  transform: scale(1.01) translateY(-3px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border-color: var(--primary-light);
}

/* Bento Sizes */
.gallery-item.large { grid-column: span 6; grid-row: span 4; }
.gallery-item.tall  { grid-column: span 3; grid-row: span 4; }
.gallery-item.wide  { grid-column: span 6; grid-row: span 2; }
.gallery-item.norm  { grid-column: span 3; grid-row: span 2; }

@media (max-width: 900px) {
  .projects-gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .gallery-item.large { grid-column: span 6; grid-row: span 4; }
  .gallery-item.tall  { grid-column: span 3; grid-row: span 4; }
  .gallery-item.wide  { grid-column: span 6; grid-row: span 2; }
  .gallery-item.norm  { grid-column: span 3; grid-row: span 2; }
}

@media (max-width: 600px) {
  .projects-gallery-grid { grid-template-columns: repeat(1, 1fr); grid-auto-rows: 250px; }
  .gallery-item.large, .gallery-item.tall, .gallery-item.wide, .gallery-item.norm { grid-column: span 1; grid-row: span 1; }
}

.gallery-image {
  width: 100%;
  height: 100%;
}
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.15);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 37, 64, 0.4);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.5);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.gallery-item:hover .gallery-icon {
  transform: scale(1);
}
/* ===== Clients / Partners Slider ===== */
.clients {

  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  overflow: hidden;
}
.clients-header { text-align: center; margin-bottom: 50px; }
.clients-header .section-label { background: rgba(245,166,35,0.15); color: var(--primary); }
.clients-header .section-title { color: var(--white); }
.clients-header .section-desc { color: rgba(255,255,255,0.7); margin: 0 auto; }
.clients-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.clients-slider {
  display: flex;
  gap: 24px;
  animation: slideLogos 20s linear infinite;
  width:fit-content;
  margin: auto;

}
@keyframes slideLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.clients-slider:hover {
  animation-play-state: paused;
}
.client-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 160px;
  max-width: 160px;
  height: 140px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px 16px 14px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  cursor: pointer;
}
.client-logo-item:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.15);
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.15);
}
.client-logo-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.9;
  transition: var(--transition);
}
.client-logo-item:hover img {
  opacity: 1;
  transform: scale(1.05);
}
.client-logo-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.client-logo-item:hover .client-logo-name {
  color: var(--primary);
}
/* ===== Contact ===== */
.contact { padding: 100px 0; background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.contact-card-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon svg { width: 24px; height: 24px; stroke: var(--primary-dark); stroke-width: 2; fill: none; }
.contact-card h4 { font-size: 0.95rem; color: var(--secondary); margin-bottom: 4px; }
.contact-card p { font-size: 0.9rem; color: var(--gray-700); }
.contact-card a { color: var(--primary-dark); font-weight: 600; }
.contact-card a:hover { color: var(--primary); }
.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.contact-form h3 { font-size: 1.3rem; color: var(--secondary); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--off-white);
  color: var(--gray-900);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-submit:hover { box-shadow: 0 6px 20px rgba(245,166,35,0.35); transform: translateY(-2px); }
/* ===== CTA Banner ===== */
.cta-banner {
  padding: 80px 0;
  background: url('services-bg.png') center/cover no-repeat;
  position: relative;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,58,92,0.93), rgba(15,37,64,0.9));
}
.cta-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; }
/* ===== Footer ===== */
.site-footer {
  background: var(--secondary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 50px; filter: brightness(1.2); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 350px; }
.footer-links h4, .footer-contact h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); padding-inline-start: 8px; }
.footer-contact p { font-size: 0.9rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--primary); stroke-width: 2; fill: none; flex-shrink: 0; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}
[data-lang="en"] .whatsapp-float { left: auto; right: 30px; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-image img { height: 350px; }
}
@media (max-width: 768px) {
  .main-nav { 
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 998;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1.1rem; padding: 12px 24px; }
  .menu-toggle { display: flex; z-index: 999; }
  .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
  .btn-cta-header { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-number { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .client-logo-item { min-width: 140px; max-width: 140px; height: 120px; }
  .client-logo-item img { width: 56px; height: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 46px; height: 46px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
[data-lang="en"] .back-to-top { right: auto; left: 30px; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; fill: none; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 35, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox.active .lightbox-content {
  transform: scale(1);
}
.lightbox-image-container {
  width: 100%;
  height: auto;
  max-height: 70vh;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox-image-container img {
  max-width: 100%;
  max-height: 65vh;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: opacity 0.3s ease;
}
.lightbox-info {
  padding: 15px 0 0;
  text-align: center;
  color: var(--white);
}
.lightbox-info p {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(245, 166, 35, 0.1);
  padding: 4px 16px;
  border-radius: 50px;
  border: 1px solid rgba(245, 166, 35, 0.2);
}
.lightbox-close {
  position: absolute;
  top: -60px;
  right: -20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(10px);
}
.lightbox-close:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: rotate(90deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-nav:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-50%) scale(1.1); box-shadow: 0 0 20px rgba(245, 166, 35, 0.4); }
.lightbox-nav.prev { left: -70px; }
.lightbox-nav.next { right: -70px; }

[data-lang="ar"] .lightbox-nav.prev { transform: translateY(-50%) scaleX(-1); }
[data-lang="ar"] .lightbox-nav.next { transform: translateY(-50%) scaleX(-1); }
[data-lang="ar"] .lightbox-nav.prev:hover { transform: translateY(-50%) scale(-1.1, 1.1); }
[data-lang="ar"] .lightbox-nav.next:hover { transform: translateY(-50%) scale(-1.1, 1.1); }

@media (max-width: 1200px) {
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .lightbox-nav { width: 44px; height: 44px; background: rgba(0,0,0,0.5); }
  .lightbox-close { right: 10px; top: -50px; }
}

@media (max-width: 768px) {
  .project-image { height: 200px; }
  .lightbox-content { width: 95%; }
  .lightbox-image-container { max-height: 60vh; }
  .lightbox-image-container img { max-height: 55vh; }
  .lightbox-close { top: -50px; right: 0; width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-nav { width: 40px; height: 40px; }
}
