/* בסיס */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #003366;
  scroll-behavior: smooth;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* עיצוב כפתור תפריט המבורגר */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

/* רספונסיביות למסכים קטנים */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
/* תפריט רגיל */
nav {
  display: flex;
  gap: 20px;
}

/* רספונסיביות למסכים קטנים */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: white;
  }

  nav {
    display: none;
    flex-direction: column;
    background-color: #2A7DE1;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 10px 0;
    color: white;
  }
}

  nav {
    display: none;
    flex-direction: column;
    background-color: #2A7DE1;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 10px 0;
  }
}


.case {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.case h3 {
  color: #2A7DE1;
  margin-bottom: 15px;
}

.case p {
  color: #555555;
  font-size: 16px;
  margin-bottom: 20px;
}

.case-button {
  display: inline-block;
  background-color: #2A7DE1;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.case-button:hover {
  background-color: #1E5BAA;
  transform: scale(1.05);
}

/* כותרת עליונה */
header {
  background-color: #2A7DE1;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* תוקן כאן */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 40px;
}

header h1 {
  color: white;
  margin: 0;
  font-size: 28px;
}

header.scrolled h1, header.scrolled nav a {
  color: #2A7DE1;
}

/* ניווט */
nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #dceeff;
}

/* Hero ראשי */
.hero {
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 6px #000;
}

.hero h2 {
  font-size: 48px;
  margin: 0;
}

.hero p {
  font-size: 22px;
  margin-top: 10px;
}

.buttons {
  margin-top: 25px;
}

.buttons a {
  background-color: #2A7DE1;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.4s ease, transform 0.4s ease;
}

.buttons a:hover {
  background-color: #1E5BAA;
  transform: scale(1.05);
}

/* סקשנים */
.section {
  padding: 100px 20px 50px;
  margin-top: 80px;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* כרטיסי פתרונות ומקרי בוחן */
.feature-card, .case {
  background-color: #ffffff;
  padding: 20px;
  margin: 20px auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 600px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .case:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* טפסים */
form input, form textarea {
  width: 80%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #2A7DE1;
  border-radius: 10px;
  font-size: 16px;
}

form button {
  background-color: #2A7DE1;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

form button:hover {
  background-color: #1E5BAA;
  transform: scale(1.05);
}

/* גלריות Swiper */
.swiper-container {
  width: 90%;
  max-width: 600px;
  height: 300px;
  margin: 30px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* פוטר */
footer {
  background-color: #2A7DE1;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 40px;
}

/* --- FIXED NAVIGATION STYLES (2025-05-01) --- */

/* ---------- Navigation and Responsive Menu ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #003366;
  color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

header h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.7;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    flex-direction: column;
    background: #003366;
    padding: 15px 25px;
    border-radius: 8px;
    gap: 16px;
  }

  nav.show {
    display: flex;
  }
}

/* Offset top for fixed header */
.section:first-of-type {
  margin-top: 80px;
}
