:root {
  --blue-deep: #003b8e;
  --blue-light: #1f72e5;
  --blue-soft: #e3f0ff;
  --blue-border: #b7cff5;
  --blue-muted: #5f7fb5;
  --white: #ffffff;
  --off-white: #f5f7fb;
  --gray-text: #4b5563;
  --gray-muted: #9ca3af;
  --error: #dc2626;
  --success: #059669;
  --warning: #f59e0b;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  color: var(--gray-text);
  background: radial-gradient(circle at top left, #edf5ff 0, #f8fafc 45%, #f1f5f9 100%);
}

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

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

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.top-bar {
  background: linear-gradient(90deg, #0b1c3d, #003b8e);
  color: var(--white);
  font-size: 0.875rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-flag {
  font-size: 1.1rem;
}

.top-text {
  opacity: 0.8;
}

.top-bar-right {
  opacity: 0.9;
}

.top-link {
  cursor: default;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-switch {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0.9;
}

.lang-switch.active {
  opacity: 1;
  font-weight: 600;
  text-decoration: underline;
}

.lang-separator {
  opacity: 0.7;
  font-size: 0.8rem;
}

[data-lang] {
  display: none;
}

body.lang-he [data-lang="he"],
body.lang-en [data-lang="en"] {
  display: initial;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--gray-muted);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
}

.nav-links a {
  font-size: 0.9rem;
  color: #0f172a;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue-deep));
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-login {
  margin-left: 0.5rem;
}

.btn-login {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  background: red;
  color: white!important;
  border-color: transparent;
}

.btn-login:hover {
  background: #b91c1c;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, 0.3), transparent 55%),
    linear-gradient(135deg, #020617 0, #0b1f46 50%, #0b2765 100%);
  z-index: -2;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
  padding: 0;
}

.hero-slide.active {
  display: block;
}

.hero-photo {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-photo-inner {
  position: relative;
  z-index: 1;
}

.hero-photo-1 {
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.25)),
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.55), transparent 60%),
    url("images/slide-image1.jpg");
  background-size: cover;
  background-position: center;
}

.hero-photo-2 {
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.25)),
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.4), transparent 60%),
    url("images/slide-image2.jpg");
  background-size: cover;
  background-position: center;
}

.hero-photo-3 {
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.3)),
    radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.4), transparent 60%),
    url("images/slide-image3.jpg");
  background-size: cover;
  background-position: center;
}

.hero-photo-4 {
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.35)),
    radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.4), transparent 60%),
    url("images/slide-image4.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.75rem;
  align-items: stretch;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3.2vw + 1rem, 3.2rem);
  margin: 0.4rem 0 0.75rem;
}

.hero-text p {
  margin: 0 0 1.25rem;
  max-width: 34rem;
  color: #e5edff;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #dbeafe;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: #c7d2fe;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-panel {
  display: flex;
  align-items: center;
}

.hero-panel-card {
  width: 100%;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.75rem;
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.32), transparent 55%),
    rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow-soft);
}

.hero-panel-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.hero-timeline ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.hero-timeline li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.75rem;
  font-size: 0.9rem;
}

.hero-timeline li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.6);
  font-size: 0.8rem;
}

.hero-timeline strong {
  color: #e5edff;
}

.hero-timeline p {
  margin: 0.15rem 0 0;
  color: #c7d2fe;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-pills .pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(147, 197, 253, 0.6);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0 1.4rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.6);
  cursor: pointer;
}

.hero-dot.active {
  width: 22px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue-deep));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-deep));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(30, 64, 175, 0.55);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--white);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 1);
}

.btn-outline {
  background: transparent;
  color: var(--blue-light);
  border-color: rgba(191, 219, 254, 0.7);
}

.btn-outline:hover {
  background: rgba(239, 246, 255, 0.2);
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #f4f6fb 0, #ffffff 70%);
}

.section-narrow {
  padding: 3rem 0 3.5rem;
}

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

.section-header-left {
  text-align: left;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  color: #0f172a;
}

.section-header p {
  margin: 0;
  max-width: 36rem;
  color: var(--gray-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 1.1rem;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #0f172a;
}

.card p {
  margin: 0 0 0.7rem;
  color: var(--gray-muted);
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.stepper {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gray-muted);
}

.stepper li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

.stepper li.active {
  border-style: solid;
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.form-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.7rem;
  border: 1px solid var(--blue-border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.form-row .full {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.form-field label {
  font-weight: 500;
  color: #0f172a;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.5rem 0.65rem;
  font: inherit;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.55);
  background: #f9fbff;
}

.form-field input.error,
.form-field select.error,
.form-field textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.3);
}

.field-error {
  min-height: 1rem;
  font-size: 0.78rem;
  color: var(--error);
}

.form-note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--gray-muted);
}

.form-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.4), transparent);
  margin: 1.2rem 0 1.1rem;
}

.form-footer {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--gray-text);
}

.checkbox input[type="checkbox"] {
  margin-top: 0.1rem;
}

.form-result {
  margin-top: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.form-result.success {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-result.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.4fr);
  gap: 2.3rem;
  align-items: center;
}

.status-legend {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--gray-muted);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 0.35rem;
}

.status-pending {
  background: #eab308;
}

.status-review {
  background: #3b82f6;
}

.status-approved {
  background: #22c55e;
}

.status-refused {
  background: #ef4444;
}

.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.guideline-block {
  background: var(--white);
  border-radius: 1.1rem;
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.guideline-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.guideline-block ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.accordion-item {
  width: 100%;
  text-align: left;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: #f9fafb;
  padding: 0.8rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.accordion-item span:first-child {
  flex: 1;
}

.accordion-icon {
  font-weight: 600;
  color: var(--blue-light);
}

.accordion-panel {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-top: none;
  margin-top: -0.55rem;
  margin-bottom: 0.4rem;
  padding: 0 0.9rem 0.75rem;
  font-size: 0.88rem;
  color: var(--gray-text);
  display: none;
}

.accordion-panel.open {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.5fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.contact-list strong {
  display: block;
  color: #0f172a;
}

.contact-list span {
  color: var(--gray-muted);
}

.image-slider {
  position: relative;
  border-radius: 1.4rem;
  background: radial-gradient(circle at top left, #dbeafe, #eff6ff);
  padding: 1.4rem 1.4rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
}

.image-slider-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.image-slide {
  display: none;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 1.25rem;
  align-items: stretch;
}

.image-slide.active {
  display: grid;
}

.image-slide-media {
  border-radius: 1.1rem;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.israel-panel-1 {
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.3)),
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.35), transparent 55%),
    url("https://images.unsplash.com/photo-1544971585-9c91c0bfb9a7?auto=format&fit=crop&w=1200&q=80");
}

.israel-panel-2 {
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.25)),
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.25), transparent 55%),
    url("https://images.unsplash.com/photo-1533107862482-0e6974b06ec4?auto=format&fit=crop&w=1200&q=80");
}

.israel-panel-3 {
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.3)),
    radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.3), transparent 55%),
    url("https://images.unsplash.com/photo-1574678744008-1a55f318fafa?auto=format&fit=crop&w=1200&q=80");
}

.israel-panel-4 {
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.35)),
    radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.3), transparent 55%),
    url("https://images.unsplash.com/photo-1452601395039-3184bc03cb09?auto=format&fit=crop&w=1200&q=80");
}

.image-slide-caption {
  align-self: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.image-slide-caption h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: #0f172a;
}

.image-slide-caption p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-muted);
}

.image-slider-arrow {
  align-self: center;
  border: none;
  background: rgba(15, 23, 42, 0.04);
  color: var(--blue-deep);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.image-slider-arrow span {
  margin-top: -2px;
  font-size: 1.3rem;
}

.image-slider-arrow:hover {
  background: rgba(37, 99, 235, 0.1);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  transform: translateY(-1px);
}

.image-slider-dots {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.image-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.7);
  cursor: pointer;
}

.image-slider-dot.active {
  width: 18px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue-deep));
}

.footer {
  margin-top: 1.5rem;
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(180deg, #e5efff 0, #f9fbff 60%, #ffffff 100%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr);
  gap: 1.6rem;
  align-items: flex-start;
}

.footer-column-main {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--gray-muted);
}

.footer-column-main .brand {
  align-items: center;
}

.footer-column-main .brand-sub {
  color: var(--blue-muted);
}

.footer-text {
  max-width: 22rem;
}

.footer-column-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.84rem;
}

.footer-links-list a {
  color: var(--blue-muted);
}

.footer-contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-muted);
  margin-bottom: 0.35rem;
}

.footer-contact-text {
  font-size: 0.84rem;
  color: var(--gray-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--gray-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 0.7rem;
}

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

.footer-bottom-links a {
  color: var(--blue-muted);
}

.quick-status-form {
  display: grid;
  gap: 0.55rem;
}

.quick-status-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
}

.quick-status-form input {
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.65);
  padding: 0.45rem 0.55rem;
  font-size: 0.84rem;
  background: rgba(15, 23, 42, 0.9);
  color: var(--white);
}

.quick-status-form input::placeholder {
  color: rgba(148, 163, 184, 0.85);
}

.quick-status-form .btn-secondary {
  margin-top: 0.3rem;
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .hero-slide {
    padding-top: 2.2rem;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
    gap: 1.8rem;
  }

  .card-grid,
  .guidelines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apply-grid,
  .status-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .image-slide {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .nav-inner {
    align-items: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(248, 250, 252, 0.98);
    padding: 0.9rem 1.5rem 1.1rem;
    flex-direction: column;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-slide {
    padding-bottom: 3rem;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .hero-panel-card {
    max-width: 380px;
    margin: 0 auto;
  }

  .section-header {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 2rem, 640px);
  }

  .top-bar-inner {
    justify-content: center;
  }

  .nav-inner {
    padding-block: 0.55rem;
  }

  .hero-meta {
    gap: 0.8rem;
  }

  .card-grid,
  .guidelines-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-slider {
    flex-direction: column;
  }

  .image-slide {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

html {
  scroll-behavior: smooth;
}

[dir="rtl"] .section-header,
[dir="rtl"] .section-header-left {
  text-align: right;
}

[dir="rtl"] .card ul,
[dir="rtl"] .guideline-block ul {
  padding-left: 0;
  padding-right: 1.1rem;
}

[dir="rtl"] .form-field,
[dir="rtl"] .contact-list,
[dir="rtl"] .status-legend {
  text-align: right;
}

[dir="rtl"] .form-field input,
[dir="rtl"] .form-field select,
[dir="rtl"] .form-field textarea {
  text-align: right;
}

[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}
