/* הגדרות בסיס ומשתני צבע */
:root {
    --primary-color: #005AEE; /* צבע כחול דומיננטי */
    --dark-color: #222;
    --light-color: #f4f4f4;
}

body {
    font-family: 'Heebo', sans-serif; /* או כל פונט עברי מודרני אחר מגוגל פונטס */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--dark-color);
}

/* עיצוב ה-Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-background.jpg');
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0041b2;
}

/* שימוש ב-Flexbox לתפריט */
.main-nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
}

.main-nav ul li {
    margin-right: 20px;
}

    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;700&display=swap');
    
    :root {
      --purple: #6c2bd9;
      --orange: #ff6600;
      --text-dark: #1a1a1a;
      --bg-light: #ffffff;
      --gray-light: #f7f9fc;
      --gray-dark: #333;
      --shadow-light: rgba(0, 0, 0, 0.05);
      --shadow-dark: rgba(255, 255, 255, 0.05);
    }

    :root.dark-mode {
      --bg-light: #121212;
      --text-dark: #f0f0f0;
      --gray-light: #1e1e1e;
      --gray-dark: #ccc;
      --shadow-light: rgba(255, 255, 255, 0.05);
      --shadow-dark: rgba(0, 0, 0, 0.3);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Inter', sans-serif; background: var(--bg-light); color: var(--text-dark); transition: background 0.3s, color 0.3s; line-height: 1.6; }
    body.menu-open { overflow: hidden; }
    html[dir="rtl"] body { font-family: 'Heebo', sans-serif; }

    /* --- HEADER STYLES START --- */
    header {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      background: var(--bg-light);
      box-shadow: 0 2px 10px var(--shadow-light);
      z-index: 999999;
      transition: background 0.3s, box-shadow 0.3s;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
    }

    .hamburger-btn { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1010; }
    .hamburger-btn span { width: 100%; height: 3px; background: var(--text-dark); border-radius: 5px; transition: all 0.3s ease-in-out; }
    .desktop-nav { display: none; }
    .logo {
        font-family: 'League Spartan', sans-serif;
  color: black;
  font-weight: bold;
  text-decoration: none;
  font-size: 2rem;
  transition: color 0.3s ease;
}

/* מצב כהה - הפעל צבע לבן בכוח */
body.dark-mode .logo {
  color: white !important;
}
    .mobile-controls { display: flex; align-items: center; gap: 10px; }
  
    /* --- MOBILE MENU STYLES --- */
    .mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-light); z-index: 1005; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: translateX(-100%); transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1); visibility: hidden; padding: 20px; }
    .mobile-menu canvas { position: absolute; top: 0; left: 0; z-index: -1; }
    body.menu-open .mobile-menu { transform: translateX(0); visibility: visible; }
    .mobile-menu nav { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: 400px; margin: auto 0; direction: ltr; }
    .mobile-menu nav a { color: var(--text-dark); text-decoration: none; font-weight: 600; font-size: clamp(1.8rem, 5vw, 2.2rem); padding: 12px 0; transition: color 0.2s; opacity: 0; position: relative; }
    .mobile-menu nav a::after { content: ''; position: absolute; width: 0; height: 3px; bottom: 5px; left: 0; background-color: var(--orange); transition: width 0.3s ease-out; }
    .mobile-menu nav a:hover::after { width: 100%; }
    .mobile-menu-footer { padding: 20px 0; display: flex; gap: 25px; }
    .mobile-menu-footer a svg { width: 28px; height: 28px; fill: var(--text-dark); transition: fill 0.2s, transform 0.2s; }
    .mobile-menu-footer a:hover svg { fill: var(--purple); transform: translateY(-2px); }
    body.menu-open .hamburger-btn { position: fixed; top: 28px; left: 20px; }
    body.menu-open .hamburger-btn span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    body.menu-open .hamburger-btn span:nth-child(2) { opacity: 0; }
    body.menu-open .hamburger-btn span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    .dark-toggle { background: var(--orange); color: white; padding: 8px 12px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background 0.3s; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
    .dark-toggle:hover { background: #e55a00; }
    .language-dropdown { position: relative; }
    .lang-toggle-btn { background: var(--purple); color: white; border: none; padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 600; }
    .lang-toggle-btn > * { pointer-events: none; }
    .lang-toggle-btn .dropdown-arrow { width: 12px; height: 12px; fill: white; transition: transform 0.3s ease; }
    .language-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
    .lang-options { position: absolute; top: calc(100% + 10px); left: 50%; background: var(--bg-light); border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); padding: 5px; width: 150px; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-10px); transform-origin: top center; transition: opacity 0.2s ease, visibility 0.2s, transform 0.2s ease; z-index: 1100; }
    .language-dropdown.open .lang-options { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
    .lang-option { display: flex; align-items: center; gap: 10px; padding: 10px 15px; color: var(--text-dark); text-decoration: none; font-size: 1rem; border-radius: 6px; }
    .lang-option:hover { background: var(--gray-light); color: var(--purple); }
    html[dir="rtl"] .mobile-menu { transform: translateX(100%); }
    html[dir="rtl"] body.menu-open .mobile-menu { transform: translateX(0); }
    html[dir="rtl"] body.menu-open .hamburger-btn { left: auto; right: 20px; }
    html[dir="rtl"] .mobile-menu nav { align-items: flex-end; }
    html[dir="rtl"] .mobile-menu nav a::after { left: auto; right: 0; }
    
    .hero { max-width: 1800px; display: flex ; align-items: center; justify-content: space-between; padding: 140px 0px 0px; flex-wrap: wrap; background: var(--bg-light); min-height: 60vh; margin: 0px auto; }
    .hero-content { flex: 1; min-width: 300px; padding-right: 40px; z-index: 2; }
    html[dir="rtl"] .hero-content { padding-right: 0; padding-left: 40px; }
    .hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 20px; }
    .hero-content p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--gray-dark); margin-bottom: 40px; }
    .hero-content .cta { background: var(--orange); color: white; padding: 14px 28px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: background 0.3s, transform 0.2s; display: inline-block; }
    .hero-content .cta:hover { background: #6c2bd9; transform: translateY(-2px); }
    
    /* --- 3D HOLOGRAM/GLOBE STYLES --- */
    .hero-img-container { flex: 1.2; min-width: 320px; min-height: 400px; position: relative; display: flex; align-items: center; justify-content: center; }
    #globe-container { width: 100%; max-width: 500px; aspect-ratio: 1 / 1; cursor: grab; }
    #globe-container:active { cursor: grabbing; }
    #globe-container canvas { width: 100% !important; height: 100% !important;     border-radius: 50%;}
    
    .features, .how-it-works, .testimonials, .cta-section { padding: 80px 40px; text-align: center; max-width: 1200px; margin: 0 auto; }
    .features h2, .how-it-works h2, #portfolio-section h2, .testimonials h2, .cta-section h2, #contact h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 20px; color: var(--text-dark); text-align: center; }
    #contact > p { margin-bottom: 60px; font-size: 1.1rem; color: var(--gray-dark); max-width: 600px; margin-left: auto; margin-right: auto; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.feature {
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease-in-out;
  transform: translateY(0);
  cursor: default;
  border: 1px solid #eee;
}

.feature i {
  font-size: 36px;
  display: block;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 16px;
  line-height: 1.5;
}

.feature:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: #007BFF;
}

.feature:hover i {
  transform: scale(1.3) rotate(5deg);
  color: #007BFF;
}

    .how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
    .step { padding: 30px; border-left: 4px solid var(--purple); background: var(--gray-light); border-radius: 8px; text-align: left; transition: box-shadow 0.3s; }
    html[dir="rtl"] .step { border-left: none; border-right: 4px solid var(--purple); text-align: right; }
    .step:hover { box-shadow: 0 4px 15px var(--shadow-light); }
    .step h3 { margin-bottom: 10px; color: var(--text-dark); }
    .step p { color: var(--gray-dark); }
    
    /* --- PORTFOLIO STYLES START --- */
    #portfolio-section { padding: 100px 0; background-color: var(--bg-light); }
    .portfolio-stack { position: relative; }
    .project-card { height: 100vh; width: 100%; position: sticky; top: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; color: white; }
    .project-card-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
    .project-card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 2; }
    .project-card-content { position: relative; z-index: 3; text-align: center; padding: 40px; }
    .project-card-category { font-size: 1rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
    .project-card-title { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 20px; }
    .project-card-description { font-size: clamp(1rem, 1.5vw, 1.1rem); max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }
    .project-card-cta { background: var(--orange); color: white; padding: 14px 28px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: background 0.3s, transform 0.2s; display: inline-block; }
    .project-card-cta:hover { background: var(--purple); transform: translateY(-2px) scale(1.05); }
    
    .testimonial-carousel { position: relative; overflow: hidden; max-width: 800px; margin: 20px auto; padding: 0 50px; }
    .testimonial-wrapper { display: flex; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    .testimonial-carousel .testimonial { min-width: 100%; box-sizing: border-box; background: var(--gray-light); padding: 30px; border-radius: 12px; text-align: left; flex-shrink: 0; }
    html[dir="rtl"] .testimonial { text-align: right; }
    .testimonial img { width: 60px; height: 60px; border-radius: 50%; float: left; margin-right: 15px; object-fit: cover; }
    html[dir="rtl"] .testimonial img { float: right; margin-right: 0; margin-left: 15px; }
    .testimonial p { font-size: 1.1rem; color: var(--gray-dark); }
    .testimonial strong { color: var(--text-dark); }
    .carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); background: var(--purple); color: white; border: none; padding: 12px 18px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; z-index: 10; display: flex; align-items: center; justify-content: center; transition: background 0.3s, transform 0.2s; }
    .carousel-nav:hover { background: #541da8; transform: translateY(-50%) scale(1.05); }
    .carousel-nav.prev { left: 0px; }
    .carousel-nav.next { right: 0px; }
    .carousel-dots { display: flex; justify-content: center; margin-top: 25px; }
    .dot { width: 12px; height: 12px; background: var(--gray-dark); border-radius: 50%; margin: 0 8px; cursor: pointer; transition: background 0.3s, transform 0.2s; }
    .dot.active { background: var(--orange); transform: scale(1.2); }
    .dot:hover { transform: scale(1.1); }
    .cta-section { background: var(--purple); color: white; padding: 60px 40px; border-radius: 12px; margin: 80px 10px; max-width: 1000px; justify-self: center; }
    .cta-section h2 { color: white; }
    .cta-section p { margin-bottom: 30px; font-size: 1.1rem; }
    .cta-section a { background: white; color: var(--purple); padding: 16px 32px; text-decoration: none; font-weight: 700; border-radius: 8px; margin-top: 20px; display: inline-block; transition: background 0.3s, transform 0.2s; }
    .cta-section a:hover { background: #eee; transform: translateY(-2px); }

    /* --- CONTACT FORM STYLES --- */
    #contact { padding: 80px 40px; background: var(--gray-light); }
    .contact-form { max-width: 700px; margin: 0 auto; }
    .form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
    .form-group label {
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--text-dark);
        text-align: start; /* Logical property for LTR/RTL */
    }
    html[dir="rtl"] .form-group label {
      text-align: right;
    }
    .form-group input, .form-group textarea {
        width: 100%;
        padding: 15px;
        font-family: inherit;
        font-size: 1rem;
        color: var(--text-dark);
        background: var(--bg-light);
        border: 1px solid #ddd;
        border-radius: 8px;
        transition: border-color 0.3s, box-shadow 0.3s;
    }
    .dark-mode .form-group input, .dark-mode .form-group textarea { border-color: var(--gray-dark); }
    .form-group input:focus, .form-group textarea:focus {
        outline: none;
        border-color: var(--purple);
        box-shadow: 0 0 0 3px rgba(108, 43, 217, 0.2);
    }
.contact-form button {
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
    margin-top: 10px;
    background: var(--orange);
    color: white;
    font-weight: 700;
    border-radius: 10px 15px 10px 53px;
}

.contact-form button:hover {
    background: var(--purple); /* צבע כהה יותר */
    transition: background 0.3s ease;
}


    /* --- FIXED ACTION BUTTONS --- */
    .fixed-action-buttons {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      display: flex;
      z-index: 999;
    }
    .fixed-action-buttons a {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 15px;
      color: white;
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
    }
    .fixed-action-buttons a.whatsapp-btn { background-color: var(--orange); }
    .fixed-action-buttons a.email-btn { background-color: var(--purple); }
    .fixed-action-buttons a svg {
      width: 24px;
      height: 24px;
      fill: white;
    }

[dir="rtl"] .fixed-action-buttons {
  left: 20px;
  right: auto;
}

/* מצב אנגלית (LTR) — כפתורים בצד ימין */
[dir="ltr"] .fixed-action-buttons {
  right: 20px;
  left: auto;
}

@media (max-width: 768px) {
  /* RTL — כפתורים בצד שמאל במובייל */
  [dir="rtl"] .fixed-action-buttons {
    left: 0px;
    right: auto;
  }

  /* LTR — כפתורים בצד ימין במובייל */
  [dir="ltr"] .fixed-action-buttons {
    right: 0px;
    left: auto;
  }
}

    /* DESKTOP STYLES */
    @media (min-width: 769px) {
      .desktop-nav { display: flex; align-items: center; gap: 15px; }
      header { justify-content: space-between; padding: 20px 60px; }
      .hamburger-btn, .mobile-controls, .mobile-menu { display: none; }
      .logo { }
      .logo img { max-height: 60px; }
      .desktop-nav a { text-decoration: none; font-size: 1rem; padding: 5px 10px; color: var(--gray-dark); }
      .desktop-nav a:hover, .desktop-nav a.active { color: var(--orange); }
      .desktop-nav .dark-toggle, .desktop-nav .language-dropdown { display: flex; margin-left: 15px; }
      
      .fixed-action-buttons {
        bottom: auto;
        left: auto;
        top: 50%;
        left: 20px;
        width: auto;
        flex-direction: column;
        gap: 15px;
        transform: translateY(-50%);
      }
      .fixed-action-buttons a {
        flex: none;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        transition: transform 0.2s ease;
      }
      .fixed-action-buttons a:hover {
        transform: scale(1.1);
      }
      .fixed-action-buttons a span {
        display: none; /* Hide text on desktop */
      }
    }
    
    /* MOBILE STYLES */
    @media (max-width: 768px) {
        #portfolio-section, .features, .how-it-works, .testimonials, .cta-section, #contact { padding: 60px 20px 80px; } /* Add bottom padding to avoid overlap with buttons */
        .project-card {
            position: relative; /* Undo sticky position */
            height: auto;
            margin-bottom: 60px; /* Space between cards */
            color: var(--text-dark); /* Change text color for light bg */
        }
        .project-card:last-child { margin-bottom: 0; }
        .project-card-image { position: relative; height: auto; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
        .dark-mode .project-card-image { box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
        .project-card-overlay { display: none; }
        .project-card-content { padding: 25px 0 0 0; }
        .project-card-title { font-size: 2rem; }
        .project-card-description { opacity: 1; color: var(--gray-dark); }
        .testimonial-carousel { padding: 0; overflow: visible; }
        .testimonial-wrapper { flex-direction: column; gap: 20px; transform: none !important; transition: none; }
        .testimonial-carousel .testimonial { min-width: 100%; margin-right: 0; padding: 25px; }
        .carousel-dots, .carousel-nav { display: none; }
    }
    @media (max-width: 480px) {
        .hero { flex-direction: column; text-align: center; }
        .hero-content { padding: 0; order: 2; }
        .hero-img-container { order: 1; width: 100%; flex: 1; min-height: 350px; margin-bottom: 40px; }
        .hero-content h1 { font-size: 2.5rem; }
        .hero-content p { font-size: 1rem; }
        .feature, .step { padding: 20px; }
        .testimonial-carousel .testimonial { padding: 20px; }
    }
    
    #portfolio-section {
      padding: 60px 20px;
      background-color: var(--gray-light);
    }

    .portfolio-heading {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 40px;
    }

    .portfolio-grid {
      display: grid;
      gap: 30px;
      grid-template-columns: 1fr;
    }

    @media (min-width: 768px) {
      .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1024px) {
      .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .portfolio-item {
      position: relative;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 4px 20px var(--shadow-light);
      background: var(--bg-light);
      transition: transform 0.3s ease;
    }

    .portfolio-item:hover {
      transform: translateY(-5px);
    }

    .portfolio-image {
      width: 100%;
      height: auto;
      display: block;
    }

    .portfolio-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to top, rgb(0 0 0 / 49%), #0000003d);
    }

    .portfolio-content {
      position: absolute;
      bottom: 0;
      color: white;
      padding: 20px;
      z-index: 2;
    }

    .portfolio-category {
    font-size: 0.9rem;
        background-color: var(--orange);
        width: 160px;
        text-align-last: center;
        border-radius: 10px 10px 10px 10px;
        color: white;
    }

    .portfolio-title {
      font-size: 1.3rem;
      margin: 5px 0;
    }

    .portfolio-description {
      font-size: 0.95rem;
      margin-bottom: 10px;
    }

    .portfolio-link {
      color: #fff;
      background-color: #007aff;
      padding: 8px 14px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      display: inline-block;
      transition: background 0.2s ease;
    }

    .portfolio-link:hover {
      background-color: #005fd1;
    }

#features  {
  scroll-margin-top: 40px;
}
#portfolio-section {
  scroll-margin-top: 60px;
}
#how-it-works {
  scroll-margin-top: 40px;
}
#testimonials {
  scroll-margin-top: 50px;
}
#contact {
  scroll-margin-top: 0px;
}
@media (max-width: 768px) {
  #features {
    scroll-margin-top: 40px;
  }
  #portfolio-section {
    scroll-margin-top: 40px;
  }
  #how-it-works {
    scroll-margin-top: 40px;
  }
  #testimonials {
    scroll-margin-top: 50px;
  }
  #contact {
    scroll-margin-top: 40px;
  }
}

/* מצב רגיל (בהיר) */
.logo {
  color: #000;
  transition: color 0.3s ease;
}

.hero-content h1 {
  color: #111;
  transition: color 0.3s ease;
}

/* מצב כהה */
body.dark-mode .logo,
html.dark-mode .logo {
  color: #fff !important;
}

body.dark-mode .hero-content h1,
html.dark-mode .hero-content h1 {
  color: #f5f5f5 !important;
}

@media (max-width: 768px) {
  html[dir="rtl"] .hero-content {
    padding-right: 0;
    padding-left: 0px;
  }
}

@media (max-width: 768px) {
  #globe-container canvas {
    width: 90% !important;
    height: 90% !important;
    margin: 0px auto;
  }
}

.blog-post a[data-translate-key="readMore"] {
  display: block;
  text-align: left;
  direction: ltr;
}

.blog-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  direction: rtl;
  font-family: 'League Spartan', sans-serif;
}

.blog-section h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
  text-align: center;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-post {
  background: #fefefe;
  border-radius: 18px;
  padding: 26px 30px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 4px solid #0078e7;
}

.blog-post:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.blog-post h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #202020;
}

.blog-post p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-post a {
  font-size: 1rem;
  color: #0078e7;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}

.blog-post a:hover {
  text-decoration: underline;
}

/* מובייל */
@media (max-width: 600px) {
  .blog-section {
    padding: 40px 16px;
  }

  .blog-section h1 {
    font-size: 1.6rem;
  }

  .blog-post h2 {
    font-size: 1.3rem;
  }

  .blog-post {
    padding: 22px;
  }
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.site-footer {
    background-color: #0e0125;
    text-align: center;
    padding: 16px;
    font-size: 0.95rem;
    color: #fff;
    font-family: 'League Spartan', sans-serif;
    border-top: 1px solid #0078e7;
    width: 100%;
    margin: 0;         /* מסיר שוליים חיצוניים */
    padding-left: 0;   /* מסיר ריווח פנימי בצדדים */
    padding-right: 0;
}

.site-footer .container {
  max-width: none;
  margin: 0;
  padding: 0 16px; /* או 0 אם אתה לא רוצה שום ריווח */
  width: 100%;
}

.site-footer a {
    color: #6c2bd9;
    text-decoration: none;
    font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

.hero {
    max-width: 5000px !important;
}
html[dir="rtl"] .hero-content {
    padding-right: 0;
    padding-left: 0px !important;
}
@media (max-width: 600px) {
  .site-footer {
    display: none;
  }
}