[x-cloak] { display: none !important; }

html {
  scroll-behavior: smooth;
}

#header,
#hero,
#about-us,
#our-values,
#our-services,
#partner-with-us,
#were-hiring {
  scroll-margin-top: 6rem;
}

#nav {
  transform-origin: top center;
  transition: transform 0.3s ease;
}

#nav.is-scrolled {
  transform: scale(0.98);
}

.remotiq-form-panel .elementor-widget-form .elementor-form {
  --e-form-field-border-color: #d1d5db;
}

@keyframes about-slide-fade-in {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

html.js-about-animate #about-us .about-card-animate {
  opacity: 0;
}

html.js-about-animate #about-us.is-visible .about-card-animate {
  animation: about-slide-fade-in 0.55s ease forwards;
}

html.js-about-animate #about-us.is-visible .about-card-animate:nth-child(1) {
  animation-delay: 0s;
}

html.js-about-animate #about-us.is-visible .about-card-animate:nth-child(2) {
  animation-delay: 0.2s;
}

html.js-about-animate #about-us.is-visible .about-card-animate:nth-child(3) {
  animation-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  html.js-about-animate #about-us .about-card-animate {
    opacity: 1;
  }

  html.js-about-animate #about-us.is-visible .about-card-animate {
    animation: none;
  }
}

@keyframes values-slide-fade-in {
  from {
    opacity: 0;
    transform: translateY(-2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.js-values-animate #our-values .values-card-animate {
  opacity: 0;
}

html.js-values-animate #our-values.is-visible .values-card-animate {
  animation: values-slide-fade-in 0.55s ease forwards;
  animation-delay: var(--values-card-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  html.js-values-animate #our-values .values-card-animate {
    opacity: 1;
  }

  html.js-values-animate #our-values.is-visible .values-card-animate {
    animation: none;
  }
}

html.js-services-animate #our-services .services-card-animate {
  opacity: 0;
}

html.js-services-animate #our-services.is-visible .services-card-animate {
  animation: values-slide-fade-in 0.55s ease forwards;
  animation-delay: var(--services-card-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  html.js-services-animate #our-services .services-card-animate {
    opacity: 1;
  }

  html.js-services-animate #our-services.is-visible .services-card-animate {
    animation: none;
  }
}

/* Join Us thank-you — explicit width (not only Tailwind CDN utilities) */
.remotiq-join-thank-you__inner {
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
}

.remotiq-join-thank-you__intro {
  max-width: 60rem;
}

.remotiq-join-thank-you__divider,
.remotiq-join-thank-you__confirmation {
  max-width: 50rem;
}

/* Partner With Us thank-you */
.remotiq-partner-thank-you__inner {
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
}

.remotiq-partner-thank-you__intro {
  max-width: 60rem;
}

.remotiq-partner-thank-you__divider,
.remotiq-partner-thank-you__confirmation {
  max-width: 50rem;
}

/* Inner pages — legal / default page content */
.remotiq-page-content {
  color: #374151;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.remotiq-page-content > *:first-child {
  margin-top: 0;
}

.remotiq-page-content > *:last-child {
  margin-bottom: 0;
}

.remotiq-page-content h2 {
  color: #16161d;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 2.5rem 0 1rem;
}

.remotiq-page-content h3 {
  color: #16161d;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 2rem 0 0.75rem;
}

.remotiq-page-content p,
.remotiq-page-content li {
  margin-bottom: 1rem;
}

.remotiq-page-content ul,
.remotiq-page-content ol {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

.remotiq-page-content ul {
  list-style: disc;
}

.remotiq-page-content ol {
  list-style: decimal;
}

.remotiq-page-content a {
  color: #ed2024;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.remotiq-page-content a:hover {
  opacity: 0.85;
}

.remotiq-page-content strong {
  color: #16161d;
  font-weight: 600;
}

/* Blog index pagination */
.remotiq-pagination .page-numbers {
  align-items: center;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0 0.75rem;
}

.remotiq-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.remotiq-pagination a.page-numbers,
.remotiq-pagination span.page-numbers {
  border: 1px solid #e5e7eb;
  border-radius: 0.125rem;
  color: #16161d;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.remotiq-pagination a.page-numbers:hover {
  background-color: #fff;
  border-color: #ed2024;
  color: #ed2024;
}

.remotiq-pagination span.page-numbers.current {
  background-color: #ed2024;
  border-color: #ed2024;
  color: #fff;
}
