@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;700&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Heebo', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans Hebrew', sans-serif;
  background-color: #f7f9fc;
  color: #222;
  direction: rtl;
}

header {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}
.nav-links a:hover { color: #0078ff; }

.hero {
  background: linear-gradient(to right, #e6f0ff, #f7f9fc);
  text-align: center;
  padding: 100px 20px 120px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0;
  color: #0a4f9c;
  letter-spacing: 0.5px;
}
.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  margin: 16px 0 28px;
  color: #334;
}
.cta-button {
  display: inline-block;
  background: #0078ff;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 28px;
  font-size: 1.05rem;
  transition: transform .15s ease, box-shadow .2s ease, background .3s ease;
  box-shadow: 0 6px 16px rgba(0,120,255,.25);
}
.cta-button:hover {
  background: #005fcc;
  transform: translateY(-1px);
}

section {
  padding: 72px 20px;
  max-width: 1100px;
  margin: auto;
}
h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin: 0 0 28px;
  color: #0a4f9c;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: center;
  color: #222;
}

/* Services grid */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.service {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow .25s ease;
  opacity: 0;
  transform: translateY(10px);
}
.service:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,.1); }
.service.revealed { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }
.service h3 { margin: 0 0 10px; color: #0a4f9c; font-size: 1.15rem; }
.service p { margin: 0; color: #333; }

/* Reveal animation for general elements */
[data-animate="reveal"] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate="reveal"].revealed {
  opacity: 1;
  transform: translateY(0);
}

.contact p {
  text-align: center;
  font-size: 1.05rem;
  margin: 6px 0;
}
.contact-form {
  max-width: 520px;
  margin: 22px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  padding: 14px;
  font-size: 1rem;
  border: 1px solid #cfd7e3;
  border-radius: 10px;
  outline: none;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0078ff;
  box-shadow: 0 0 0 3px rgba(0,120,255,.12);
}
.contact-form button {
  background: #0078ff;
  color: #fff;
  padding: 13px;
  font-size: 1.1rem;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  transition: background .25s ease;
}
.contact-form button:hover { background: #005fcc; }

footer {
  background: #f0f4f8;
  text-align: center;
  padding: 18px;
  font-size: .95rem;
  color: #566;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .25s ease;
  z-index: 1100;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37,211,102,.55);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #0a4f9c;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(10,79,156,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .2s ease;
  z-index: 1100;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-2px); }
