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

:root {
  --primary: #0F2A4A;
  /* Dark navy, formal */
  --primary-light: #1A365D;
  --text-main: #2D3748;
  --text-muted: #718096;
  --bg-body: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-gray: #EDF2F7;
  --accent: #3182CE;
  --shadow-sm: 0 2px 4px rgba(15, 42, 74, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 42, 74, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(15, 42, 74, 0.1);
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Heebo', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  direction: rtl;
  /* Hebrew */
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
}

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

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-main);
}

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

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-gray) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  /* text takes bit less, image text bit more */
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-text h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 32px;
}

.hero-reinforcement {
  background: var(--primary-light);
  color: var(--bg-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.125rem;
  display: inline-block;
  box-shadow: var(--shadow-md);
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  /* force wider feel */
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

/* Pain Block */
.pain-block {
  background: var(--primary);
  color: var(--bg-white);
  padding: 80px 0;
  text-align: center;
}

.pain-block h2 {
  color: var(--bg-white);
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.pain-block p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Solution Block */
.solution {
  padding: 100px 0;
  background: var(--bg-white);
  text-align: center;
}

.solution h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.solution p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-main);
}

/* Services */
.services {
  padding: 80px 0 100px;
  background: var(--bg-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--accent);
}

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

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card p {
  color: var(--text-muted);
}

/* Differentiation */
.diff-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.diff-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.diff-text h2 {
  font-size: 2.5rem;
  margin-bottom: 32px;
}

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

.diff-list li {
  font-size: 1.25rem;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.diff-list li svg {
  color: var(--accent);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
}

.diff-image {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--bg-body);
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 64px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.about p {
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

/* Report Example */
.report-example {
  padding: 100px 0;
  background: var(--primary);
  color: var(--bg-white);
  text-align: center;
}

.report-example h2 {
  color: var(--bg-white);
  font-size: 2.5rem;
  margin-bottom: 48px;
}

.report-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
}

.report-card-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  background: #fdfdfd;
}

/* Footer */
.footer {
  background: var(--primary-light);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

/* Contact Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 74, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
}

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

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

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

.modal-box h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-contact-info {
  margin-bottom: 24px;
}

.modal-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  background: #EBF4FF;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  direction: ltr;
}

.modal-phone:hover {
  background: #BEE3F8;
  color: var(--primary);
}

.modal-form .form-group {
  margin-bottom: 16px;
}

.modal-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #CBD5E0;
  border-radius: var(--radius-md);
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-body);
  transition: border-color 0.2s;
  direction: rtl;
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.modal-form textarea {
  resize: vertical;
}

.modal-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Heebo', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: var(--transition);
}

.modal-submit:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
  text-align: center;
  color: var(--primary);
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: #38A169;
}

.form-success p {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {

  .hero-content,
  .diff-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .about-inner {
    padding: 32px 24px;
  }
}