:root {
  --gold:      #C8A050;
  --gold-light:#DEC07A;
  --dark:      #FBF7EF;
  --dark2:     #F3ECDA;
  --dark3:     #EAE0C5;
  --concrete:  #E3D8B8;
  --white:     #1A1614;
  --muted:     #6E6354;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}


nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(251,247,239,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E3D8B8;
}

.nav-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

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

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

.lang-toggle {
  background: transparent;
  border: 1px solid #CDBFA0;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 2px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  letter-spacing: 0.05em;
}

.lang-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 26px;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--white);
}


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--muted);
  transition: all 0.3s;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: rgba(251,247,239,0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E3D8B8;
  padding: 20px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a {
  text-decoration: none;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid #E3D8B8;
  transition: color 0.3s;
}

.nav-mobile-menu a:hover { color: var(--gold); }


.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

h1 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 30px;
}

h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero-desc {
  max-width: 420px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 16px 40px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid #CDBFA0;
  color: var(--white);
  padding: 16px 36px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  flex-wrap: wrap;
}

.stat-num {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}


.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(200,160,80,0.10) 0%, transparent 70%);
  height: 100%;
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
}

.hero-logo-img {
  width: min(95%, 680px);
  height: auto;
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 0 50px rgba(200,160,80,0.30));
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%,100% { filter: drop-shadow(0 0 30px rgba(200,160,80,0.20)); }
  50%      { filter: drop-shadow(0 0 70px rgba(200,160,80,0.45)); }
}

.ticker {
  background: var(--gold);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: tickerMove 30s linear infinite;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.ticker-inner span { margin: 0 50px; }
.ticker-dot { color: rgba(0,0,0,0.4); }

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


section { padding: 100px 60px; }

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 60px;
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}



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

.service-card {
  background: var(--dark2);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s;
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s ease;
}

.service-card:hover { background: var(--dark3); border-color: #DDD0AB; }
.service-card:hover::before { width: 100%; }


.service-card-arrow {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(200,160,80,0.10);
  border: 1px solid rgba(200,160,80,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.service-card:hover .service-card-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: scale(1.08);
}


body.lang-en .service-card-arrow {
  left: auto;
  right: 1.4rem;
}

.service-name {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}



.projects-section { padding: 100px 0; }

.projects-header {
  padding: 0 60px 50px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.projects-scroller {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding: 0 60px;
  scrollbar-width: none;
}

.projects-scroller::-webkit-scrollbar { display: none; }

.project-card {
  flex: 0 0 360px;
  height: 480px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark2);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  z-index: 1;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

.proj-geo-wrap {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  z-index: 2;
}

.project-cat {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project-name {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #F5F2ED;
}

.project-loc {
  font-size: 0.82rem;
  color: rgba(245,242,237,0.75);
}

.proj-geo {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(200,160,80,0.5);
  transform: rotate(45deg);
}

.proj-geo-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Tajawal', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(245,242,237,0.7);
  line-height: 1;
}



.social-floats {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
  align-items: center;
}

.social-float {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-float svg {
  width: 38px;
  height: 38px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social-float:hover { transform: scale(1.1); }

.social-float--whatsapp {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}

.social-float--whatsapp:hover {
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

.social-float--whatsapp::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: socialPulse 2s ease-out infinite;
}

@keyframes socialPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}



.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}



.ar-content { display: block; }
.en-content { display: none; }

body.lang-en .ar-content { display: none; }
body.lang-en .en-content { display: block; }
body.lang-en { direction: ltr; }

body.lang-en .hero-eyebrow::before,
body.lang-en .section-eyebrow::before { display: none; }

body.lang-en .hero-eyebrow::after,
body.lang-en .section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

body.lang-en .hero-eyebrow::after { width: 40px; }



footer {
  background: var(--dark2);
  border-top: 1px solid #E3D8B8;
  padding: 60px;
}


.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #E3D8B8;
}

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.footer-col ul li,
.footer-col ul a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  color: #8A7F68;
  text-align: center;
}



@media (max-width: 1100px) {
  nav { padding: 14px 30px; }
  .hero-left { padding: 120px 40px 70px; }
  section { padding: 80px 40px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .projects-header { padding: 0 40px 40px; }
  .projects-scroller { padding: 0 40px; }
  footer { padding: 50px 40px; }

  .hero-logo-img { width: min(95%, 640px); }
  .project-card { flex: 0 0 320px; height: 440px; }
}


@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 48vh auto;
    min-height: 100vh;
  }

  .hero-right {
    order: -1;
    height: 100%;
    min-height: 0;
  }

  .hero-logo-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px 24px;
  }

  .hero-logo-img {
    width: auto;
    height: 100%;
    max-height: 320px;
    max-width: 90%;
    object-fit: contain;
  }

  .hero-left {
    padding: 40px 24px 60px;
    justify-content: flex-start;
  }

  .hero-stats { gap: 28px; }
  section { padding: 70px 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .projects-header { padding: 0 24px 30px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .projects-scroller { padding: 0 24px; }
  .project-card { flex: 0 0 280px; height: 400px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  footer { padding: 40px 24px; }

  .social-floats { bottom: 20px; right: 20px; gap: 12px; }
  .social-float { width: 62px; height: 62px; }
  .social-float svg { width: 34px; height: 34px; }
}


@media (max-width: 600px) {
  nav { padding: 12px 16px; }
  .nav-logo { height: 38px; }
  .nav-cta { display: none; }
  .nav-mobile-menu { top: 62px; padding: 16px; }

  .hero { grid-template-rows: 44vh auto; }

  .hero-logo-wrap { padding: 75px 16px 16px; }

  .hero-logo-img {
    max-height: 260px;
    max-width: 88%;
  }

  .hero-left { padding: 32px 16px 50px; }
  .hero-desc { font-size: 0.92rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; padding: 14px 28px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat-num { font-size: 1.7rem; }

  section { padding: 60px 16px; }
  .section-title { margin-bottom: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 24px; }

  .project-card { flex: 0 0 240px; height: 340px; }
  .proj-geo-wrap { width: 54px; height: 54px; top: 16px; right: 16px; }
  .proj-geo-num { font-size: 1.2rem; }

  .social-floats { bottom: 16px; right: 16px; gap: 10px; }
  .social-float { width: 56px; height: 56px; }
  .social-float svg { width: 30px; height: 30px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 40px 16px; }
  .footer-logo { height: 44px; }
  .projects-header { padding: 0 16px 24px; }
  .projects-scroller { padding: 0 16px; }
}


@media (max-width: 380px) {
  .hero { grid-template-rows: 40vh auto; }
  .hero-logo-img { max-height: 210px; max-width: 86%; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .project-card { flex: 0 0 210px; height: 300px; }
  .proj-geo-wrap { width: 46px; height: 46px; top: 12px; right: 12px; }
  .proj-geo-num { font-size: 1rem; }

  .social-floats { bottom: 12px; right: 12px; gap: 8px; }
  .social-float { width: 50px; height: 50px; }
  .social-float svg { width: 26px; height: 26px; }
}