:root {
  --primary-blue: #0033aa;
  --primary-dark: #002255;
  --turquoise-green: #10b981;
  --turquoise-hover: #059669;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light-blue: #93c5fd;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
}

/* =========================================
   Hero ראשי
========================================= */
.hero-wrapper {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 88vh;
  direction: rtl;
}

.hero-content-group {
  flex: 1;
  max-width: 580px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0;
}

.hero-subtitle {
  color: var(--text-light-blue);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.hero-description {
  color: #e2e8f0;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

.btn-green {
  background-color: var(--turquoise-green);
  color: #ffffff !important;
  font-weight: 800;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-green:hover {
  background-color: var(--turquoise-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff !important;
  font-weight: 800;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-image-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: flex-end;
  height: 100%;
  position: relative;
}

.portrait-img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.bottom-banner {
  background-color: var(--primary-dark);
  color: #94a3b8;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   קובייה 1: לוח פעילות חי (Agenda Tracker)
========================================= */
.home-agenda {
  padding: 2.5rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
}

.agenda-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-right: 5px solid var(--primary-blue);
  border-radius: 16px;
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0, 51, 170, 0.04);
}

.agenda-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--turquoise-hover);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--turquoise-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnimation 1.8s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.agenda-content {
  flex-grow: 1;
}

.agenda-subtitle {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.agenda-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.agenda-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.agenda-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.agenda-btn {
  background: var(--primary-blue);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.agenda-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* =========================================
   מקטעי תוכן כלליים
========================================= */
.home-section {
  padding: 5.5rem 0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0.5rem auto 3rem auto;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 51, 170, 0.08);
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

/* --- אזור החזון / אודות (About) --- */
.home-about {
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.about-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-cta-wrapper {
  margin-top: 1.5rem;
}

.about-image-card {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 51, 170, 0.08);
  border: 1px solid var(--border);
  background-color: var(--bg-light);
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* =========================================
   קובייה 2: שלושת עמודי התווך (Pillars)
========================================= */
.home-pillars {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0.25rem 0 0.5rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.pillar-num {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(0, 51, 170, 0.08);
  line-height: 1;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 51, 170, 0.07);
  color: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pillar-icon .material-symbols-outlined {
  font-size: 28px;
}

.pillar-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.75rem 0;
}

.pillar-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 1.05rem;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-blue);
  box-shadow: 0 15px 35px rgba(0, 51, 170, 0.08);
}

/* =========================================
   קובייה 4 (חדשה): ציר זמן (Timeline)
========================================= */
.home-timeline {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
}

.timeline-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
  margin-top: 2rem;
}

.timeline-row::before {
  content: '';
  position: absolute;
  top: 7px;
  right: 15px;
  left: 15px;
  height: 2px;
  background-color: var(--border);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  padding-top: 1.75rem;
}

.step-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3.5px solid var(--turquoise-green);
  transition: transform 0.2s ease;
}

.timeline-step:hover .step-dot {
  transform: scale(1.3);
  background-color: var(--turquoise-green);
}

.step-year {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.timeline-step h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.timeline-step p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   מספרים רצים (Stats)
========================================= */
.home-stats {
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 4.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--turquoise-green);
  display: inline-block;
  line-height: 1;
}

.stat-plus {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--turquoise-green);
}

.stat-label {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.75rem;
  opacity: 0.95;
}

/* =========================================
   גריד פרויקטים (Projects)
========================================= */
.home-projects {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.home-projects h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 51, 170, 0.08);
}

.card-icon-wrapper {
  width: 54px;
  height: 54px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--turquoise-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon-wrapper .material-symbols-outlined {
  font-size: 28px;
}

.project-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.75rem 0;
}

.project-card p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-blue);
  font-weight: 800;
  text-decoration: none;
  font-size: 1.05rem;
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 0.75rem;
}

/* =========================================
   קובייה 3: בלוק הדגשה ציבורי (Highlight)
========================================= */
.home-highlight {
  padding: 4rem 0 5rem 0;
  background-color: #ffffff;
}

.highlight-container {
  background: linear-gradient(135deg, #002255 0%, #0033aa 100%);
  border-radius: 20px;
  padding: 3.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: 0 20px 45px rgba(0, 34, 85, 0.18);
}

.highlight-badge-tag {
  display: inline-block;
  color: var(--turquoise-green);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.highlight-info h2 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
  color: #ffffff;
}

.highlight-info p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin: 0;
}

.highlight-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  color: var(--primary-dark) !important;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.highlight-link-btn:hover {
  background: var(--turquoise-green);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* =========================================
   קובייה 5 (חדשה): מבזקי מדיה נבחרים (Snippets)
========================================= */
.home-media-snippets {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.media-snippets-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.media-snippets-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0.25rem 0 0 0;
}

.snippets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.snippet-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.snippet-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
  box-shadow: 0 12px 30px rgba(0, 51, 170, 0.06);
}

.snippet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.media-outlet {
  font-weight: 900;
  color: var(--primary-blue);
  font-size: 1rem;
  background: rgba(0, 51, 170, 0.06);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}

.snippet-date {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.snippet-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.65rem 0;
  line-height: 1.4;
}

.snippet-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   קובייה 6 (חדשה): שאלה ותשובה (Q&A Spotlight)
========================================= */
.home-qa-spotlight {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
}

.qa-spotlight-box {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 51, 170, 0.04);
}

.qa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--turquoise-hover);
  background: rgba(16, 185, 129, 0.1);
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.qa-badge .material-symbols-outlined {
  font-size: 20px;
}

.qa-question {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 1.5rem 0;
  line-height: 1.35;
}

.qa-answer {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background-color: var(--bg-light);
  padding: 1.75rem 2rem;
  border-radius: 12px;
  border-right: 4px solid var(--turquoise-green);
}

.answer-icon {
  color: var(--turquoise-green);
  font-size: 32px;
  flex-shrink: 0;
  margin-top: 3px;
}

.qa-answer p {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.75;
  font-weight: 600;
}

/* =========================================
   טקסט גולל אינסופי (Marquee)
========================================= */
.marquee-section {
  background-color: var(--text-dark);
  color: #ffffff;
  padding: 1.25rem 0;
  overflow: hidden;
  border-top: 3px solid var(--turquoise-green);
  position: relative;
  width: 100%;
  direction: ltr;
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: scrollMarquee 28s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  direction: rtl;
}

.marquee-content span {
  margin: 0 1.5rem;
  color: var(--turquoise-green);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================
   אזור ציטוט (Quote)
========================================= */
.home-quote {
  background-color: #ffffff; 
  position: relative;
  border-top: 1px solid var(--border);
  padding: 6rem 0;
}

.quote-icon {
  font-size: 3.5rem;
  color: rgba(0, 51, 170, 0.15);
  margin-bottom: 1rem;
}

.home-quote blockquote {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 auto 1.5rem auto;
  max-width: 850px;
  color: var(--primary-dark);
}

.home-quote cite {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--turquoise-green);
  font-style: normal;
  display: block;
}

/* =========================================
   אזור הנעה לפעולה (CTA)
========================================= */
.home-cta {
  background-color: var(--primary-blue);
  padding: 6rem 0;
}

.home-cta h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-top: 0;
  margin-bottom: 1rem;
}

.home-cta p {
  font-size: 1.25rem;
  color: #e2e8f0 !important;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.cta-btn {
  font-size: 1.15rem;
  padding: 1rem 3.5rem;
  border-radius: 50px;
  display: inline-block;
  background-color: var(--turquoise-green);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  background-color: var(--turquoise-hover);
  transform: translateY(-2px);
}

/* =========================================
   אנימציות חשיפה (Scroll Reveal)
========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   התאמות למובייל ולטאבלט
========================================= */
@media (max-width: 880px) {
  .hero-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem 0 1.5rem;
    min-height: auto;
  }

  .hero-content-group {
    align-items: center;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .portrait-img {
    max-height: 48vh;
  }

  .agenda-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .agenda-btn {
    width: 100%;
    text-align: center;
  }

  .timeline-row::before {
    display: none;
  }

  .media-snippets-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .highlight-container {
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    text-align: center;
    gap: 2rem;
  }

  .highlight-link-btn {
    width: 100%;
    justify-content: center;
  }

  .qa-spotlight-box {
    padding: 2rem 1.5rem;
  }

  .qa-answer {
    flex-direction: column;
    gap: 0.75rem;
  }
}
