/* =========================
   CSS Variables
   ========================= */
:root {
  --primary-blue: #1e3a8a;
  --secondary-blue: #2563eb;
  --primary-orange: #ea580c;
  --hover-orange: #c2410c;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #334155;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --font-main: 'Assistant', sans-serif;
  --font-heading: 'Heebo', 'Assistant', sans-serif;
  --radius: 16px;
  --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* =========================
   Reset & Base Styles
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.3;
}

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

img {
  max-width: 100%;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
section { padding: 5rem 0; }

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================
   Badges & Buttons
   ========================= */
.badge,
.badge-center {
  display: inline-block;
  border: 1px solid var(--primary-orange);
  color: var(--primary-orange);
  background: rgba(234, 88, 12, 0.06);
  padding: 0.3rem 1.1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.badge-center {
  display: table;
  margin: 0 auto 1rem auto;
}

.badge-dark {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #fdba74;
  padding: 0.3rem 1.1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-orange {
  display: inline-block;
  background: linear-gradient(135deg, #f97316, var(--primary-orange));
  color: white;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-orange:hover {
  background: linear-gradient(135deg, var(--primary-orange), var(--hover-orange));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}

.btn-large {
  padding: 1rem 2.2rem;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.btn-ghost {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  transition: all 0.3s ease;
}

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

.highlight-orange { color: var(--primary-orange); }

/* =========================
   Header
   ========================= */
.main-header {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-img {
  height: 118px;
  width: auto;
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-number {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  transition: color 0.3s ease;
}

.phone-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.phone-value {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  direction: ltr;
}

.phone-number:hover { color: var(--primary-orange); }

/* =========================
   Hero Section
   ========================= */
.hero {
  background:
    radial-gradient(ellipse at top left, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(234, 88, 12, 0.07), transparent 55%);
  padding: 5.5rem 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content { flex: 1; }

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  max-width: 430px;
}

.hero-cta-row .btn-orange,
.hero-cta-row .btn-ghost {
  text-align: center;
}

.hero-image-wrapper {
  flex: 1.32;
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.18);
  object-fit: cover;
}

/* =========================
   Services / What we offer
   ========================= */
.section-title {
  font-size: 2.3rem;
  margin-bottom: 3rem;
}

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

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card-line {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--primary-orange);
  margin: 1.5rem auto 0 auto;
}

/* =========================
   About Section
   ========================= */
.about-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-image-wrapper {
  flex: 0.9;
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: -18px;
  right: 22px;
  background: white;
  color: var(--primary-blue);
  font-weight: 800;
  padding: 0.7rem 1.3rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-size: 1rem;
}

.about-content { flex: 1.2; }

.about-content h2 {
  font-size: 2.3rem;
  margin-bottom: 1.2rem;
}

.about-content p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

/* =========================
   Blue Section
   ========================= */
.blue-section {
  background: linear-gradient(160deg, #f8fafc 55%, #eef2ff);
}

.blue-inner {
  display: flex;
  gap: 2.5rem;
  align-items: stretch;
}

.blue-text-box {
  flex: 1;
  padding-left: 1rem;
}

.blue-text-box h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.blue-text-box .badge-dark {
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary-orange);
  border-color: rgba(30, 58, 138, 0.15);
}

.blue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.sectors-heading {
  font-size: 1.15rem;
  margin-top: 2.2rem;
  margin-bottom: 0.2rem;
}

.blue-tag {
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
  background: white;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

.blue-image-box {
  flex: 1;
  background: linear-gradient(150deg, var(--primary-blue), #172a6e);
  color: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.25);
}

.blue-image-box h2 {
  color: white;
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
}

.check-list {
  list-style: none;
}

.check-list li {
  margin-bottom: 1rem;
  padding-right: 2rem;
  position: relative;
}

.check-list li::before {
  content: '✔️';
  position: absolute;
  right: 0;
  top: 0;
}

.check-list.dark-text li { color: var(--text-main); }

/* =========================
   Process Steps
   ========================= */
.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}

.step-card {
  flex: 1;
  background: white;
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.2rem auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, var(--primary-orange));
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.step-arrow {
  align-self: center;
  font-size: 2rem;
  color: var(--primary-orange);
  font-weight: 800;
}

/* =========================
   Testimonials
   ========================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimo-card {
  background: var(--bg-light);
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stars { margin-bottom: 1rem; }

.testimo-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimo-card strong { color: var(--primary-blue); }

/* =========================
   Referrals (consultants)
   ========================= */
.referrals {
  background:
    radial-gradient(ellipse at top right, rgba(234, 88, 12, 0.07), transparent 55%),
    var(--bg-white);
  padding: 4rem 0;
}

.referral-inner {
  display: flex;
  justify-content: center;
}

.referral-text {
  max-width: 760px;
  text-align: center;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-soft);
}

.referral-text h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.referral-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* =========================
   FAQ
   ========================= */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.3s ease;
}

.faq-question:hover { background: var(--bg-light); }

.faq-icon {
  color: var(--primary-orange);
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 1.4rem;
  max-height: 0;
  overflow: hidden;
  color: var(--text-main);
  transition: all 0.35s ease;
}

.faq-item.active .faq-answer {
  padding: 1.2rem 1.4rem;
  max-height: 400px;
  border-top: 1px solid var(--border-light);
}

/* =========================
   Contact Section
   ========================= */
.contact {
  background: linear-gradient(150deg, var(--primary-blue), #172a6e);
  color: white;
}

.contact-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.contact-text { flex: 1.2; }

.contact-text h2 {
  color: white;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.contact-text p {
  font-size: 1.15rem;
  color: #cbd5e1;
}

.contact-phone {
  color: #fdba74;
  font-weight: 800;
  white-space: nowrap;
}

.contact-form {
  flex: 1;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-blue);
}

.form-group input {
  padding: 0.9rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.message-success {
  background: #dcfce7;
  color: #166534;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
}

.hidden { display: none !important; }

/* =========================
   Footer
   ========================= */
.main-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: white;
}

.footer-logo {
  height: 60px;
  width: auto;
  background: white;
  border-radius: 12px;
  padding: 4px;
}

.footer-contact a {
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-contact a:hover { color: #fdba74; }

.footer-copy { font-size: 0.9rem; color: #64748b; }

/* =========================
   WhatsApp
   ========================= */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-btn img {
  width: 35px;
  height: 35px;
}

.whatsapp-btn:hover { transform: scale(1.1); }

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
  .about-inner,
  .blue-inner,
  .contact-inner {
    flex-direction: column;
  }

  /* במובייל תמונת ה-cover מוצגת ראשונה, מעל הטקסט */
  .hero-inner {
    flex-direction: column-reverse;
  }

  .steps-grid { flex-direction: column; }

  .step-arrow { transform: rotate(90deg); }

  .about-image-wrapper { max-width: 420px; margin: 0 auto; }

  .contact-form { width: 100%; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .hero { padding: 3.5rem 0; }

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

  .section-title { font-size: 1.9rem; }

  .about-content h2,
  .contact-text h2 { font-size: 1.9rem; }

  .logo-img { height: 76px; }

  .phone-number span.phone-icon { display: none; }

  .phone-number { font-size: 1rem; }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
