/* ═══════════════════════════════════════════════════════
   AL NAIRAB BUILDING CLEANING
   النيرب لتنظيف المباني
   ═══════════════════════════════════════════════════════ */

:root {
  --navy: #0a0e27;
  --navy-mid: #12183a;
  --gold: #4da6ff;
  --gold-light: #80bfff;
  --cream: #e8f0ff;
  --white: #ffffff;
  --text-muted: #8899cc;
  --card-bg: #131c3d;
  --border: rgba(77, 166, 255, 0.2);
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(10, 14, 39, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  transition: background 0.3s;
}
#navbar.scrolled { background: rgba(10, 14, 39, 0.98); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo {
  font-size: 1.2rem; font-weight: 800; color: var(--gold);
  letter-spacing: 1px; text-decoration: none;
}
.logo span { color: var(--white); font-weight: 300; }
#nav-links { list-style: none; display: flex; gap: 2rem; }
#nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s; position: relative;
}
#nav-links a::after {
  content: ''; position: absolute; bottom: -4px; right: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.3s;
}
#nav-links a:hover, #nav-links a.active { color: var(--gold); }
#nav-links a:hover::after, #nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }

.lang-btn {
  background: var(--border); border: 1px solid var(--gold);
  color: var(--gold); padding: 4px 14px; border-radius: 20px;
  cursor: pointer; font-size: 0.8rem; font-family: 'Tajawal', sans-serif;
  transition: background 0.2s;
}
.lang-btn:hover { background: rgba(77,166,255,0.2); }

/* Hamburger */
.menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 110;
}
.menu-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; right: 0; width: 100%; height: 100vh;
  background: rgba(10, 14, 39, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 1.5rem 0; }
.mobile-menu a {
  color: var(--white); text-decoration: none; font-size: 1.3rem;
  font-weight: 600; transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ─── HERO ────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(77,166,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(18,24,58,0.9) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, #06081a 100%);
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center;
  padding: 100px 5% 60px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(77,166,255,0.12); border: 1px solid var(--border);
  color: var(--gold); padding: 8px 20px; border-radius: 30px;
  font-size: 0.85rem; margin-bottom: 2rem;
}
.hero-badge::before { content: '🏆'; }
h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.15;
  background: linear-gradient(135deg, var(--white) 40%, var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
}
.hero-sub {
  font-size: 0.95rem; letter-spacing: 3px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-desc {
  font-size: 1.1rem; color: var(--text-muted); max-width: 560px;
  line-height: 1.8; margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); padding: 14px 32px; border-radius: 8px;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(77,166,255,0.3);
  display: inline-block; border: none; cursor: pointer;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(77,166,255,0.45); }
.btn-outline {
  border: 1.5px solid var(--gold); color: var(--gold);
  padding: 13px 32px; border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: 1rem; transition: background 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(77,166,255,0.1); }

.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem; flex-wrap: wrap; justify-content: center;
}
.stat { text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

/* ─── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp 0.8s ease both;
}
.fade-up:nth-child(1) { animation-delay: 0s; }
.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }
.fade-up:nth-child(4) { animation-delay: 0.3s; }
.fade-up:nth-child(5) { animation-delay: 0.4s; }
.fade-up:nth-child(6) { animation-delay: 0.5s; }

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── SECTIONS ────────────────────────────────────── */
section { padding: 90px 5%; }
.section-tag {
  font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem; font-weight: 600;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-muted); font-size: 1rem; max-width: 600px;
  line-height: 1.8; margin-bottom: 3.5rem;
}
.section-header { text-align: center; max-width: 800px; margin: 0 auto; }
.section-header .section-subtitle { margin-inline: auto; }

/* ─── GOLD DIVIDER ────────────────────────────────── */
.gold-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0.8rem auto 1rem;
}
.gold-divider.right { margin: 1rem 0 0; }

/* ─── SERVICES ────────────────────────────────────── */
#services { background: linear-gradient(180deg, var(--navy) 0%, #050710 100%); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(77,166,255,0.07) 0%, transparent 70%);
  border-radius: 50%; transform: translate(30px, -30px);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77,166,255,0.5);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* Clients strip */
.clients-strip {
  margin-top: 4rem; max-width: 1000px; margin-left: auto; margin-right: auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem 2.5rem;
  text-align: center;
}
.clients-strip p { font-size: 0.8rem; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 1rem; }
.clients-list { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.client-tag {
  background: rgba(77,166,255,0.08); border: 1px solid var(--border);
  color: var(--cream); padding: 6px 16px; border-radius: 20px;
  font-size: 0.85rem;
}

/* ─── ABOUT ───────────────────────────────────────── */
#about { background: #050710; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.about-text { color: var(--text-muted); line-height: 1.8; margin-top: 1.2rem; font-size: 0.97rem; }
.about-features { display: flex; flex-direction: column; gap: 0.8rem; margin: 2rem 0; }
.feature-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.92rem; color: var(--cream);
}
.feature-item::before {
  content: '✦'; color: var(--gold); font-size: 0.7rem; flex-shrink: 0;
}
.about-numbers {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.about-num-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem; text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.about-num-card:hover { transform: translateY(-2px); border-color: rgba(77,166,255,0.5); }
.about-num-card .n { font-size: 2.2rem; font-weight: 800; color: var(--gold); }
.about-num-card .l { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.about-location {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.9rem; margin-top: 1.5rem;
}

/* ─── PROCESS ─────────────────────────────────────── */
#process { background: linear-gradient(180deg, #050710 0%, var(--navy) 100%); }
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.step-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.step-card:hover { transform: translateY(-3px); border-color: rgba(77,166,255,0.5); }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.step-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.step-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; }

/* ─── CONTACT ─────────────────────────────────────── */
#contact { background: #050710; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem;
  align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.2rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  transition: border-color 0.3s;
}
.contact-item:hover { border-color: rgba(77,166,255,0.5); }
.contact-item-icon { font-size: 1.4rem; }
.contact-item-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-item-value { font-size: 0.95rem; font-weight: 600; color: var(--cream); }
.contact-item-value a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-item-value a:hover { color: var(--gold); }

.map-container { margin-top: 0.5rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }

.contact-form {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem;
}
.contact-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
input, select, textarea {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px; color: var(--white);
  font-family: 'Tajawal', sans-serif; font-size: 0.9rem;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold);
}
select option { background: var(--navy); color: var(--white); }
textarea { resize: vertical; min-height: 110px; }
.submit-btn {
  width: 100%; margin-top: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); border: none; padding: 15px;
  border-radius: 8px; font-size: 1rem; font-weight: 700;
  font-family: 'Tajawal', sans-serif; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* Form success state */
.form-success {
  text-align: center; padding: 2rem 1rem;
}
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); font-size: 1.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.form-success h3 { color: var(--gold); margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); }

/* ─── FLOATING BUTTONS ────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.scroll-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); border: none; color: var(--navy);
  font-size: 1.2rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 16px rgba(77,166,255,0.3);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-2px); }

@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--navy); border-top: 1px solid var(--border);
  padding: 3rem 5% 0;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem; padding-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--gold); font-size: 0.9rem; font-weight: 700;
  margin-bottom: 1rem; letter-spacing: 1px;
}
.footer-logo { font-size: 1.3rem; font-weight: 800; color: var(--gold); margin-bottom: 0.4rem; }
.footer-sub { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.8rem; letter-spacing: 1px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.85rem; color: var(--text-muted); }
.footer-contact a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0; text-align: center;
  font-size: 0.78rem; color: var(--text-muted);
}

/* ─── LTR OVERRIDES ──────────────────────────────── */
html[dir="ltr"] #nav-links a::after { right: auto; left: 0; }
html[dir="ltr"] .gold-divider { background: linear-gradient(-90deg, var(--gold), transparent); }
html[dir="ltr"] .gold-divider.right { background: linear-gradient(90deg, var(--gold), transparent); }
html[dir="ltr"] .about-location { flex-direction: row-reverse; }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  #nav-links { display: none; }
  .menu-btn { display: flex; }
  .hero-stats { gap: 1.8rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-gold, .btn-outline { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
