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

:root {
  /* Lovable 1:1 Light Theme Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f7f4; /* Muted greenish off-white from original screenshot */
  --bg-tertiary: #e9ece9;
  
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  
  /* Matches Naomi's Original Lovable Colors perfectly */
  --heading-green: #4f6350; /* Elegant olive-sage green from headings screenshot */
  --button-gold: #d9a74a;   /* Rich warm gold from button screenshot */
  --button-gold-hover: #c89538;
  
  --olive-green: #4f6350;
  --olive-light: #f0fdf4;
  --gold-accent: #d9a74a;
  --gold-light: #fefbeb;
  
  --whatsapp-color: #25d366;
  --whatsapp-hover: #22bf5b;
  
  --border-color: #e5e7eb;
  --border-radius: 16px;
  
  /* Layout */
  --content-max-width: 1200px;
  --font-base: 'Heebo', 'Assistant', sans-serif;
}

/* Accessibility overrides */
body.acc-high-contrast {
  --bg-primary: #000000;
  --bg-secondary: #000000;
  --bg-tertiary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #ffff00;
  --border-color: #ffffff;
  --heading-green: #00ffff;
  --button-gold: #ffff00;
  background-color: #000000 !important;
}

body.acc-grayscale {
  filter: grayscale(100%) !important;
}

body.acc-dyslexia {
  --font-base: 'Arial', sans-serif !important;
}

body.acc-highlight-links a,
body.acc-highlight-links button {
  border: 2px solid #ff0000 !important;
  text-decoration: underline !important;
}

body.acc-highlight-headings h1,
body.acc-highlight-headings h2,
body.acc-highlight-headings h3 {
  border-bottom: 2px solid #ffff00 !important;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  direction: rtl;
  overflow-x: hidden;
  font-size: 15px; /* Perfect Lovable base size */
  transition: font-size 0.3s ease, background-color 0.3s ease;
}

body.acc-text-large { font-size: 19px; }
body.acc-text-small { font-size: 13px; }

/* Containers */
.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
  position: relative;
}

/* Headings color override (Sage Green) */
h1, h2, h3, .hero-title, .section-title, .bottom-cta-title, .bio-title, .modal-title {
  color: var(--heading-green);
}

/* Header / Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 800;
  padding: 12px 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.nav-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: transparent;
}

.nav-title {
  font-size: 1.25em;
  font-weight: 700;
  color: var(--heading-green);
  display: none;
}

@media (min-width: 640px) {
  .nav-title { display: block; }
}

/* Navbar Registration Button (Golden Yellow) */
.nav-cta {
  background-color: var(--button-gold);
  color: #111827;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05em;
  box-shadow: 0 4px 12px rgba(217, 167, 74, 0.25);
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--button-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 167, 74, 0.35);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 60px 0 90px 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--olive-light);
  border: 1px solid rgba(79, 99, 80, 0.2);
  color: var(--heading-green);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 1.02em;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 2.8em; /* Perfect Lovable proportion */
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--heading-green);
  display: block;
}

.hero-subtitle {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-weight: 400;
}

.meta-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .meta-box { justify-content: center; }
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 1em;
  font-weight: 600;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.meta-item i {
  font-size: 1.2em;
}

.hero-illustration {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
}

/* Registration Lead Form */
.form-container {
  margin-top: 16px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin-bottom: 16px;
}

@media (max-width: 992px) {
  .lead-form { margin-left: auto; margin-right: auto; }
}

.lead-form input {
  width: 100%;
  padding: 14px 18px; /* Elegant Lovable padding */
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 1em;
  background-color: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  text-align: right;
  direction: rtl;
}

/* Specifically force phone input to behave perfectly RTL */
.lead-form input[type="tel"] {
  direction: rtl;
  text-align: right;
}

.lead-form input:focus {
  outline: none;
  border-color: var(--heading-green);
  box-shadow: 0 0 0 3px rgba(79, 99, 80, 0.15);
}

/* CTA Buttons (Registration Phase - Golden Yellow, Black Text, No Icon) */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--button-gold);
  color: #111827;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.25em;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(217, 167, 74, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.cta-button:hover {
  background-color: var(--button-gold-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(217, 167, 74, 0.4);
}

/* Section Headings */
.section-title {
  font-size: 2.2em; /* Sleek Lovable size */
  font-weight: 800;
  text-align: center;
  margin-bottom: 56px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--heading-green);
  margin: 16px auto 0 auto;
  border-radius: 4px;
}

/* Section: What you will get */
.what-you-get-section {
  background-color: var(--bg-primary);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 40px 32px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--heading-green);
}

.card-icon {
  font-size: 2.4em;
  margin-bottom: 24px;
  display: inline-block;
}

.card-title {
  font-size: 1.25em;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-text {
  font-size: 0.98em;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Section: Why attend */
.why-attend-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.why-attend-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 64px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-attend-intro {
  font-size: 1.15em;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 48px;
  text-align: center;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.takeaway-box {
  border-top: 1px solid var(--border-color);
  padding-top: 48px;
}

.takeaway-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

/* Centered Takeaway List (Lovable match) */
.takeaway-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* This perfectly centers the bottom 2 items! */
  gap: 24px;
}

.takeaway-list li {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Text on right, checkmark on left */
  gap: 16px;
  width: calc(33.333% - 16px);
  min-width: 270px;
  font-size: 1.05em;
  font-weight: 600;
  background: var(--bg-secondary);
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

@media (max-width: 992px) {
  .takeaway-list li { width: calc(50% - 12px); }
}

@media (max-width: 640px) {
  .takeaway-list li { width: 100%; }
}

.takeaway-list li:hover {
  background: var(--olive-light);
  border-color: rgba(79, 99, 80, 0.3);
}

.takeaway-list li i {
  color: var(--heading-green);
  font-size: 1.4em;
  flex-shrink: 0;
}

/* Section: Who is the lecture for */
.who-is-it-for-section {
  background-color: var(--bg-primary);
}

.who-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.who-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.who-card:hover {
  background: var(--olive-light);
  border-color: var(--heading-green);
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.06);
}

.who-icon {
  background: var(--olive-light);
  color: var(--heading-green);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5em;
  flex-shrink: 0;
  border: 1px solid rgba(79, 99, 80, 0.2);
}

.who-text {
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-top: 6px;
}

/* Section: Testimonials */
.testimonials-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.quote-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 3em;
  color: var(--bg-tertiary);
}

.stars {
  color: var(--button-gold);
  font-size: 1.1em;
  margin-bottom: 20px;
  display: flex;
  gap: 6px;
}

.testimonial-text {
  font-size: 1.05em;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.05em;
  color: var(--text-primary);
}

/* Section: Bio (Naomi Matana) */
.bio-section {
  background-color: var(--bg-primary);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 64px;
  border-radius: 24px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.bio-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bio-title {
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 0;
}

.bio-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bio-content p {
  font-size: 1.05em;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.bio-content p strong {
  color: var(--heading-green);
  font-size: 1.15em;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.bio-content p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.15em;
  border-right: 4px solid var(--heading-green);
  padding-right: 20px;
}

/* Section: FAQ */
.faq-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.faq-question {
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.18em;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--heading-green);
}

.faq-item.active {
  border-color: var(--heading-green);
  background: var(--olive-light);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  font-size: 1.05em;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding: 0 30px 22px 30px;
  max-height: 500px;
}

/* Section: Sticky CTA / Bottom Section */
.bottom-cta-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  text-align: center;
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.bottom-cta-title {
  font-size: 2.4em;
  font-weight: 800;
  margin-bottom: 20px;
}

.bottom-cta-subtitle {
  font-size: 1.15em;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px auto;
}

/* FOOTER (1:1 LOVABLE MATCH) */
footer {
  background-color: #111827; /* Dark background */
  padding: 80px 0 40px 0;
  color: var(--text-secondary);
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-pill {
  background: #ffffff;
  padding: 16px 48px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 48px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  max-width: 900px;
}

.footer-nav a,
.footer-nav button {
  color: #9ca3af;
  text-decoration: none;
  font-size: 1.05em;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 4px 8px;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: #ffffff;
}

.footer-copyright {
  text-align: center;
  font-size: 0.98em;
  color: #6b7280;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  width: 100%;
  max-width: 800px;
}

.footer-copyright a {
  color: #9ca3af;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-copyright a:hover {
  color: #ffffff;
}

/* DEDICATED THANK YOU PAGE MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 650px;
  padding: 56px 48px;
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #f3f4f6;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.thank-you-box {
  padding: 64px 48px;
}

.thank-you-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 32px;
  margin-bottom: 36px;
}

.thank-you-icon {
  font-size: 5em;
  color: #10b981; /* Success Green */
  margin-bottom: 20px;
}

.thank-you-header h2 {
  font-size: 2.4em;
  font-weight: 800;
  color: var(--heading-green);
  margin-bottom: 12px;
}

.thank-you-subtitle {
  font-size: 1.18em;
  color: var(--text-secondary);
}

.whatsapp-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 20px;
}

.wa-big-icon {
  font-size: 4em;
  color: var(--whatsapp-color);
  margin-bottom: 20px;
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.whatsapp-card h3 {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--heading-green);
  margin-bottom: 16px;
}

.modal-desc {
  font-size: 1.05em;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Specifically for WhatsApp Join button on Thank You Page */
.wa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background-color: var(--whatsapp-color);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.25em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  width: 100%;
}

.wa-button:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Legal Modals (Privacy, Terms, Accessibility) */
.legal-modal-box {
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px;
  text-align: right;
}

.legal-modal-box h2 {
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--heading-green);
}

.legal-modal-box h3 {
  font-size: 1.4em;
  font-weight: 700;
  margin: 24px 0 12px 0;
  color: var(--text-primary);
}

.legal-modal-box p, .legal-modal-box li {
  font-size: 1.05em;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-modal-box ul {
  margin-right: 24px;
  margin-bottom: 24px;
}

/* Accessibility Floating Menu */
.acc-floating-btn {
  position: fixed;
  bottom: 32px;
  left: 32px;
  background: #ffffff;
  border: 2px solid var(--heading-green);
  color: var(--heading-green);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6em;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 900;
  transition: all 0.3s ease;
}

.acc-floating-btn:hover {
  background: var(--heading-green);
  color: #ffffff;
  transform: scale(1.08);
}

.acc-panel {
  position: fixed;
  bottom: 100px;
  left: 32px;
  width: 320px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.acc-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.acc-panel-title {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.acc-panel-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2em;
  cursor: pointer;
}

.acc-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.acc-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 1em;
  font-weight: 500;
  text-align: right;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.acc-btn:hover, .acc-btn.active {
  background: var(--olive-light);
  border-color: var(--heading-green);
  color: var(--heading-green);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-title { font-size: 2.4em; }
  .hero-subtitle { font-size: 1.15em; }
  .section-title { font-size: 2em; }
  .modal-box { padding: 40px 24px; }
  .thank-you-box { padding: 40px 24px; }
  .thank-you-header h2 { font-size: 2em; }
  .whatsapp-card { padding: 24px 16px; }
  .meta-box { gap: 16px; }
  .meta-item { padding: 10px 18px; font-size: 0.95em; }
  .bio-grid { padding: 40px 24px; }
  .why-attend-content { padding: 40px 24px; }
  .footer-logo-pill { padding: 12px 32px; }
  .footer-nav { gap: 16px; }
}

/* Form Status Messages & Disabled Button Styles */
.form-status-message {
  font-size: 1.05em;
  font-weight: 700;
  text-align: center;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  display: none;
}

.form-status-message.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #f87171;
  animation: fadeIn 0.3s ease;
}

.form-status-message.success {
  display: block;
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #86efac;
  animation: fadeIn 0.3s ease;
}

.wa-button[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  background-color: #9ca3af !important;
  box-shadow: none !important;
}

button:disabled {
  opacity: 0.7;
  cursor: wait;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== User adjustments ===== */

/* Mobile-only Naomi image below the bio ("מי אני") section */
.mobile-naomi-wrap { display: none; }
@media (max-width: 768px) {
  .mobile-naomi-wrap {
    display: block;
    margin: 32px auto 0 auto;
    max-width: 360px;
    padding: 0 8px;
  }
  .mobile-naomi-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    background: #fff;
  }
  /* Hide the hero image on mobile since it will show below the bio */
  .hero-media { display: none; }

  /* Smaller sticky top navbar on mobile */
  .navbar { padding: 6px 0; }
  .nav-logo { height: 40px; }
  .nav-cta {
    padding: 7px 14px;
    font-size: 0.9em;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(217,167,74,0.25);
  }
  .navbar-container { gap: 8px; }
}

/* Footer: about half the previous height */
footer {
  padding: 40px 0 20px 0;
}
.footer-logo-pill {
  padding: 10px 32px;
  margin-bottom: 24px;
}
.footer-logo { height: 44px; }
.footer-nav { margin-bottom: 24px; gap: 18px; }
.footer-copyright { padding-top: 18px; }

/* Keep "דרך גפ״ן" together on one line */


/* Testimonial image cards */
.testimonials-grid-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-image-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .testimonials-grid-images { grid-template-columns: 1fr; }
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.card:nth-child(2), .who-card:nth-child(2), .testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.card:nth-child(3), .who-card:nth-child(3), .testimonial-card:nth-child(3) { transition-delay: 0.2s; }
.card:nth-child(4), .who-card:nth-child(4), .testimonial-card:nth-child(4) { transition-delay: 0.3s; }
.who-card:nth-child(5) { transition-delay: 0.4s; }
.who-card:nth-child(6) { transition-delay: 0.5s; }

/* Mobile Bio section: title right, logo left, no clipped text */
@media (max-width: 640px) {
  .bio-grid {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    padding: 28px 16px !important;
    gap: 22px !important;
    overflow: visible !important;
    border-radius: 18px !important;
  }

  .bio-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-bottom: 18px !important;
    text-align: right !important;
  }

  .bio-title {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 120px) !important;
    font-size: 1.55rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    word-spacing: normal !important;
    margin: 0 !important;
    overflow: visible !important;
    text-align: right !important;
  }

  .bio-logo {
    flex: 0 0 auto !important;
    height: 34px !important;
    width: auto !important;
    max-width: 108px !important;
    object-fit: contain !important;
  }

  .bio-content {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .bio-content p {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .bio-content p strong {
    font-size: 1.05em !important;
    line-height: 1.55 !important;
  }

  .bio-content p:last-child {
    border-right-width: 3px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 380px) {
  .bio-title {
    max-width: calc(100% - 96px) !important;
    font-size: 1.35rem !important;
  }

  .bio-logo {
    height: 30px !important;
    max-width: 88px !important;
  }
}


/* ==========================================
   Form Consent Checkboxes
   ========================================== */
.form-consent {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 4px;
  text-align: right;
}
.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #374151;
  cursor: pointer;
}
.consent-item input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--heading-green, #0f766e);
  cursor: pointer;
}
.consent-item a {
  color: var(--heading-green, #0f766e);
  text-decoration: underline;
  font-weight: 600;
}
.consent-item a:hover { opacity: 0.85; }

/* ==========================================
   Cookie Consent Banner
   ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111827;
  color: #f9fafb;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.cookie-banner.active {
  transform: translateY(0);
}
.cookie-banner-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 900px;
  text-align: center;
}
.cookie-banner-btn {
  background: var(--button-gold, #d4a017);
  color: #111827;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s ease;
}
.cookie-banner-btn:hover { filter: brightness(1.08); }
@media (max-width: 640px) {
  .cookie-banner { padding: 12px 14px; gap: 10px; }
  .cookie-banner-text { font-size: 0.82rem; }
  .cookie-banner-btn { padding: 8px 18px; font-size: 0.88rem; width: 100%; }
}

/* ==========================================
   Keyboard focus-visible (accessibility)
   ========================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible,
.trigger-modal:focus-visible,
.consent-item input[type="checkbox"]:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
  border-radius: 4px;
}
