/* ============================
   מטה הדמוקרטיה - Global Styles
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --blue-dark:    #002699;
  --blue-primary: #0038B8;
  --blue-light:   #1a50d4;
  --blue-soft:    #e8eeff;
  --white:        #ffffff;
  --off-white:    #f4f6fc;
  --gray-light:   #e0e4f0;
  --gray:         #8892b0;
  --text-dark:    #0d1b4b;
  --text-body:    #2d3a5e;
  --shadow:       0 4px 24px rgba(0,56,184,0.12);
  --shadow-lg:    0 8px 48px rgba(0,56,184,0.18);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s ease;
  --nav-height:   72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: 'Heebo', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4 {
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
p  { margin-bottom: 1rem; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-soft);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ============================
   LAYOUT HELPERS
   ============================ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--off-white);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,56,184,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}
.btn-outline:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ============================
   NAVIGATION
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.15;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo .logo-main {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--blue-primary);
}

.nav-logo .logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-body);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-primary);
  background: var(--blue-soft);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta {
  margin-right: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    display: block;
    position: fixed;
    top: var(--nav-height);
    right: 0;
    left: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 16px 24px 24px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-links a {
    padding: 12px 16px;
  }
  .nav-cta {
    margin-right: 0;
    margin-top: 12px;
    display: block;
    text-align: center;
  }
}

/* ============================
   HERO
   ============================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 60%, var(--blue-light) 100%);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.hero-stripes {
  position: absolute;
  top: 0; bottom: 0;
  right: -40px;
  width: 8px;
  background: rgba(255,255,255,0.08);
  box-shadow:
    20px 0 0 rgba(255,255,255,0.06),
    40px 0 0 rgba(255,255,255,0.04),
    60px 0 0 rgba(255,255,255,0.03);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fff7f;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .highlight {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.55em;
  font-weight: 400;
  margin-bottom: 4px;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================
   STAT BAR
   ============================ */
.stat-bar {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 2px 12px rgba(0,56,184,0.06);
}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

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

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue-primary);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
  margin-top: 6px;
}

/* ============================
   ABOUT PREVIEW
   ============================ */
.about-preview {
  position: relative;
}

.about-preview .text-block {
  padding-right: 48px;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
}

.about-card-img {
  height: 280px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.about-card-body {
  padding: 28px;
}

.about-card-body blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.7;
  border-right: 4px solid var(--blue-primary);
  padding-right: 16px;
  margin: 0;
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: 32px;
  background: var(--blue-primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ============================
   CARDS
   ============================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(0,56,184,0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-primary);
}

.card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.card-body { padding: 24px; }
.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-primary);
  margin-bottom: 8px;
}

.card-body h3 { margin-bottom: 10px; }
.card-body p  { color: var(--gray); font-size: 0.95rem; margin-bottom: 16px; }

/* ============================
   EVENT CARDS
   ============================ */
.event-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

.event-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue-primary);
  transform: translateX(-4px);
}

.event-date-box {
  background: var(--blue-primary);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  min-width: 64px;
  flex-shrink: 0;
}

.event-date-box .day {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.event-date-box .month {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
  display: block;
  margin-top: 2px;
}

.event-info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.event-info p  { font-size: 0.9rem; color: var(--gray); margin: 0; }

.event-meta {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--gray);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  color: var(--white);
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; }

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   VALUES / ICONS GRID
   ============================ */
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue-primary);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.value-card h3 { margin-bottom: 10px; }
.value-card p  { font-size: 0.95rem; color: var(--gray); }

/* ============================
   FORM
   ============================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full { grid-column: 1 / -1; }

label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

input, textarea, select {
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  padding: 13px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-body);
  transition: border-color var(--transition);
  direction: rtl;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

textarea { resize: vertical; min-height: 140px; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
  margin-top: 3px;
}

/* ============================
   CONTACT INFO
   ============================ */
.contact-info-card {
  background: var(--blue-primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 100%;
}

.contact-info-card h3 { color: var(--white); margin-bottom: 28px; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item .text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-info-item .text span {
  font-size: 0.95rem;
  opacity: 0.85;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover { background: rgba(255,255,255,0.3); }

/* ============================
   PAGE HERO (inner pages)
   ============================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* ============================
   MAP EMBED
   ============================ */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 380px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================
   TIMELINE
   ============================ */
.timeline {
  position: relative;
  padding-right: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-light);
}

.timeline-item {
  position: relative;
  padding-right: 40px;
  padding-bottom: 48px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  right: -9px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-primary);
}

.timeline-item h3 { margin-bottom: 8px; font-size: 1.15rem; }
.timeline-item .date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 10px;
  display: block;
}
.timeline-item p { color: var(--text-body); margin: 0; }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============================
   FILTER TABS
   ============================ */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 9px 22px;
  border-radius: 100px;
  border: 2px solid var(--gray-light);
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  color: var(--text-body);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

/* ============================
   INVOLVED WAYS
   ============================ */
.involve-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}

.involve-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue-primary);
  transform: translateY(-4px);
}

.involve-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue-soft);
  line-height: 1;
}

/* ============================
   ALERT / NOTICE
   ============================ */
.notice {
  background: var(--blue-soft);
  border-right: 4px solid var(--blue-primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 960px) {
  .grid-2  { grid-template-columns: 1fr; }
  .grid-3  { grid-template-columns: repeat(2, 1fr); }
  .grid-4  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-preview .text-block { padding-right: 0; }
  .floating-badge { position: static; margin-top: 16px; }
}

@media (max-width: 600px) {
  .section  { padding: 64px 0; }
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid  { grid-template-columns: 1fr; }
  .form-grid    { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-buttons  { flex-direction: column; align-items: center; }
  .stats        { flex-direction: column; align-items: center; }

  /* Event cards — stack on mobile */
  .event-card {
    flex-wrap: wrap;
  }
  .event-card > div:last-child {
    width: 100%;
    text-align: center;
  }

  /* Filter tabs — horizontal scroll instead of overflow */
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex-shrink: 0; }

  /* Contact info card */
  .contact-info-card { padding: 28px 20px; }

  /* Map shorter on mobile */
  .map-wrapper { height: 260px; }

  /* Stat bar */
  .stat-number { font-size: 1.8rem; }

  /* Page hero */
  .page-hero { padding: 100px 0 56px; }

  /* Involve cards */
  .involve-card { padding: 24px 20px; }
}

/* ============================
   SCROLL-TO-TOP BUTTON
   ============================ */
#scroll-top-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 56, 184, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  pointer-events: none;
  z-index: 998;
}

#scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scroll-top-btn:hover {
  background: var(--blue-dark);
}
