
:root {
  --primary: #1e3a5f;
  --primary-light: #2b5284;
  --secondary: #0d9488;
  --secondary-light: #14b8a6;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --bg-light: #f8fafc;
  --bg-warm: #fefce8;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 30px rgba(30, 58, 95, 0.12);
}

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

body {
  font-family: 'Rubik', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  direction: rtl;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background-color: #eff6ff;
}

.btn-nav-cta {
  background-color: var(--secondary);
  color: var(--white) !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 8px;
  font-weight: 600 !important;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.btn-nav-cta:hover {
  background-color: var(--secondary-light);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #152c4a 100%);
  color: var(--white);
  padding: 4.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #fde68a;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.hero p {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.25s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

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

.btn-outline-light {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.2);
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grid & Cards */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
}

.card.highlight-teal .card-icon {
  background-color: #f0fdfa;
  color: var(--secondary);
}

.card.highlight-gold .card-icon {
  background-color: #fffbeb;
  color: var(--accent);
}

.card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
}

.card-link {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-link:hover {
  text-decoration: underline;
}

/* Achdut Israel Banner */
.unity-banner {
  background: linear-gradient(120deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 18px;
  padding: 2.5rem;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.unity-info {
  flex: 1;
  min-width: 280px;
}

.unity-info h3 {
  font-size: 1.65rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.unity-info p {
  color: #475569;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.unity-logo-box {
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 14px;
  border: 2px solid #f59e0b;
  text-align: center;
  min-width: 250px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12);
}

/* Info Box & Forms */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 820px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

.info-panel {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.contact-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

/* Footer */
footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1e293b;
}

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

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-col ul li a:hover {
  color: var(--secondary-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.8;
}

.alert-success {
  display: none;
  background-color: #dcfce7;
  color: #166534;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 500;
  border: 1px solid #bbf7d0;
}


.site-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 600px) {
  .site-logo {
    height: 50px;
  }
}


.achdut-logo-img {
  width: 210px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.25s ease;
}

.achdut-logo-img:hover {
  transform: scale(1.03);
}
