body {
margin: 0;
font-family: 'Heebo', sans-serif;
background-color: #f5f5f5;
color: #222;
direction: rtl;
}

.hero {
background-image: url('images/hero-bg.jpg'); /* תמונת רקע שתוכל להחליף */
background-size: cover;
background-position: center;
height: 100vh;
position: relative;
color: white;
}

.hero-overlay {
background-color: rgba(0, 0, 0, 0.5);
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.hero-content {
text-align: center;
max-width: 600px;
}

.hero-content h1 {
font-size: 4rem;
margin-bottom: 20px;
}

.hero-content p {
font-size: 1.5rem;
margin-bottom: 30px;
}

.btn {
background-color: #ffc107;
color: #000;
padding: 12px 24px;
font-size: 1.2rem;
border: none;
border-radius: 5px;
text-decoration: none;
}

.main-nav {
background-color: #003366;
text-align: center;
}

.main-nav ul {
list-style: none;
padding: 0;
margin: 0;
display: inline-block;
}

.main-nav li {
display: inline-block;
margin: 0 15px;
}

.main-nav a {
color: white;
text-decoration: none;
font-weight: bold;
padding: 15px;
display: inline-block;
}

.main-section {
padding: 50px 20px;
text-align: center;
}

.about {
margin-bottom: 50px;
}

.features {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
}

.feature-box {
background-color: white;
border-radius: 10px;
padding: 30px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
max-width: 300px;
text-align: center;
}

footer {
background-color: #003366;
color: white;
text-align: center;
padding: 20px 0;
}

.cta-banner {
  background: linear-gradient(to right, #004466, #0077aa);
  color: white;
  text-align: center;
  padding: 60px 20px;
  border-radius: 0;
  margin-top: 60px;
}

.cta-banner h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.cta-button {
  background-color: #ffffff;
  color: #002244;
  text-decoration: none;
  padding: 14px 28px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background-color: #ffffff;
  color: #002244;
}
.top-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background: #1b263b; /* אותו כחול */
  z-index: 2000;
}

/* מראה זהה ל-main-nav */
.top-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 10px 0;
}

.top-nav li {
  margin: 0 15px;
}

.top-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.top-nav {
  transition: transform 0.3s ease;
}

/* קונטיינר של הסלוגן */
.slogan {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  position: relative;
  display: inline-block;
}

/* הפס האדום */
.red-line {
  display: block;
  height: 4px;
  width: 0;
  background: #e10600;
  margin: 6px auto 6px;
  border-radius: 4px;
  opacity: 0;
  transition:
    width 0.8s ease,
    opacity 0.6s ease;
}

/* מצב פעיל – אחרי 2 שניות */
.red-line.show {
  width: 80px;
  opacity: 1;
}

.slogan {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

/* עוטף את המילה והקשקוש */
.scribble-wrap {
  position: relative;
  display: inline-block;
  margin-left: 6px;
}

/* SVG של הקשקוש */
.scribble {
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 110%;
  height: 22px;
}

.scribble path {
  fill: none;
  stroke: #e10600;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* מצב מצויר */
.scribble.show path {
  animation: drawScribble 1s ease forwards;
  opacity: 1;
}

@keyframes drawScribble {
  to {
    stroke-dashoffset: 0;
  }
}
