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

:root {
  --gold:      #B8952A;
  --gold2:     #D4AF5A;
  --gold-light:#F5E9C8;
  --white:     #FFFFFF;
  --off-white: #FAFAF8;
  --light:     #F4F2EE;
  --light2:    #ECEAE4;
  --dark:      #1A1A1A;
  --dark2:     #2C2C2C;
  --gray:      #7A7A7A;
  --gray2:     #AAAAAA;
  --border:    #E8E4DC;
  --font:      'Cairo', sans-serif;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 50px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 9px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.3px;
}
.topbar-right { display: flex; gap: 24px; align-items: center; }
.topbar-right span { display: flex; align-items: center; gap: 6px; }
.topbar-right i { color: var(--gold2); font-size: 0.72rem; }
.topbar-left  { display: flex; gap: 14px; }
.topbar-left a {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem; transition: color 0.3s; text-decoration: none;
}
.topbar-left a:hover { color: var(--gold2); }

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--white);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text span:first-child {
  font-size: 1.05rem; font-weight: 900; color: var(--dark);
}
.logo-text span:last-child {
  font-size: 0.6rem; color: var(--gold);
  letter-spacing: 2.5px; font-weight: 700;
}
.nav-links { display: flex; gap: 8px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--dark2); text-decoration: none;
  font-size: 0.9rem; font-weight: 600;
  padding: 8px 16px; border-radius: 8px;
  transition: all 0.25s;
}
.nav-links a:hover { background: var(--light); color: var(--gold); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(184,149,42,0.3);
  transition: all 0.3s !important;
}
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(184,149,42,0.45) !important;
  background: var(--gold) !important;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  width: 25px; height: 2px; background: var(--dark);
  border-radius: 2px; transition: all 0.3s;
}

/* ===== HERO ===== */
#hero {
  min-height: 92vh;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--off-white);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1920&q=80');
  background-size: cover; background-position: center;
  opacity: 0.08;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(184,149,42,0.06) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(184,149,42,0.05) 0%, transparent 50%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-light);
  border: 1px solid rgba(184,149,42,0.25);
  color: var(--gold); font-size: 0.78rem; font-weight: 700;
  padding: 8px 18px; border-radius: 30px;
  margin-bottom: 26px; letter-spacing: 1.5px;
}
.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 900; line-height: 1.25;
  color: var(--dark); margin-bottom: 20px;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: var(--gray); font-size: 1.05rem;
  line-height: 1.9; margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--white); padding: 15px 34px; border-radius: 50px;
  text-decoration: none; font-weight: 700; font-size: 0.97rem;
  transition: all 0.3s; border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(184,149,42,0.35);
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(184,149,42,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--dark); padding: 15px 34px; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 0.97rem;
  border: 1.5px solid var(--border);
  transition: all 0.3s; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-light);
}
.hero-trust {
  margin-top: 44px; padding-top: 36px;
  border-top: 1px solid var(--border);
  display: flex; gap: 32px; align-items: center;
}
.trust-item { text-align: center; }
.trust-num {
  font-size: 1.7rem; font-weight: 900; color: var(--dark);
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.trust-label { font-size: 0.78rem; color: var(--gray); font-weight: 600; }
.trust-divider { width: 1px; height: 40px; background: var(--border); }
.hero-right { position: relative; }
.hero-img-main {
  width: 100%; height: 520px;
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
  position: absolute; bottom: 30px; right: -20px;
  background: var(--white); border-radius: 16px;
  padding: 18px 22px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.hero-float-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 12px; display: flex;
  align-items: center; justify-content: center;
  color: var(--white); font-size: 1.2rem;
}
.hero-float-text strong { display: block; font-size: 1.1rem; font-weight: 900; color: var(--dark); }
.hero-float-text span  { font-size: 0.78rem; color: var(--gray); }
.hero-float-badge {
  position: absolute; top: -16px; left: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--white); border-radius: 30px;
  padding: 7px 16px; font-size: 0.75rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(184,149,42,0.4);
}

/* ===== CLIENTS ===== */
#clients {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  overflow: hidden;
}
.clients-header {
  text-align: center;
  margin-bottom: 44px;
  padding: 0 60px;
}
.clients-header .section-desc {
  max-width: 500px;
  margin: 0 auto;
}

/* الـ wrapper اللي بيخفي الجزء الزيادة */
.clients-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* fade على الجانبين */
  mask-image: linear-gradient(
    to left,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

/* الـ track اللي بيتحرك */
.clients-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: scroll-clients 28s linear infinite;
}

/* وقفة عند الـ hover */
.clients-track-wrapper:hover .clients-track {
  animation-play-state: paused;
}

/* كل كارت لوجو */
.client-slide {
  flex-shrink: 0;
  width: 220px;
  height: 130px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: all 0.35s;
  cursor: pointer;
  overflow: hidden;
}
.client-slide:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 36px rgba(184,149,42,0.18);
  border-color: rgba(184,149,42,0.35);
}
.client-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: all 0.35s;
}
.client-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
}


/* لوجو الماس — خلفية داكنة */
.client-slide:nth-child(2),
.client-slide:nth-child(8) {
  background: #111;
  border-color: #333;
}
.client-slide:nth-child(2):hover,
.client-slide:nth-child(8):hover {
  border-color: rgba(184,149,42,0.5);
}
.client-slide:nth-child(2) img,
.client-slide:nth-child(8) img {
  filter: grayscale(100%) brightness(1.8);
  opacity: 0.7;
}
.client-slide:nth-child(2):hover img,
.client-slide:nth-child(8):hover img {
  filter: grayscale(0%) brightness(1.2);
  opacity: 1;
}

/* الـ animation نفسها */
@keyframes scroll-clients {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  #clients { padding: 44px 0; }
  .clients-header { padding: 0 22px; }
  .client-slide { width: 140px; height: 90px; }
  .clients-track { gap: 16px; animation-duration: 20s; }
}

/* ===== SHARED SECTION STYLES ===== */
section { padding: 100px 60px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 0.76rem;
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag::before {
  content: ''; width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900; line-height: 1.25;
  color: var(--dark); margin-bottom: 16px;
}
.section-title .g {
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-desc { color: var(--gray); line-height: 2; font-size: 0.97rem; }

/* ===== ABOUT ===== */
#about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-images { position: relative; height: 520px; }
.about-img-main {
  position: absolute; top: 0; right: 0;
  width: 78%; height: 80%;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: 0; left: 0;
  width: 52%; height: 48%;
  border-radius: 20px; overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-float {
  position: absolute; top: 46%; left: 28%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--white); border-radius: 16px;
  padding: 18px 22px; text-align: center;
  box-shadow: 0 16px 40px rgba(184,149,42,0.4);
  z-index: 3;
}
.about-badge-float strong { display: block; font-size: 1.9rem; font-weight: 900; }
.about-badge-float span   { font-size: 0.7rem; font-weight: 700; opacity: 0.9; }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px; border-radius: 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.feature-item:hover {
  border-color: rgba(184,149,42,0.3);
  background: var(--gold-light);
  transform: translateX(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 11px; display: flex;
  align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem;
}
.feature-text h4 { font-size: 0.97rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.feature-text p  { color: var(--gray); font-size: 0.85rem; line-height: 1.7; }

/* ===== SERVICES ===== */
#services { background: var(--off-white); }
.services-header { text-align: center; margin-bottom: 56px; }
.services-header .section-desc { max-width: 520px; margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 34px 28px;
  transition: all 0.35s; cursor: default;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184,149,42,0.2);
}
.service-card:hover::after { transform: scaleX(1); transform-origin: left; }
.service-num {
  font-size: 3rem; font-weight: 900;
  color: rgba(184,149,42,0.1); line-height: 1; margin-bottom: 14px;
}
.service-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gold-light);
  border: 1px solid rgba(184,149,42,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--gold); margin-bottom: 20px;
}
.service-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card p  { color: var(--gray); font-size: 0.86rem; line-height: 1.85; }
.service-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--gold); font-size: 0.83rem; font-weight: 700;
  margin-top: 20px; text-decoration: none; transition: gap 0.3s;
}
.service-link:hover { gap: 12px; }

/* ===== GALLERY ===== */
#gallery { background: var(--white); }
.gallery-header { margin-bottom: 48px; text-align: center; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 270px 270px;
  gap: 14px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: 16px; cursor: pointer;
  box-shadow: var(--shadow);
}
.gallery-item:nth-child(1) { grid-column: span 5; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 3; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 5; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(26,26,26,0.78) 100%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 700; font-size: 0.9rem; }

/* ===== STATS ===== */
#stats {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 80px 60px;
}
.stats-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; text-align: center;
}
.stat-icon {
  width: 56px; height: 56px;
  background: rgba(184,149,42,0.15);
  border: 1px solid rgba(184,149,42,0.25);
  border-radius: 14px; display: flex;
  align-items: center; justify-content: center;
  color: var(--gold2); font-size: 1.3rem;
  margin: 0 auto 16px;
}
.stat-num {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold2), #F0D080);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 8px;
}
.stat-label { color: rgba(255,255,255,0.55); font-size: 0.87rem; font-weight: 600; }

/* ===== PROCESS ===== */
#process { background: var(--off-white); }
.process-header { text-align: center; margin-bottom: 60px; }
.process-header .section-desc { max-width: 500px; margin: 0 auto; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 40px; right: 12.5%; left: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold));
  opacity: 0.3;
}
.process-step { text-align: center; padding: 0 20px; position: relative; }
.step-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.4rem; color: var(--gold2);
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative; z-index: 2;
}
.process-step:hover .step-circle {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--white); border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(184,149,42,0.35);
  transform: translateY(-4px);
}
.step-num {
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--white); font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.process-step p  { color: var(--gray); font-size: 0.84rem; line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--white); }
.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-header .section-desc { max-width: 500px; margin: 0 auto; }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 26px;
  transition: all 0.3s; position: relative;
}
.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184,149,42,0.2);
}
.testi-card::before {
  content: '\201C';
  position: absolute; top: 20px; left: 26px;
  font-size: 5rem; line-height: 1;
  color: rgba(184,149,42,0.1); font-family: serif;
}
.stars { color: var(--gold); font-size: 0.82rem; margin-bottom: 16px; }
.testi-text { color: var(--gray); font-size: 0.9rem; line-height: 1.9; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 13px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 900; font-size: 0.95rem; flex-shrink: 0;
}
.testi-info strong { display: block; font-size: 0.93rem; font-weight: 700; color: var(--dark); }
.testi-info span   { color: var(--gray2); font-size: 0.78rem; }

/* ===== CONTACT ===== */
#contact { background: var(--off-white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 70px; align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 22px; margin-top: 34px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-ic {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--gold-light);
  border: 1px solid rgba(184,149,42,0.2);
  border-radius: 12px; display: flex;
  align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
}
.contact-item strong { display: block; font-size: 0.8rem; color: var(--gold); margin-bottom: 3px; font-weight: 700; letter-spacing: 0.5px; }
.contact-item p { color: var(--dark2); font-size: 0.93rem; line-height: 1.6; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px; padding: 42px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.35rem; font-weight: 700; color: var(--dark); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 700;
  color: var(--dark2); margin-bottom: 7px; letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 11px; color: var(--dark);
  font-family: var(--font); font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}
.form-group select option { background: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,149,42,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--white); border: none; border-radius: 11px;
  font-family: var(--font); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s; margin-top: 6px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(184,149,42,0.4);
}

/* ===== FOOTER ===== */
footer { background: var(--dark); padding: 60px 60px 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; max-width: 1200px; margin: 0 auto;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.87rem; line-height: 1.9; margin-top: 16px; }
.footer-logo-text span:first-child { color: var(--white) !important; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.social-link {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 0.85rem;
  text-decoration: none; transition: all 0.3s;
}
.social-link:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-color: var(--gold); color: var(--white);
  transform: translateY(-3px);
}
.footer-col h4 { font-size: 0.87rem; font-weight: 700; color: var(--white); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.42); text-decoration: none;
  font-size: 0.85rem; transition: color 0.3s;
  display: flex; align-items: center; gap: 7px;
}
.footer-col ul li a:hover { color: var(--gold2); }
.footer-bottom {
  text-align: center; color: rgba(255,255,255,0.28);
  font-size: 0.8rem; padding-top: 26px;
  max-width: 1200px; margin: 0 auto;
}
.footer-bottom span { color: var(--gold2); }

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 88vh;
  border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
#lightbox-close {
  position: absolute; top: 22px; left: 22px;
  color: var(--white); font-size: 1.5rem;
  background: rgba(255,255,255,0.1); border: none;
  width: 46px; height: 46px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
#lightbox-close:hover { background: var(--gold); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }
.fade-up.d5 { transition-delay: 0.5s; }
.fade-up.d6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  section { padding: 80px 40px; }
  nav, .topbar, footer { padding-right: 40px; padding-left: 40px; }
  .hero-inner { padding: 60px 40px; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .clients-logos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 64px 22px; }
  nav { padding: 0 22px; }
  .topbar, #clients { padding: 10px 22px; }
  footer { padding: 50px 22px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 50px 22px; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-images { height: 320px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }
  .gallery-item { grid-column: span 1 !important; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-right span:not(:first-child) { display: none; }
  .hero-trust { flex-wrap: wrap; gap: 20px; }
  .trust-divider { display: none; }
  .clients-logos-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ================================================
   BILINGUAL ADDITIONS  (appended by setup script)
   ================================================ */

/* --- Language Toggle Button --- */
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--light);
  border: 1.5px solid var(--border);
  color: var(--dark);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  margin-right: 12px;
}
.lang-btn i { font-size: 0.85rem; color: var(--gold); }
.lang-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,149,42,0.32);
}
.lang-btn:hover i { color: var(--white); }

/* --- LTR (English) body overrides --- */
body.ltr { direction: ltr; text-align: left; }

body.ltr .topbar       { flex-direction: row-reverse; }
body.ltr nav           { flex-direction: row-reverse; }
body.ltr .nav-links    { flex-direction: row-reverse; }
body.ltr .hero-inner   { direction: ltr; }
body.ltr .hero-left    { text-align: left; }
body.ltr .hero-btns    { justify-content: flex-start; }
body.ltr .hero-trust   { justify-content: flex-start; }
body.ltr .about-grid   { direction: ltr; }
body.ltr .feature-item:hover { transform: translateX(4px); }
body.ltr .section-tag,
body.ltr .section-title,
body.ltr .section-desc { text-align: left; }
body.ltr .services-header,
body.ltr .gallery-header,
body.ltr .process-header,
body.ltr .testimonials-header { text-align: left; }
body.ltr .services-header .section-desc,
body.ltr .process-header .section-desc,
body.ltr .testimonials-header .section-desc { margin: 0; }
body.ltr .footer-grid  { direction: ltr; }
body.ltr .contact-grid { direction: ltr; }
body.ltr .testi-card::before { right: 26px; left: auto; }

/* Clients carousel — LTR direction */
@keyframes scroll-clients-ltr {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0);    }
}


/* ===== BILINGUAL BLOCK START =====================================
   Added by fix_bilingual.py — safe to re-run
   ================================================================ */

/* ── English font (Inter) loaded via @import ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

/* ── Apply Inter when <body> has .ltr ── */
body.ltr,
body.ltr input,
body.ltr select,
body.ltr textarea,
body.ltr button {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

/* ── Language toggle button ── */
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--light);
  border: 1.5px solid var(--border);
  color: var(--dark);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  margin-right: 10px;
  flex-shrink: 0;
}
.lang-btn i  { font-size: 0.85rem; color: var(--gold); transition: color 0.3s; }
.lang-btn span { font-family: 'Cairo', sans-serif; }
body.ltr .lang-btn span { font-family: 'Inter', sans-serif; }
.lang-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,149,42,0.32);
}
.lang-btn:hover i { color: var(--white); }

/* ── LTR body layout overrides ── */
body.ltr { direction: ltr; text-align: left; }
body.ltr .topbar          { flex-direction: row-reverse; }
body.ltr nav              { flex-direction: row-reverse; }
body.ltr .nav-links       { flex-direction: row-reverse; }
body.ltr .hero-inner      { direction: ltr; }
body.ltr .hero-left       { text-align: left; }
body.ltr .hero-btns       { justify-content: flex-start; }
body.ltr .hero-trust      { justify-content: flex-start; direction: ltr; }
body.ltr .hero-float-card { left: -20px; right: auto; }
body.ltr .about-grid      { direction: ltr; }
body.ltr .about-img-main  { left: 0; right: auto; }
body.ltr .about-img-secondary { right: 0; left: auto; }
body.ltr .feature-item:hover  { transform: translateX(4px); }
body.ltr .section-tag,
body.ltr .section-title,
body.ltr .section-desc        { text-align: left; }
body.ltr .services-header,
body.ltr .gallery-header .section-title,
body.ltr .gallery-header .section-desc,
body.ltr .process-header,
body.ltr .testimonials-header { text-align: left; }
body.ltr .services-header .section-desc,
body.ltr .process-header .section-desc,
body.ltr .testimonials-header .section-desc { margin: 0; }
body.ltr .section-tag::before { margin-right: 0; margin-left: 8px; }
body.ltr .process-steps       { direction: ltr; }
body.ltr .footer-grid         { direction: ltr; }
body.ltr .contact-grid        { direction: ltr; }
body.ltr .testi-card::before  { right: 26px; left: auto; }
body.ltr .contact-form        { direction: ltr; text-align: left; }
body.ltr .form-group label    { text-align: left; }
body.ltr .service-link        { flex-direction: row; }
body.ltr .hero-float-badge    { right: 20px; left: auto; }

/* ── Clients carousel LTR ── */
@keyframes scroll-clients-ltr {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0);    }
}

/* ── Clients header always centered (AR + EN) ── */
body.ltr .clients-header,
body.ltr .clients-header .section-tag,
body.ltr .clients-header .section-title,
body.ltr .clients-header .section-desc {
  text-align: center !important;
}
body.ltr .clients-header .section-tag::before {
  display: none;
}
body.ltr .clients-header .section-desc {
  margin: 0 auto !important;
}

/* ── Section headers always centered in LTR/EN mode ── */
body.ltr .clients-header,
body.ltr .services-header,
body.ltr .gallery-header,
body.ltr .process-header,
body.ltr .testimonials-header {
  text-align: center !important;
}

body.ltr .clients-header .section-tag,
body.ltr .clients-header .section-title,
body.ltr .clients-header .section-desc,
body.ltr .services-header .section-tag,
body.ltr .services-header .section-title,
body.ltr .services-header .section-desc,
body.ltr .gallery-header .section-tag,
body.ltr .gallery-header .section-title,
body.ltr .gallery-header .section-desc,
body.ltr .process-header .section-tag,
body.ltr .process-header .section-title,
body.ltr .process-header .section-desc,
body.ltr .testimonials-header .section-tag,
body.ltr .testimonials-header .section-title,
body.ltr .testimonials-header .section-desc {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* إخفاء الخط الجانبي من section-tag عشان يبان صح في المنتصف */
body.ltr .services-header .section-tag::before,
body.ltr .gallery-header .section-tag::before,
body.ltr .process-header .section-tag::before,
body.ltr .testimonials-header .section-tag::before,
body.ltr .clients-header .section-tag::before {
  display: none !important;
}

/* توسيط الـ desc paragraph */
body.ltr .services-header .section-desc,
body.ltr .gallery-header .section-desc,
body.ltr .process-header .section-desc,
body.ltr .testimonials-header .section-desc,
body.ltr .clients-header .section-desc {
  max-width: 580px !important;
  margin: 0 auto !important;
}
/* ===== BILINGUAL BLOCK END ======================================= */
