@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Amiri:wght@400;700&family=Playfair+Display:wght@400;600;700;800&display=swap');

:root {
  --green-deep: #041f12;
  --green-primary: #0B4D2C;
  --green-mid: #0e3d24;
  --green-light: #147a45;
  --gold-primary: #C9A96E;
  --gold-light: #dbbf8a;
  --gold-dark: #a88a4e;
  --gold-pale: #f0e4cc;
  --cream: #faf6ef;
  --white: #ffffff;
  --off-white: #e8e6e1;
  --dark: #080c0a;
  --gray: #9aa59f;
  --gray-light: #b5bfb9;
  --shadow: rgba(4, 31, 18, 0.35);
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-display: 'Amiri', serif;
  --font-accent: 'Playfair Display', serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--green-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-primary); border-radius: 4px; }

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s, visibility 0.8s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  width: 80px; height: 80px;
  border: 3px solid var(--gold-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  padding: 1.2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(6, 42, 24, 0.92);
  backdrop-filter: blur(20px);
  padding: 0.8rem 5%;
  box-shadow: 0 4px 30px var(--shadow);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white);
}
.nav-brand span {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: 0.3px;
}
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-weight: 500; font-size: 0.9rem; letter-spacing: 0.02em;
  position: relative; padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -2px; right: 0; width: 0; height: 2px;
  background: var(--gold-primary);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: var(--green-deep) !important;
  padding: 0.6rem 1.6rem !important;
  border-radius: 50px; font-weight: 700 !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 8px 25px rgba(196,162,101,0.4) !important;
  color: var(--green-deep) !important;
}

.nav-whatsapp {
  color: #25d366 !important;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}
.nav-whatsapp::after { display: none !important; }
.nav-whatsapp:hover { transform: scale(1.1); color: #128c7e !important; }

.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  width: 28px; height: 2px; background: var(--gold-primary);
  transition: all 0.3s; border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('hero.png') center/cover no-repeat;
  transform: scale(1.1);
  transition: transform 8s ease-out;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,42,24,0.85) 0%,
    rgba(6,42,24,0.6) 40%,
    rgba(6,42,24,0.85) 100%
  );
}
.hero-particles {
  position: absolute; inset: 0; overflow: hidden;
}
.particle {
  position: absolute; width: 3px; height: 3px;
  background: var(--gold-primary); border-radius: 50%;
  opacity: 0; animation: float-up 6s infinite;
}
@keyframes float-up {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 5%;
  max-width: 1000px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,162,101,0.15);
  border: 1px solid rgba(196,162,101,0.3);
  padding: 0.5rem 1.5rem; border-radius: 50px;
  font-size: 0.85rem; color: var(--gold-light);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: fadeInDown 1s ease 0.3s both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700; line-height: 1.4;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.5s both;
}
.hero-title .gold {
  color: var(--gold-primary);
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 620px; margin: 0 auto 2.8rem;
  font-weight: 300; line-height: 2.1;
  animation: fadeInUp 1s ease 0.7s both;
}

/* SEARCH BOX */
.hero-search-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 10px;
  animation: fadeInUp 1s ease 0.9s both;
  max-width: 900px;
  margin: 0 auto;
}
.search-fields {
  display: flex;
  background: var(--white);
  border-radius: 100px;
  padding: 8px;
  gap: 10px;
  align-items: center;
}
.search-field {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-left: 1px solid #eee;
  gap: 10px;
  color: var(--green-deep);
}
.search-field:last-of-type { border-left: none; }
.search-field.flex-grow { flex: 1; }
.search-field i { color: var(--gold-primary); font-size: 1.1rem; }
.search-field select, .search-field input {
  border: none; outline: none; background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem; color: #333;
  width: 100%; cursor: pointer;
}
.search-btn {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: var(--green-deep); padding: 12px 35px;
  border-radius: 50px; font-weight: 700;
  border: none; cursor: pointer; font-size: 1rem;
  transition: transform 0.3s; white-space: nowrap;
}
.search-btn:hover { transform: scale(1.05); }

.glass-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 25px;
  border-radius: 50px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  color: var(--gold-primary);
}
.glass-link i {
  font-size: 0.8rem;
  transition: transform 0.3s;
}
.glass-link:hover i {
  transform: translateX(-5px);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.5;
  animation: dot-pulse 2s infinite;
}
@keyframes dot-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(3); opacity: 0; }
}

.hero-scroll {
  position: absolute; bottom: 2rem;
  left: 50%; transform: translateX(-50%);
  z-index: 2; animation: bounce 2s infinite;
  color: var(--gold-primary); font-size: 1.5rem;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== STATS BAR ===== */
.stats-bar {
  position: relative; z-index: 5; margin-top: -60px; padding: 0 5%;
}
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  background: linear-gradient(135deg, var(--green-primary), var(--green-deep));
  border: 1px solid rgba(196,162,101,0.2);
  border-radius: 20px; padding: 2.5rem 3rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.8rem; font-weight: 800; color: var(--gold-primary);
  font-family: var(--font-accent); direction: ltr;
}
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 0.3rem; }

/* ===== SECTION HEADERS ===== */
section { padding: 6rem 5%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag-center {
  display: flex; align-items: center; justify-content: center; gap: 15px;
  margin-bottom: 1rem; color: var(--gold-primary);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 1px;
}
.section-tag-center .tag-line {
  height: 2px; width: 40px; background: var(--gold-primary); border-radius: 2px;
}
.section-tag-center::before {
  content: ''; height: 2px; width: 40px; background: var(--gold-primary); border-radius: 2px;
}
.section-tag-inline {
  display: flex; align-items: center; gap: 15px;
  margin-bottom: 1rem; color: var(--gold-primary);
  font-weight: 600; font-size: 0.9rem;
}
.section-tag-inline .tag-line {
  height: 2px; width: 40px; background: var(--gold-primary); border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; margin-bottom: 1rem;
}
.section-title .gold { color: var(--gold-primary); }
.section-desc {
  color: var(--gray); font-size: 1.05rem;
  max-width: 600px; margin: 0 auto; line-height: 2;
}

/* ===== ABOUT ===== */
.about { background: var(--green-deep); }
.about-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image { width: 100%; border-radius: 20px; box-shadow: 0 25px 60px rgba(0,0,0,0.3); }
.about-image-accent {
  position: absolute; top: -15px; right: -15px;
  width: 100%; height: 100%;
  border: 2px solid var(--gold-primary);
  border-radius: 20px; opacity: 0.3; z-index: -1;
}
.about-year {
  position: absolute; bottom: -20px; left: -20px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: var(--green-deep); padding: 1.2rem 2rem;
  border-radius: 16px; font-weight: 900; font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
}
.about-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; margin-bottom: 1.5rem; line-height: 1.4;
}
.about-text {
  color: rgba(255,255,255,0.8); line-height: 2.2;
  margin-bottom: 2rem; font-size: 1.1rem; font-weight: 300;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem;
}
.about-feature {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.85); font-weight: 500;
}
.about-feature i {
  color: var(--gold-primary); font-size: 1.1rem;
  width: 35px; height: 35px; display: flex; align-items: center; justify-content: center;
  background: rgba(196,162,101,0.1); border-radius: 10px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: var(--green-deep); padding: 1rem 2.5rem;
  border-radius: 50px; text-decoration: none;
  font-weight: 700; font-size: 1rem; border: none;
  cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-3px); box-shadow: 0 15px 35px rgba(196,162,101,0.35);
}

/* ===== SERVICES (Cities/Dev style) ===== */
.services { background: var(--dark); }
.services-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.ns-card {
  position: relative; border-radius: 20px; overflow: hidden;
  height: 300px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.ns-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.ns-card:hover .ns-card-img { transform: scale(1.1); }
.ns-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(4,31,18,0.95) 0%, rgba(4,31,18,0.3) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem 1.5rem; transition: background 0.4s;
}
.ns-card:hover .ns-card-overlay {
  background: linear-gradient(0deg, rgba(11,77,44,0.95) 0%, rgba(4,31,18,0.5) 100%);
}
.ns-icon {
  width: 50px; height: 50px;
  background: var(--gold-primary); color: var(--green-deep);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.ns-title {
  font-family: var(--font-display); color: var(--white);
  font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem;
}
.ns-desc { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ===== PROJECTS (White clean cards) ===== */
.projects { background: var(--green-deep); }
.projects-tabs {
  display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.tab-btn {
  padding: 0.7rem 2rem; border-radius: 50px;
  border: 1px solid rgba(196,162,101,0.2);
  background: transparent; color: var(--gray);
  font-family: 'Tajawal', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s;
}
.tab-btn.active, .tab-btn:hover {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: var(--green-deep); border-color: var(--gold-primary);
}

.ns-projects-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.ns-project-card {
  background: var(--white);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: transform 0.4s;
  display: flex; flex-direction: column;
}
.ns-project-card:hover { transform: translateY(-10px); }
.ns-project-img {
  position: relative; height: 220px; width: 100%; overflow: hidden;
}
.ns-project-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.ns-project-card:hover .ns-project-img img { transform: scale(1.08); }
.ns-badge {
  position: absolute; top: 15px; right: 15px;
  background: var(--gold-primary); color: var(--green-deep);
  padding: 5px 15px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.ns-project-content {
  padding: 1.5rem; flex-grow: 1;
}
.ns-project-title {
  color: var(--green-deep); font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem;
}
.ns-project-location {
  color: #666; font-size: 0.9rem; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 6px;
}
.ns-project-location i { color: var(--green-primary); }
.ns-project-developer {
  display: flex; align-items: center; gap: 10px;
  padding-top: 1rem; border-top: 1px solid #eee;
}
.dev-logo {
  width: 35px; height: 35px; border-radius: 50%;
  background: #f4f4f4; color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.ns-project-developer span {
  color: #333; font-size: 0.9rem; font-weight: 500;
}
.ns-project-footer {
  display: flex; border-top: 1px solid #eee;
}
.ns-btn-whatsapp, .ns-btn-call {
  flex: 1; padding: 12px 0; text-align: center; text-decoration: none;
  font-size: 0.95rem; font-weight: 600; transition: background 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ns-btn-whatsapp { color: #25d366; border-left: 1px solid #eee; }
.ns-btn-whatsapp:hover { background: #f0fdf4; }
.ns-btn-call { color: var(--green-primary); }
.ns-btn-call:hover { background: #f0fdf4; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--green-primary), var(--green-deep));
  position: relative; overflow: hidden;
}
.cta-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(196,162,101,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(196,162,101,0.05) 0%, transparent 50%);
}
.cta-content {
  position: relative; z-index: 2; max-width: 800px; margin: 0 auto; text-align: center;
}
.cta-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700; margin-bottom: 1rem;
}
.cta-desc {
  color: rgba(255,255,255,0.7); font-size: 1.1rem;
  margin-bottom: 2.5rem; line-height: 2;
}

/* ===== CONTACT ===== */
.contact { background: var(--dark); }
.contact-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 450px; gap: 3rem;
  align-items: start;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-card {
  background: rgba(11,77,44,0.2); border: 1px solid rgba(196,162,101,0.1);
  border-radius: 16px; padding: 1.5rem;
  display: flex; align-items: center; gap: 1.2rem; transition: all 0.3s;
}
.contact-card:hover { border-color: rgba(196,162,101,0.3); transform: translateX(-5px); }
.contact-card-icon {
  width: 55px; height: 55px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(196,162,101,0.15), rgba(196,162,101,0.05));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-primary); font-size: 1.3rem; flex-shrink: 0;
}
.contact-card-label { color: var(--gray); font-size: 0.85rem; }
.contact-card-value { font-weight: 600; font-size: 1rem; margin-top: 0.2rem; direction: ltr; text-align: right; }
.contact-card-value a { color: var(--white); text-decoration: none; transition: color 0.3s; }
.contact-card-value a:hover { color: var(--gold-primary); }

.ns-floating-form {
  background: var(--white);
  border-radius: 20px; padding: 2.5rem;
  box-shadow: 0 15px 50px rgba(0,0,0,0.2);
  color: #333; position: relative;
  border-top: 5px solid var(--gold-primary);
}
.ns-floating-form h3 {
  color: var(--green-deep); font-family: var(--font-display);
  font-size: 1.8rem; margin-bottom: 0.5rem;
}
.ns-floating-form p { color: #666; font-size: 0.95rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 1rem 1.2rem;
  background: #f9f9f9; border: 1px solid #e0e0e0;
  border-radius: 10px; font-family: var(--font-body);
  font-size: 0.95rem; transition: all 0.3s; outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold-primary); background: #fff;
  box-shadow: 0 0 10px rgba(196,162,101,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--green-deep); border-top: 1px solid rgba(196,162,101,0.1);
  padding: 3rem 5% 1.5rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-about p { color: var(--gray); margin-top: 1rem; line-height: 2; font-size: 0.95rem; }
.footer-heading {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 1.2rem; color: var(--gold-primary);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--gray); text-decoration: none; transition: color 0.3s; font-size: 0.95rem; }
.footer-links a:hover { color: var(--gold-primary); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 1.5rem;
  text-align: center; color: var(--gray); font-size: 0.85rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 10px; height: 10px; background: var(--gold-primary); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 10000;
  transition: transform 0.1s ease; mix-blend-mode: difference; display: none;
}
.cursor-follower {
  width: 30px; height: 30px; border: 1px solid var(--gold-primary); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9999;
  transition: transform 0.15s ease; display: none;
}
@media (pointer: fine) { .cursor, .cursor-follower { display: block; } }

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed; bottom: 30px; left: 30px;
  background: #25d366; color: white; width: 60px; height: 60px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 30px; z-index: 999; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s; text-decoration: none;
}
.whatsapp-float:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5); }
.whatsapp-float::after {
  content: "تواصل معنا"; position: absolute; left: 75px;
  background: white; color: #333; padding: 8px 18px; border-radius: 20px;
  font-size: 14px; font-weight: 700; white-space: nowrap; opacity: 0;
  transform: translateX(-15px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none; box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.whatsapp-float:hover::after { opacity: 1; transform: translateX(0); }
@keyframes pulse-green {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-float { animation: pulse-green 2s infinite; }

/* ===== FEATURED PROJECT ===== */
.featured-project-section { background: var(--dark); padding-top: 8rem; }
.fp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.fp-details { display: flex; flex-direction: column; gap: 2rem; }
.fp-info-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fp-box { background: rgba(11,77,44,0.2); border: 1px solid rgba(196,162,101,0.15); border-radius: 16px; padding: 1.5rem 1rem; text-align: center; transition: transform 0.3s; }
.fp-box:hover { transform: translateY(-5px); border-color: var(--gold-primary); }
.fp-box i { font-size: 2rem; color: var(--gold-primary); margin-bottom: 1rem; }
.fp-box h3 { color: var(--white); font-family: var(--font-display); font-size: 1.8rem; line-height: 1; margin-bottom: 0.3rem; }
.fp-box p { color: var(--gray); font-size: 0.85rem; font-weight: 500; }
.fp-features { display: flex; flex-direction: column; gap: 1.5rem; }
.fp-feature { display: flex; align-items: center; gap: 15px; }
.fp-feature-icon { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(135deg, rgba(196,162,101,0.15), rgba(196,162,101,0.05)); display: flex; align-items: center; justify-content: center; color: var(--gold-primary); font-size: 1.2rem; flex-shrink: 0; }
.fp-feature h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.2rem; }
.fp-feature p { color: var(--gray); font-size: 0.9rem; }

.fp-visual { position: relative; perspective: 1000px; }
.fp-3d-wrapper { 
  position: relative; width: 100%; height: 500px; border-radius: 20px; 
  transform-style: preserve-3d; transition: transform 0.1s ease-out;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  border: 2px solid rgba(196,162,101,0.3);
}
.fp-carousel { width: 100%; height: 100%; position: relative; border-radius: 18px; overflow: hidden; }
.fp-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease-in-out; }
.fp-slide.active { opacity: 1; z-index: 2; }
.fp-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 6s ease-out; }
.fp-slide.active img { transform: scale(1); }
.fp-carousel-nav { position: absolute; bottom: 20px; right: 20px; z-index: 10; display: flex; gap: 10px; }
.fp-carousel-nav button { width: 45px; height: 45px; border-radius: 50%; border: none; background: rgba(6,42,24,0.8); color: var(--gold-primary); cursor: pointer; backdrop-filter: blur(5px); transition: all 0.3s; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.fp-carousel-nav button:hover { background: var(--gold-primary); color: var(--green-deep); }
.fp-floating-badge { position: absolute; top: -20px; left: -20px; z-index: 10; transform: translateZ(50px); font-size: 1rem; padding: 10px 25px; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* ===== PROJECT DETAILS PAGE ===== */
.page-project { background: var(--dark); color: var(--white); }
.page-project .navbar { background: rgba(6, 42, 24, 0.98) !important; padding: 0.8rem 5%; }
.breadcrumb-area { background: var(--green-deep); padding: 7rem 5% 2rem; border-bottom: 1px solid rgba(196,162,101,0.15); }
.breadcrumb { list-style: none; display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,0.7); font-size: 0.9rem; max-width: 1200px; margin: 0 auto; }
.breadcrumb a { color: rgba(255,255,255,0.9); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold-primary); }
.breadcrumb .active { color: var(--gold-primary); font-weight: 600; }

.project-details-wrap { padding: 4rem 5%; background: var(--dark); }
.container { max-width: 1200px; margin: 0 auto; }
.pd-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }

.pd-hero-img { position: relative; border-radius: 20px; overflow: hidden; height: 400px; margin-bottom: 2rem; box-shadow: 0 15px 40px rgba(0,0,0,0.5); border: 1px solid rgba(196,162,101,0.2); }
.pd-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.pd-header { margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1.5rem; }
.pd-title { font-family: var(--font-display); font-size: 2.2rem; color: var(--white); font-weight: 700; margin-bottom: 0.5rem; }
.pd-location { color: var(--gray-light); font-size: 1rem; }
.pd-location i { color: var(--gold-primary); }

.pd-section-title { font-family: var(--font-display); color: var(--gold-primary); font-size: 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
.pd-section-title::before { content: ''; width: 4px; height: 25px; background: var(--gold-primary); border-radius: 2px; }

.pd-table { background: var(--green-deep); border-radius: 16px; overflow: hidden; border: 1px solid rgba(196,162,101,0.15); margin-bottom: 3rem; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.pd-table-row { display: flex; border-bottom: 1px solid rgba(255,255,255,0.05); }
.pd-table-row:last-child { border-bottom: none; }
.pd-cell-title { width: 40%; background: rgba(11,77,44,0.3); padding: 1.2rem; font-weight: 600; color: var(--gold-primary); border-left: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 8px; }
.pd-cell-title i { color: var(--gold-primary); width: 20px; text-align: center; }
.pd-cell-value { width: 60%; padding: 1.2rem; color: var(--white); font-weight: 500; }

.pd-description { color: var(--gray-light); line-height: 2; font-size: 1.05rem; margin-bottom: 3rem; }
.pd-description ul { margin-right: 1.5rem; margin-top: 1rem; }
.pd-description li { margin-bottom: 0.5rem; }

.gallery-container { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.4); border: 1px solid rgba(196,162,101,0.2); }
.gallery-counter { position: absolute; top: 20px; left: 20px; background: rgba(11,77,44,0.8); color: var(--gold-primary); padding: 5px 15px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; z-index: 10; backdrop-filter: blur(5px); border: 1px solid rgba(196,162,101,0.3); }
.pd-sidebar-inner { position: sticky; top: 100px; padding: 2rem; }
.pd-developer-info { display: flex; align-items: center; gap: 15px; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #eee; }
.pd-developer-info .dev-logo { width: 60px; height: 60px; font-size: 1.5rem; background: rgba(11,77,44,0.05); color: var(--green-deep); }
.pd-developer-info .dev-name span { color: #777; font-size: 0.85rem; }
.pd-developer-info .dev-name h4 { color: var(--green-deep); font-size: 1.2rem; margin-top: 0.2rem; }
.sidebar-title { font-size: 1.4rem !important; }
.pd-sidebar-actions { display: flex; gap: 10px; margin-top: 1.5rem; flex-direction: column; }
.pd-sidebar-actions a { padding: 12px; border-radius: 10px; font-size: 1rem; }
.pd-sidebar-actions .ns-btn-whatsapp { background: #25d366; color: white; border: none; }
.pd-sidebar-actions .ns-btn-whatsapp:hover { background: #20bd5a; }
.pd-sidebar-actions .ns-btn-call { background: var(--green-primary); color: white; border: none; }
.pd-sidebar-actions .ns-btn-call:hover { background: var(--green-deep); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ns-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; right: 0; left: 0;
    background: rgba(6, 42, 24, 0.98); backdrop-filter: blur(25px);
    padding: 3rem 5%; gap: 1.5rem; border-top: 1px solid rgba(196,162,101,0.1);
  }
  .nav-links.open li { width: 100%; text-align: center; }
  .nav-links.open a { font-size: 1.1rem; display: block; }
  
  .search-fields { flex-direction: column; background: transparent; padding: 0; gap: 10px; }
  .search-field { background: var(--white); border-radius: 100px; border-left: none; width: 100%; justify-content: center;}
  .search-btn { width: 100%; }
  .hero-search-box { background: transparent; border: none; padding: 0; }
  
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .ns-projects-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 2.5rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 600px; }
  .stat-number { font-size: 2.2rem; }
  .cursor, .cursor-follower { display: none !important; }
  
  .fp-grid { grid-template-columns: 1fr; }
  .fp-3d-wrapper { height: 350px; }
  .fp-info-boxes { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .fp-box { padding: 1rem 0.5rem; }
  .fp-box i { font-size: 1.5rem; }
  .fp-box h3 { font-size: 1.3rem; }
  
  .pd-hero-img { height: 250px; margin-bottom: 1.5rem; }
  .pd-title { font-size: 1.6rem; }
  .pd-section-title { font-size: 1.3rem; margin-bottom: 1rem; }
  .pd-grid { gap: 1.5rem; }
  .pd-header { margin-bottom: 1.5rem; padding-bottom: 1rem; }
  .pd-table { margin-bottom: 2rem; }
  .pd-cell-title { padding: 0.8rem 1rem; font-size: 0.95rem; }
  .pd-cell-value { padding: 0.8rem 1rem; font-size: 0.95rem; }
  .fp-info-boxes { margin-bottom: 2rem !important; }
  .pd-table-row { flex-direction: column; }
  .pd-cell-title { width: 100%; border-left: none; border-bottom: 1px solid #eee; }
  .pd-cell-value { width: 100%; }
}
