/* Employer AI Screening marketing page — scroll reveal + funnel emphasis */

.employer-page .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.employer-page .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Funnel step cards (Tailwind arbitrary scale can be fragile in layered CSS) */
.eas-funnel-step {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
}

.eas-funnel-step--white {
  background: #fff;
  border-color: #e5e7eb;
}

.eas-funnel-step--white .eas-funnel-step__value {
  color: #040d1a;
}

.eas-funnel-step--white .eas-funnel-step__label {
  color: #6b7280;
}

.eas-funnel-step--blue_soft {
  background: #eff6ff;
  border-color: #dbeafe;
}

.eas-funnel-step--blue_soft .eas-funnel-step__value {
  color: #2563eb;
}

.eas-funnel-step--blue_soft .eas-funnel-step__label {
  color: #2563eb;
}

.eas-funnel-step--blue_strong {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
}

.eas-funnel-step--blue_strong .eas-funnel-step__value,
.eas-funnel-step--blue_strong .eas-funnel-step__label {
  color: #2563eb;
}

@media (min-width: 768px) {
  .eas-funnel-step--blue_soft {
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  }

  .eas-funnel-step--blue_strong {
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
  }
}

[dir="rtl"] .eas-funnel-chevron {
  transform: scaleX(-1);
}

/* Arabic (RTL): mirror bias card corner accent to top-left with matching curve */
.lang_ar .employer-page .eas-bias-card-accent {
  right: auto;
  left: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 9999px;
}

/* Search mode cards (AI vs Manual): in RTL, column flex cross-start is physical right — same corner as the badge */
.employer-page .eas-search-mode-card__icon {
  align-self: flex-start;
}

.lang_ar .employer-page .eas-search-mode-card__icon,
[dir="rtl"] .employer-page .eas-search-mode-card__icon {
  align-self: flex-end;
}

.lang_ar .employer-page .eas-search-mode-card__badge,
[dir="rtl"] .employer-page .eas-search-mode-card__badge {
  max-width: calc(100% - 4.5rem);
  text-align: end;
}

.lang_ar .employer-page .eas-search-mode-card__badge .inline-flex,
[dir="rtl"] .employer-page .eas-search-mode-card__badge .inline-flex {
  flex-direction: row-reverse;
}

/* Sourcing mock: candidate row — keeps avatar/name and badges aligned on mobile, tablet, desktop */
.employer-page .eas-sourcing-candidate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.5rem;
}

.employer-page .eas-sourcing-candidate__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: end;
  min-width: 0;
}

@media (max-width: 639px) {
  .employer-page .eas-sourcing-candidate {
    grid-template-columns: minmax(0, 1fr);
  }

  .employer-page .eas-sourcing-candidate__badges {
    justify-self: stretch;
  }
}

/* Manual search mock: fixed height + narrow filter column clips the Apply button on small viewports */
.employer-page .eas-manual-search-mock {
  align-items: stretch;
  min-height: 240px;
  height: auto;
}

.employer-page .eas-manual-search-mock__filters,
.employer-page .eas-manual-search-mock__results {
  min-width: 0;
}

.md\:text-6xl {
  font-size: 3rem !important;
}

.cta-btn a{
  padding: 10px 36px;
  color: #fff !important;
}

.font-inherit{
  font-size: inherit;
}

@media screen and (max-width: 576px) {
  /* mobile phones */
  .md\:text-6xl {
    font-size: 2rem !important;
  }

  .employer-page main > section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .employer-page main > section.pt-24 {
    padding-top: 3.5rem !important;
    padding-bottom: 2.25rem !important;
  }

  .employer-page main > section.py-20 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .employer-page main > section.py-12 {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }

  .employer-page .eas-manual-search-mock {
    flex-direction: column;
    min-height: 0;
    gap: 0.75rem;
  }

  .employer-page .eas-manual-search-mock__filters {
    width: 100% !important;
    flex: none;
  }

  .employer-page .eas-manual-search-mock__results {
    flex: 1 1 auto;
    min-height: 9.5rem;
  }

  .employer-page .eas-ai-mock-match-btn {
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
    padding-left: 0.875rem !important;
    padding-right: 0.875rem !important;
    gap: 0.375rem;
  }

  .employer-page .eas-bottom-cta-title {
    font-size: 1.375rem !important;
    line-height: 1.3;
    margin-bottom: 1.25rem !important;
  }

  .employer-page .eas-bottom-cta-btn {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    font-size: 0.9375rem !important;
    gap: 0.375rem;
  }

  .employer-page .eas-hero-cta-wrap {
    gap: 0.5rem !important;
  }

  .employer-page .eas-hero-cta-btn {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    font-size: 0.9375rem !important;
  }
}

@media screen and (min-width: 576px) and (max-width: 768px) and (orientation: portrait) {
  /* iPad mini / small tablets in portrait */
  .md\:text-6xl {
    font-size: 2.5rem !important;
  }

  .employer-page main > section {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .employer-page main > section.pt-24 {
    padding-top: 4.5rem !important;
    padding-bottom: 3rem !important;
  }

  .employer-page main > section.py-20 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .employer-page main > section.py-12 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .employer-page .eas-manual-search-mock {
    flex-direction: column;
    min-height: 0;
    gap: 1rem;
  }

  .employer-page .eas-manual-search-mock__filters {
    width: 100% !important;
    flex: none;
  }

  .employer-page .eas-manual-search-mock__results {
    flex: 1 1 auto;
    min-height: 10.5rem;
  }

  .employer-page .eas-ai-mock-match-btn {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .employer-page .eas-bottom-cta-title {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-bottom: 1.5rem !important;
  }

  .employer-page .eas-bottom-cta-btn {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 1rem !important;
  }

  .employer-page .eas-hero-cta-wrap {
    gap: 0.75rem !important;
  }

  .employer-page .eas-hero-cta-btn {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 1rem !important;
  }
}

@media screen and (min-width: 769px) and (max-width: 820px) and (orientation: portrait) {
  /* iPad Air (portrait) */
  .md\:text-6xl {
    font-size: 2.5rem !important;
  }

  .employer-page main > section {
    padding-left: 1.35rem !important;
    padding-right: 1.35rem !important;
  }

  .employer-page main > section.pt-24 {
    padding-top: 5rem !important;
    padding-bottom: 3.25rem !important;
  }

  .employer-page main > section.py-20 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .employer-page main > section.py-12 {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }

  .employer-page .eas-manual-search-mock {
    flex-direction: column;
    min-height: 0;
    gap: 1rem;
  }

  .employer-page .eas-manual-search-mock__filters {
    width: 100% !important;
    flex: none;
  }

  .employer-page .eas-manual-search-mock__results {
    flex: 1 1 auto;
    min-height: 10.5rem;
  }

  .employer-page .eas-ai-mock-match-btn {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .employer-page .eas-bottom-cta-title {
    font-size: 1.625rem !important;
    line-height: 1.3;
    margin-bottom: 1.5rem !important;
  }

  .employer-page .eas-bottom-cta-btn {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 1.0625rem !important;
  }

  .employer-page .eas-hero-cta-wrap {
    gap: 0.875rem !important;
  }

  .employer-page .eas-hero-cta-btn {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 1.0625rem !important;
  }
}

@media screen and (min-width: 821px) and (max-width: 834px) and (orientation: portrait) {
  /* iPad Pro 11" (portrait) */
  .md\:text-6xl {
    font-size: 2.5rem !important;
  }

  .employer-page main > section {
    padding-left: 1.4rem !important;
    padding-right: 1.4rem !important;
  }

  .employer-page main > section.pt-24 {
    padding-top: 5.25rem !important;
    padding-bottom: 3.5rem !important;
  }

  .employer-page main > section.py-20 {
    padding-top: 4.25rem !important;
    padding-bottom: 4.25rem !important;
  }

  .employer-page main > section.py-12 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .employer-page .eas-manual-search-mock {
    flex-direction: column;
    min-height: 0;
    gap: 1rem;
  }

  .employer-page .eas-manual-search-mock__filters {
    width: 100% !important;
    flex: none;
  }

  .employer-page .eas-manual-search-mock__results {
    flex: 1 1 auto;
    min-height: 10.5rem;
  }

  .employer-page .eas-ai-mock-match-btn {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .employer-page .eas-bottom-cta-title {
    font-size: 1.625rem !important;
    line-height: 1.3;
    margin-bottom: 1.5rem !important;
  }

  .employer-page .eas-bottom-cta-btn {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 1.0625rem !important;
  }

  .employer-page .eas-hero-cta-wrap {
    gap: 0.875rem !important;
  }

  .employer-page .eas-hero-cta-btn {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 1.0625rem !important;
  }
}

@media screen and (min-width: 835px) and (max-width: 1024px) and (orientation: portrait) {
  /* iPad Pro 12.9" and large tablets (portrait) */
  .md\:text-6xl {
    font-size: 2.5rem !important;
  }

  .employer-page main > section {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .employer-page main > section.pt-24 {
    padding-top: 5.5rem !important;
    padding-bottom: 3.75rem !important;
  }

  .employer-page main > section.py-20 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  .employer-page main > section.py-12 {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  .employer-page .eas-manual-search-mock {
    flex-direction: column;
    min-height: 0;
    gap: 1rem;
  }

  .employer-page .eas-manual-search-mock__filters {
    width: 100% !important;
    flex: none;
  }

  .employer-page .eas-manual-search-mock__results {
    flex: 1 1 auto;
    min-height: 10.5rem;
  }

  .employer-page .eas-ai-mock-match-btn {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .employer-page .eas-bottom-cta-title {
    font-size: 1.6875rem !important;
    line-height: 1.3;
    margin-bottom: 1.625rem !important;
  }

  .employer-page .eas-bottom-cta-btn {
    padding-top: 1.125rem !important;
    padding-bottom: 1.125rem !important;
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
    font-size: 1.0625rem !important;
  }

  .employer-page .eas-hero-cta-wrap {
    gap: 1rem !important;
  }

  .employer-page .eas-hero-cta-btn {
    padding-top: 1.125rem !important;
    padding-bottom: 1.125rem !important;
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
    font-size: 1.0625rem !important;
  }
}
