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

/* ==========================================
   DESIGN VARIABLES & SYSTEM
   ========================================== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  --accent-primary: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-glow: rgba(37, 99, 235, 0.15);
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --success-color: #10b981;
  --accent-warm: #f59e0b;
  --accent-warm-soft: #fffbeb;
  --font-main: 'Assistant', 'Rubik', sans-serif;
  --font-headers: 'Rubik', 'Assistant', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 10px 20px -5px rgba(37, 99, 235, 0.15);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --max-width: 1280px;
}

/* ==========================================
   RESET & GLOBAL LAYOUT (RTL DEFAULT)
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 19px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Common Section Layout */
@keyframes scan-glow {
  0% {
    background-position: -20% -20%, center;
  }
  50% {
    background-position: 120% 120%, center;
  }
  100% {
    background-position: -20% -20%, center;
  }
}

/* Common Section Layout */
.section {
  padding: 5rem 0;
  position: relative;
  background-image: repeating-linear-gradient(-45deg, rgba(148, 163, 184, 0.045) 0px, rgba(148, 163, 184, 0.045) 1px, transparent 1px, transparent 12px);
  z-index: 1;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 65%),
    radial-gradient(rgba(148, 163, 184, 0.12) 1.2px, transparent 1.2px);
  background-size: 600px 600px, 16px 16px;
  background-repeat: no-repeat, repeat;
  background-position: -20% -20%, center;
  animation: scan-glow 18s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.section-alt {
  background-color: var(--bg-secondary);
  position: relative;
}

#about {
  background-color: #ffffff;
  position: relative;
}

#stories {
  background-color: #e0f0ff;
  position: relative;
}

#contact {
  background-color: #ffffff;
  position: relative;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  width: 100%;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-primary);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-main);
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

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

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-primary);
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.header.scrolled {
  height: 68px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  border-top-width: 3px;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
  display: block;
  transition: height var(--transition-normal);
}

.header.scrolled .logo-img {
  height: 48px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  display: none; /* logo has text, but backup */
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 1.2rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap; /* prevent link text from splitting into two lines */
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-primary);
  color: #ffffff;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  white-space: nowrap; /* prevent phone number from wrapping */
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.phone-link:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.phone-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-main);
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 170px;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(15, 23, 42, 0.96) 35%, rgba(15, 23, 42, 0.8) 60%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 720px;
  margin-right: 0;
  margin-left: auto;
  color: #ffffff;
  z-index: 2;
}

.hero-tagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-tagline::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: #60a5fa;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.75rem;
  color: #ffffff;
  font-weight: 800;
}

.hero-body-text {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.7;
}

.hero-contact-form {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  max-width: 680px;
  width: 100%;
}

.hero-input-group {
  flex-grow: 1;
  min-width: 150px;
}

.hero-input {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  border-radius: var(--border-radius-sm) !important;
}

.hero-input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.hero-input:focus {
  background-color: rgba(255, 255, 255, 0.25) !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2) !important;
}

.hero-submit-btn {
  background-color: var(--accent-primary);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.btn-hero-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
  height: 46px;
  display: inline-flex;
  align-items: center;
}

.btn-hero-outline:hover {
  background-color: #ffffff !important;
  color: var(--text-main) !important;
}

.hero-explore-link-container {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
}

.hero-explore-link {
  color: #60a5fa;
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  border-bottom: 2px dashed rgba(96, 165, 250, 0.4);
  padding-bottom: 3px;
}

.hero-explore-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  transform: translateY(2px);
}

.hero-explore-link svg {
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.hero-explore-link:hover svg {
  transform: translateY(3px);
}

/* ==========================================
   ABOUT SECTION & STATS
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: flex-start;
}

.about-image-column {
  position: relative;
}

.about-image {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--border-color);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--accent-primary);
  color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-glow);
  text-align: center;
  z-index: 10;
}

.about-badge .years {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.about-badge .text {
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
  margin-top: 0.25rem;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  position: relative;
}

.about-bio {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-bullets {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.about-bullet-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: var(--accent-primary);
  margin-top: 3px;
}

/* ==========================================
   COMPACT INLINE CONTACT FORM
   ========================================== */
.inline-contact-bar {
  background-color: #e0f0ff;
  border-top: 1px solid #c3d9f9;
  border-bottom: 1px solid #c3d9f9;
  padding: 2.2rem 1.5rem;
}

.inline-contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.inline-contact-text h4 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  letter-spacing: -0.5px;
}

.inline-contact-text p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.inline-contact-form {
  display: flex;
  gap: 1rem;
  flex-grow: 1;
  max-width: 700px;
  justify-content: flex-end;
}

.inline-input-group {
  position: relative;
  flex-grow: 1;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.inline-contact-form .btn-submit {
  flex-shrink: 0;
}

/* ==========================================
   AREAS OF EXPERTISE (10 CARDS)
   ========================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.expertise-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.expertise-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.expertise-card:hover .expertise-icon-container {
  background-color: var(--accent-primary);
  color: #ffffff;
  transform: scale(1.1);
}

.expertise-icon-container img.expertise-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: filter var(--transition-fast);
}

.expertise-card:hover .expertise-icon {
  filter: brightness(0) invert(1);
}

.expertise-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  font-weight: 700;
}

.expertise-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expertise-more-link {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition-fast);
}

.expertise-card:hover .expertise-more-link {
  gap: 0.5rem;
}

/* ==========================================
   SUCCESS STORIES (סיפורי הצלחה)
   ========================================== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.story-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.story-badge {
  align-self: flex-start;
  background-color: var(--accent-soft);
  color: var(--accent-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.story-card h3 {
  font-size: 1.38rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  line-height: 1.4;
}

.story-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.story-court {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

/* ==========================================
   RECOMMENDATIONS SECTION
   ========================================== */
.reviews-section {
  padding-bottom: 3rem;
}

.reviews-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.reviews-iframe-container {
  width: 100%;
  height: 270px;
  position: relative;
}

.reviews-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================
   NEWS PAGE & ARTICLES (דף כתבות)
   ========================================== */
.news-hero {
  padding-top: 160px;
  padding-bottom: 4rem;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.news-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.news-hero p {
  color: var(--text-light);
  font-size: 1.125rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.article-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.article-image-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-tertiary);
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.article-card:hover .article-image {
  transform: scale(1.05);
}

.article-meta {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
}

.article-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-publisher {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.article-read-more {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

/* ==========================================
   CONTACT SECTION (FULL FORM & MAP)
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-card-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-info-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-info-content p {
  color: var(--text-muted);
  font-size: 1rem;
}

.contact-map-wrapper {
  height: 280px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

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

/* Full Form */
.contact-form-card {
  background-color: #e0f0ff; /* richer light blue background */
  border: 1px solid #c3d9f9;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Form success message */
.form-response-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
}

.form-response-message.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}

/* ==========================================
   ACCESSIBILITY PAGE CONTENT
   ========================================== */
.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.policy-container h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.policy-container p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.policy-container ul {
  margin-bottom: 1.5rem;
  padding-right: 1.5rem;
  list-style-type: disc;
}

.policy-container li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================
   MODAL DIALOG (חלון קופץ)
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: #ffffff;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 850px;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-secondary);
}

.modal-header h3 {
  font-size: 1.5rem;
  color: var(--text-main);
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  max-height: 80vh;
}

.modal-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .modal-body-grid {
    display: grid;
    grid-template-columns: 1.60fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
  .modal-form-column {
    position: sticky;
    top: 0;
  }
  .modal-form-title {
    margin-top: 0;
  }
}

.modal-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .modal-form-title {
    border-top: none;
    padding-top: 0;
  }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--text-main);
  color: #e2e8f0;
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-right: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: #94a3b8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item strong {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: #64748b;
}

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

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

/* Up to Tablet (1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-image {
    max-height: 400px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-image {
    height: 400px;
  }
  .about-badge {
    bottom: -10px;
    right: -10px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-column:last-child {
    grid-column: span 2;
  }
}

/* Up to Mobile (768px) */
@media (max-width: 1024px) {
  html {
    font-size: 17.5px;
  }
  .section {
    padding: 3.5rem 0;
  }
  .header {
    height: 85px;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
  }
  .header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
  }
  .header-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .logo-img {
    height: 44px;
  }
  .header.scrolled .logo-img {
    height: 36px;
  }
  .logo-link {
    position: absolute;
    right: 4.5rem; /* placed to the left of the hamburger menu */
    top: 50%;
    transform: translateY(-50%);
  }
  .menu-toggle {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    z-index: 99;
    pointer-events: auto;
  }
  .menu-toggle svg {
    stroke: var(--text-main);
  }
  .header.scrolled .menu-toggle svg {
    stroke: var(--text-main);
  }
  .nav {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 85px);
    background-color: #ffffff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: 2rem;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-color);
  }
  .header.scrolled .nav {
    top: 70px;
    height: calc(100vh - 70px);
  }
  .nav .nav-link {
    color: var(--text-muted);
  }
  .nav .nav-link:hover,
  .nav .nav-link.active {
    color: var(--accent-primary);
  }
  .nav.open {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }
  .nav-link {
    font-size: 1.1rem;
    display: block;
    border-bottom: 1px solid var(--bg-tertiary);
    padding-bottom: 0.75rem;
  }
  .header-cta {
    position: static;
  }
  .phone-link {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 0.52rem 1.05rem;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    z-index: 99;
    pointer-events: auto;
  }
  .hero {
    padding-top: 130px;
    padding-bottom: 4rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .inline-contact-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .inline-contact-form {
    flex-direction: column;
    width: 100%;
  }
  .inline-contact-form .btn-submit {
    width: 100%;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-column:last-child {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Intermediate layout for small laptops to prevent header items from squishing */
@media (min-width: 1025px) and (max-width: 1200px) {
  .header-container {
    padding: 0 1rem;
  }
  .logo-img {
    height: 50px;
  }
  .nav-link {
    font-size: 0.82rem;
  }
  .nav-list {
    gap: 0.75rem;
  }
  .phone-link {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }
}

/* Specific mobile-first adaptive layout for very small screens (phones) */
@media (max-width: 768px) {
  .logo-img {
    height: 46px;
    max-width: 100%;
    object-fit: contain;
    margin-left: auto;
    margin-right: 0;
  }
  .header.scrolled .logo-img {
    height: 38px;
  }
  .logo-link {
    position: absolute;
    left: 4.25rem;
    right: 4.25rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .phone-link {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .phone-link span {
    display: none;
  }
  .phone-link svg {
    margin: 0;
    width: 18px;
    height: 18px;
  }
  .hero-slide {
    background-position: 15% center;
  }
  .hero-tagline::before {
    display: none;
  }
}

/* ==========================================
   ACCESSIBILITY INJECTED ADJUSTMENTS
   ========================================== */

/* Readable Font Overrides */
body.readable-font-mode,
body.readable-font-mode * {
  font-family: Arial, sans-serif !important;
}

/* Link Underlining */
body.highlight-links-mode a {
  text-decoration: underline !important;
  font-weight: 700 !important;
  background-color: yellow !important;
  color: black !important;
}

/* Large Text Mode */
body.large-text-mode {
  font-size: 1.2rem !important;
}
body.large-text-mode h1 { font-size: 4rem !important; }
body.large-text-mode h2 { font-size: 2.75rem !important; }
body.large-text-mode h3 { font-size: 1.75rem !important; }
body.large-text-mode p, 
body.large-text-mode li,
body.large-text-mode a,
body.large-text-mode button {
  font-size: 1.15rem !important;
}

/* High Contrast Inverted Mode */
body.high-contrast-mode {
  background-color: #000000 !important;
  color: #ffffff !important;
}
body.high-contrast-mode .header {
  background-color: #000000 !important;
  border-bottom: 2px solid #ffffff !important;
}
body.high-contrast-mode h1,
body.high-contrast-mode h2,
body.high-contrast-mode h3,
body.high-contrast-mode h4,
body.high-contrast-mode h5,
body.high-contrast-mode h6,
body.high-contrast-mode p,
body.high-contrast-mode li,
body.high-contrast-mode span {
  color: #ffffff !important;
}
body.high-contrast-mode a {
  color: #00ffff !important;
}
body.high-contrast-mode .section-alt,
body.high-contrast-mode .inline-contact-bar,
body.high-contrast-mode .contact-card-wrapper,
body.high-contrast-mode .modal-header,
body.high-contrast-mode .bg-secondary {
  background-color: #121212 !important;
  border-color: #333333 !important;
}
body.high-contrast-mode .expertise-card,
body.high-contrast-mode .story-card,
body.high-contrast-mode .article-card,
body.high-contrast-mode .contact-form-card,
body.high-contrast-mode .modal-box {
  background-color: #000000 !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
}
body.high-contrast-mode .btn-primary {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #ffffff !important;
}
body.high-contrast-mode .btn-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
}
body.high-contrast-mode .form-input {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
}
body.high-contrast-mode .form-input:focus {
  outline: 2px solid #00ffff !important;
}
body.high-contrast-mode .phone-link {
  background-color: #ffffff !important;
  color: #000000 !important;
}
body.high-contrast-mode .expertise-icon-container {
  background-color: #ffffff !important;
  color: #000000 !important;
}



/* ==========================================
   SERVICE PAGES LAYOUT STYLES
   ========================================== */
.service-hero {
  padding: 6rem 0 3rem 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.service-hero h1 {
  font-size: 2.5rem;
  color: var(--text-main);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.service-breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

.service-breadcrumbs a {
  color: var(--accent-primary);
  text-decoration: none;
}

.service-breadcrumbs a:hover {
  text-decoration: underline;
}

.service-main-container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .service-grid {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
}

.service-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.service-content p {
  margin-bottom: 1.5rem;
}

.service-sidebar {
  position: sticky;
  top: 100px;
}

/* Light blue contact box styling */
.service-contact-box {
  background-color: #e0f0ff; /* richer light blue */
  border: 1px solid #c3d9f9;
  border-radius: var(--border-radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.service-contact-box h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.service-contact-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.service-contact-box .form-group {
  margin-bottom: 1.25rem;
}

.service-contact-box .form-input {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
}

.service-contact-box .form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Service Page Floating Illustration Icon */
.service-icon-illustration {
  float: left;
  margin-right: 2rem;
  margin-bottom: 1.5rem;
  width: 130px;
  height: 130px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.service-icon-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .service-icon-illustration {
    float: none;
    margin: 0 auto 2rem auto;
  }
}

/* Service Page Sidebar Illustration (under contact box) */
.service-image-illustration {
  margin-top: 2rem;
  width: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-image-illustration img {
  width: 100%;
  height: auto;
  display: block;
}