html {
  font-size: 14px;
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  direction: rtl;
  text-align: right;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* RTL Specific Styles */
.navbar-brand {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
}

.hero-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-radius: 0 0 20px 20px;
}

.professional-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 15px;
}

.professional-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-header {
  border-radius: 15px 15px 0 0 !important;
}

.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.badge {
  border-radius: 20px;
  padding: 0.5em 0.8em;
}

.text-primary {
  color: #007bff !important;
}

.bg-primary {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0069d9 0%, #004080 100%);
  border: none;
}

/* Hebrew/RTL specific typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
}

.display-4 {
  font-weight: 700;
}

/* Search form styling */
.form-control, .form-select {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Footer */
footer {
  margin-top: auto;
}

/* Star ratings */
.text-warning .fas.fa-star {
  color: #ffc107;
}

.text-warning .far.fa-star {
  color: #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .display-4 {
    font-size: 2rem;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    margin-bottom: 0.5rem;
  }
}

/* Animation for loading states */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.professional-card {
  animation: fadeIn 0.5s ease-out;
}