:root {
    --main-gradient: linear-gradient(to right, #0ea5e9, #8b5cf6);
    --background-dark: #0f172a;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --accent-blue: #38bdf8;
  }
  
  body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
  }
  

  .navbar-dark .navbar-nav .nav-link {
  color: white;
  margin: 0 0.5rem;
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #60a5fa;
}

.form-select {
  background-color: #1e293b;
  color: white;
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  border: 1px solid #4b5563;
}


.navbar-brand .site-name {
  font-size: 1.5rem;
  font-weight: bold;
  background: var(--main-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

  
  .logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  }
  
  .logo-container:link,
  .logo-container:visited,
  .logo-container:hover,
  .logo-container:active {
  text-decoration: none;
  color: inherit;
  }
  .logo {
  height: 50px;
  width: auto;
  transition: transform 0.5s ease;
  margin-left: 12px;
  }
  
  .logo:hover {
  transform: rotate(10deg) scale(1.05);
  }
  
  @keyframes flipY {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
  }
  
  .logo.spin {
  animation: flipY 3s linear infinite;
  transform-origin: center;
  
  }
  
  .site-name {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  }
  nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: white; /* או צבע אחר שתבחר */
    transition: color 0.3s ease;
    }
    
    nav a:hover {
    color: #60a5fa; /* צבע מודגש כשעוברים עם העכבר */
    }
    
    .cta-btn {
      background: transparent;
      border: 2px solid var(--accent-blue);
      color: var(--accent-blue);
      padding: 0.5rem 1rem;
      border-radius: 8px;
      transition: 0.3s;
      cursor: pointer;
    }
    
    .cta-btn:hover {
      background-color: var(--accent-blue);
      color: #0f172a;
    }
    
.lang-switcher {
  position: fixed;
  top: 5rem;
  right: 2rem;
  z-index: 100;
}

#language-button {
  background: rgba(0, 0, 0, 0.4);
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0.3rem;
}

#language-options {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #1e293b;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.2rem;
}

#language-options button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: white;
  padding: 0.3rem;
  cursor: pointer;
  text-align: right;
}

#language-options button:hover {
  background-color: #3b3b3b;
}

     /* ===== עיצוב כללי עבור דף About ===== */
.about {
  padding: 2rem;
  background-color: #f9fafb;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about h2 {
  font-size: 2.5rem;
  margin: 2rem 0 1rem;
  background: linear-gradient(to right, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
}

/* ===== עיצוב מודרני עבור דף About ===== */
.about {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1e293b;
}

.about h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-align: center;
  letter-spacing: 1px;
}

.section-with-image {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-with-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.section-img {
  flex: 1 1 40%;
  max-width: 400px;
  height: auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.section-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

.section-text {
  flex: 1 1 50%;
  font-size: 1.125rem;
  line-height: 1.9;
  color: #334155;
  padding: 1rem;
}

.agmon-image {
  background: linear-gradient(to right, #1e40af, #9333ea);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-top: 4rem;
  transition: transform 0.3s ease;
}

.agmon-image img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 4px solid white;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
  animation: glowPulse 3s ease-in-out infinite;
}

/* אפקט זוהר בצבעים תואמים */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(147, 51, 234, 0.7),
                0 0 30px 15px rgba(30, 64, 175, 0.5);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
    transform: scale(1);
  }
}

.agmon-image .section-content {
  font-size: 1.1rem;
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto;
}

/* התאמה למסכים קטנים */
@media (max-width: 768px) {
  .section-with-image {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .agmon-image .section-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.9;
  }

  .section-img {
    margin-bottom: 1.5rem;
  }

  .agmon-image {
    padding: 2rem 1rem;
  }

  .agmon-image img {
    width: 120px;
    height: 120px;
  }
}

html[lang="he"] {
      direction: rtl;
      text-align: right;
      font-family: 'Assistant', sans-serif;
    }

    html[lang="en"] {
      direction: ltr;
      text-align: left;
      font-family: 'Inter', sans-serif;
    }
    
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap');

#why-us {
  background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 2rem;
  padding: 4rem 2rem;
  margin-top: 4rem;
  text-align: center;
  font-family: 'Rubik', sans-serif;
  position: relative;
  color: white;
}

#why-us::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.5); /* שכבת כהות מעל התמונה */
  border-radius: 2rem;
  z-index: 0;
}

#why-us .section-title {
  position: relative;
  font-size: 2.3rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
  color: #ffffff;
  z-index: 1;
}

.benefits-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  z-index: 1;
}

.benefits-list li {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 2.5rem 1.5rem 3.5rem;
  border-radius: 1.25rem;
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: start;
  position: relative;
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefits-list li::before {
  content: "✔";
  position: absolute;
  top: 1.3rem;
  left: 1.5rem;
  font-size: 1.2rem;
  color: #0ea5e9;
  font-weight: bold;
}

html[dir="rtl"] .benefits-list li {
  text-align: right;
  padding: 1.5rem 3.5rem 1.5rem 2.5rem;
}

html[dir="rtl"] .benefits-list li::before {
  left: auto;
  right: 1.5rem;
}

/* רספונסיביות */
@media (min-width: 768px) {
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  #why-us {
    padding: 2rem 1rem;
  }

  .benefits-list li {
    font-size: 1rem;
    padding: 1.3rem 2.5rem 1.3rem 3.5rem;
  }

  .benefits-list li::before {
    top: 1rem;
    font-size: 1.1rem;
  }
}
body {
  font-size: 1rem; /* גודל טקסט גמיש */
}

.container {
  width: 90%;
  max-width: 1200px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  display: flex;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 30%; /* 3 טורים במסך גדול */
}

@media (max-width: 768px) {
  .card {
    flex: 1 1 45%; /* 2 טורים במסך בינוני */
  }
}

@media (max-width: 480px) {
  .card {
    flex: 1 1 100%; /* טור אחד במסך קטן */
  }
}
footer {
  background-color: #1e293b;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}


