/* =============================================
   WaslConnects — Main Stylesheet v2
   Brand: #25a75b (green), #0a0a0a (dark)
   ============================================= */

:root {
  --green: #25a75b;
  --green-dark: #1a7d43;
  --green-light: #e8f7ef;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --gray: #6b7280;
  --border-light: rgba(0,0,0,0.09);
  --white: #ffffff;
  --off-white: #f8fafb;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-green: 0 8px 32px rgba(37,167,91,0.25);
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar: 'Tajawal', 'Inter', sans-serif;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-en); color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── RTL body ── */
html[lang="ar"] body { font-family: var(--font-ar); }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { color: var(--gray); line-height: 1.75; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-green); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }

/* ═══════════════════════════════
   NAVIGATION
═══════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

/* Scrolled state — white bar */
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-light), 0 4px 20px rgba(0,0,0,0.06);
}

/* Logo: single image, CSS filter handles dark/light switching */
/* On dark hero: show as-is (logo already has white text + green icon) */
/* On scrolled white bar: invert so dark text shows on white bg */
.nav-logo img { height: 38px; width: auto; display: block; transition: filter 0.3s ease; }
.nav-logo .logo-white { display: block; }
.nav-logo .logo-color { display: none; }

/* When scrolled: hide the white version, show original (colored) logo */
.navbar.scrolled .nav-logo .logo-white { display: none; }
.navbar.scrolled .nav-logo .logo-color { display: block; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* LTR nav */
html[dir="ltr"] .nav-links { flex-direction: row; }
/* RTL nav */
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: center;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Scrolled nav links */
.navbar.scrolled .nav-links a { color: var(--dark); }
.navbar.scrolled .nav-links a:hover { color: var(--green); }

/* Right side controls */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.88);
  padding: 6px 13px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.02em;
}
.lang-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); color: var(--white); }
.navbar.scrolled .lang-btn { color: var(--dark); border-color: rgba(0,0,0,0.2); }
.navbar.scrolled .lang-btn:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

.nav-cta { padding: 9px 20px; font-size: 0.88rem; }

/* Scrolled CTA stays green */
.navbar.scrolled .nav-cta.btn-primary { background: var(--green); color: var(--white); }
.navbar.scrolled .nav-cta.btn-primary:hover { background: var(--green-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--dark); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--white);
  padding: 20px 5% 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 11px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
html[dir="rtl"] .mobile-menu a { text-align: right; }
html[dir="ltr"] .mobile-menu a:hover { color: var(--green); padding-left: 6px; }
html[dir="rtl"] .mobile-menu a:hover { color: var(--green); padding-right: 6px; }
.mobile-lang { margin-top: 12px; align-self: flex-start; }
html[dir="rtl"] .mobile-lang { align-self: flex-end; }

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37,167,91,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(37,167,91,0.07) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0d1a12 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,167,91,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,167,91,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* RTL hero flips columns */
html[dir="rtl"] .hero-content { direction: rtl; }

.hero-text .section-eyebrow { color: var(--green); background: rgba(37,167,91,0.12); }
.hero-title { color: var(--white); margin-bottom: 18px; }
.hero-title span { color: var(--green); }
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.58); margin-bottom: 34px; max-width: 480px; }

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
html[dir="rtl"] .hero-btns { flex-direction: row-reverse; }

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
html[dir="rtl"] .hero-stats { flex-direction: row-reverse; }

.hero-stat { text-align: center; }
html[dir="rtl"] .hero-stat { text-align: center; }

.hero-stat-num {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
  direction: ltr;
}
.hero-stat-num span { color: var(--green); }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.42); font-weight: 500; }

/* Hero Visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-card-stack { position: relative; width: 100%; max-width: 400px; }
.hero-main-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(20px);
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
html[dir="rtl"] .hero-card-header { flex-direction: row-reverse; }

.hero-card-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-card-title { color: var(--white); font-size: 0.8rem; font-weight: 600; }
.hero-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.hero-service-item {
  background: rgba(37,167,91,0.08);
  border: 1px solid rgba(37,167,91,0.18);
  border-radius: 8px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
html[dir="rtl"] .hero-service-item { flex-direction: row-reverse; }
.hero-service-item svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.hero-service-item span { font-size: 0.73rem; color: rgba(255,255,255,0.8); font-weight: 500; }

/* Floating badges */
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: 10px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--dark);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}
.hero-badge-1 { top: -18px; right: -18px; animation-delay: 0s; }
.hero-badge-2 { bottom: -18px; left: -18px; animation-delay: 1.5s; }
html[dir="rtl"] .hero-badge-1 { right: auto; left: -18px; }
html[dir="rtl"] .hero-badge-2 { left: auto; right: -18px; }

.hero-badge-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-badge-icon svg { width: 14px; height: 14px; color: var(--green); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--off-white);
  padding: 28px 5%;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
html[dir="rtl"] .trust-bar-inner { flex-direction: row-reverse; }
.trust-label { font-size: 0.76rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: center; }
html[dir="rtl"] .trust-logos { flex-direction: row-reverse; }
.trust-logo-item { font-size: 0.88rem; font-weight: 700; color: #bbb; letter-spacing: 0.04em; transition: var(--transition); cursor: default; }
.trust-logo-item:hover { color: var(--green); }

/* ═══════════════════════════════
   SECTIONS
═══════════════════════════════ */
.section { padding: 92px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 540px; margin: 0 auto; font-size: 1rem; }

/* ═══════════════════════════════
   SERVICES
═══════════════════════════════ */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover { border-color: rgba(37,167,91,0.22); box-shadow: 0 12px 36px rgba(37,167,91,0.09); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 50px; height: 50px;
  background: var(--green-light);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}
.service-icon svg { width: 24px; height: 24px; color: var(--green); }
.service-card:hover .service-icon { background: var(--green); }
.service-card:hover .service-icon svg { color: var(--white); }
.service-card h3 { margin-bottom: 9px; font-size: 1.05rem; }
.service-card p { font-size: 0.875rem; }
.service-card-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 9px;
  border-radius: 100px;
}

/* RTL service cards */
html[dir="rtl"] .service-card { text-align: right; }

/* ═══════════════════════════════
   WHY US
═══════════════════════════════ */
.why-us { background: var(--dark); color: var(--white); }
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
html[dir="rtl"] .why-us-grid { direction: rtl; }

.why-us-text h2 { color: var(--white); margin-bottom: 16px; }
.why-us-text > p { color: rgba(255,255,255,0.58); margin-bottom: 32px; }
.why-features { display: flex; flex-direction: column; gap: 18px; }
.why-feature { display: flex; gap: 14px; align-items: flex-start; }
html[dir="rtl"] .why-feature { flex-direction: row-reverse; text-align: right; }

.why-feature-icon {
  width: 40px; height: 40px;
  background: rgba(37,167,91,0.12);
  border: 1px solid rgba(37,167,91,0.22);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-feature-icon svg { width: 18px; height: 18px; color: var(--green); }
.why-feature-text h4 { color: var(--white); margin-bottom: 3px; font-size: 0.92rem; }
.why-feature-text p { font-size: 0.85rem; color: rgba(255,255,255,0.48); margin: 0; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover { background: rgba(37,167,91,0.08); border-color: rgba(37,167,91,0.22); }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 7px; direction: ltr; }
.stat-label { font-size: 0.84rem; color: rgba(255,255,255,0.48); font-weight: 500; }

/* ═══════════════════════════════
   PROCESS
═══════════════════════════════ */
.process { background: var(--off-white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 39px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(37,167,91,0.18));
}
html[dir="rtl"] .process-steps::before {
  background: linear-gradient(270deg, var(--green), rgba(37,167,91,0.18));
}
.process-step { text-align: center; padding: 0 14px; position: relative; }
.step-num {
  width: 78px; height: 78px;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover .step-num { background: var(--green); color: var(--white); transform: scale(1.06); }
.process-step h4 { margin-bottom: 8px; font-size: 0.97rem; }
.process-step p { font-size: 0.84rem; }

/* ═══════════════════════════════
   TECHNOLOGIES
═══════════════════════════════ */
.technologies { background: var(--white); }
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tech-item {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 10px;
  text-align: center;
  transition: var(--transition);
}
.tech-item:hover { border-color: rgba(37,167,91,0.3); background: var(--green-light); transform: translateY(-3px); }
.tech-item-icon { font-size: 1.5rem; line-height: 1; margin-bottom: 7px; }
.tech-item span { display: block; font-size: 0.76rem; font-weight: 600; color: var(--dark); }

/* ═══════════════════════════════
   CONTACT
═══════════════════════════════ */
.contact { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
html[dir="rtl"] .contact-grid { direction: rtl; }

.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; align-items: flex-start; gap: 13px; }
html[dir="rtl"] .contact-item { flex-direction: row-reverse; text-align: right; }

.contact-icon {
  width: 42px; height: 42px;
  background: var(--green-light);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; color: var(--green); }
.contact-item h4 { font-size: 0.82rem; color: var(--gray); margin-bottom: 2px; font-weight: 500; }
.contact-item p { font-size: 0.92rem; color: var(--dark); font-weight: 600; margin: 0; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
html[dir="rtl"] .form-group label { text-align: right; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 7px;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  font-family: inherit;
  outline: none;
}
html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group select,
html[dir="rtl"] .form-group textarea { text-align: right; direction: rtl; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(37,167,91,0.09); }
.form-group textarea { resize: vertical; min-height: 114px; }
.form-submit { width: 100%; padding: 13px; font-size: 0.96rem; justify-content: center; }
#form-success {
  display: none;
  text-align: center;
  padding: 16px;
  background: var(--green-light);
  border: 1px solid rgba(37,167,91,0.28);
  border-radius: var(--radius);
  color: var(--green-dark);
  font-weight: 600;
  margin-top: 14px;
  font-size: 0.9rem;
}

/* ═══════════════════════════════
   CTA BANNER
═══════════════════════════════ */
.cta-banner {
  background: var(--green);
  padding: 76px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 13px; }
.cta-banner p { color: rgba(255,255,255,0.78); font-size: 1rem; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html[dir="rtl"] .cta-btns { flex-direction: row-reverse; }
.btn-white { background: var(--white); color: var(--green); font-weight: 700; }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.footer { background: var(--dark-2); color: var(--white); padding: 68px 5% 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
html[dir="rtl"] .footer-grid { direction: rtl; }

.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.42); font-size: 0.85rem; margin-bottom: 18px; line-height: 1.7; }
html[dir="rtl"] .footer-brand p { text-align: right; }

.footer-socials { display: flex; gap: 8px; }
html[dir="rtl"] .footer-socials { flex-direction: row-reverse; }
.social-btn {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.55);
}
.social-btn:hover { background: var(--green); color: var(--white); }
.social-btn svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
html[dir="rtl"] .footer-col { text-align: right; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.42); transition: var(--transition); }
html[dir="ltr"] .footer-col ul li a:hover { color: var(--green); padding-left: 4px; }
html[dir="rtl"] .footer-col ul li a:hover { color: var(--green); padding-right: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
html[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
.footer-bottom p { color: rgba(255,255,255,0.28); font-size: 0.8rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 18px; }
html[dir="rtl"] .footer-bottom-links { flex-direction: row-reverse; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.28); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--green); }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  background: var(--green);
  color: var(--white);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  z-index: 999;
  border: none;
  box-shadow: var(--shadow-green);
}
html[dir="rtl"] .back-top { right: auto; left: 28px; }
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { transform: translateY(-3px); }
.back-top svg { width: 18px; height: 18px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process-steps::before { display: none; }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { display: none; }
  .why-us-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 5%; }
  .services-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 14px; }
  html[dir="rtl"] .hero-stats { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  html[dir="rtl"] .footer-bottom { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
