/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.5;
  background: #fafafa;
}

/* Header */
.site-header {
  text-align: center;
  padding: 1rem 0;
  position: relative;
}
.site-header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}
.site-header .logo img {
  height: 3.5rem;
  margin-right: 0.5rem;
  background: none;
}
.site-header .tagline {
  display: block;
  width: calc(100% + 2rem);  /* body has 1rem padding each side */
  margin: 0 -1rem;            /* cancel out body padding */
  background: #0033a0;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.service{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #0033a0;
  font-size: 2rem;
  font-weight: extra-bold;
  font: bold 1.5rem/1.5 "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Main form section */
.job-section {
  max-width: 400px;
  margin: 2rem auto;
  text-align: center;
  background: #fff;
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.job-section img {
  width: 60px;
  margin-bottom: 1rem;
}
.job-section h1 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.job-section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.job-section input[type="text"] {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.job-section .info-list {
  text-align: left;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.job-section .info-list li {
  margin-bottom: 0.5rem;
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
}
.job-section .info-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0033a0;
}
.job-section button {
  background: #3ee6b6;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  color: #000;
  border-radius: 4px;
  cursor: pointer;
}
.job-section .disclaimer {
  font-size: 0.75rem;
  color: #777;
  margin-top: 1rem;
}

/* ——— Updated Footer Styles ——— */
.site-footer {
  text-align: center;
  color: #777;
  font-size: 0.875rem;
  line-height: 1.4;
  margin-top: 2rem;
  padding: 2rem 1rem 1rem;
}
.site-footer .footer-copy {
  margin-bottom: 0.75rem;
  font-weight: bold;
}
.site-footer .footer-description {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #555;
}
.footer-nav {
  margin: 0.5rem 0;
  font-size: 0.85rem;
}
.footer-nav–legal {
  margin-top: 1.5rem;
}
.footer-nav–unsub {
  margin-bottom: 1.5rem;
}
.footer-nav a {
  color: #555;
  text-decoration: none;
  margin: 0 0.25rem;
}
.footer-nav .divider {
  color: #ccc;
  margin: 0 0.25rem;
}
.footer-logo img {
  width: 40px;
  height: auto;
  margin-top: 1rem;
  opacity: 0.8;
}
/* ——— Info-page form ——— */
.user-info-section {
  max-width: 400px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.user-info-section h1 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.user-info-section p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* stretch icon container to match input height */
.user-info-section .form-group {
  display: flex;
  align-items: stretch;
  border: 1px solid #0033a0;
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
}

/* icon wrapper now flex-center, with horizontal padding */
.user-info-section .form-group .icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #0033a0; */
  padding: 0 0.75rem;
  height: 1.5 rem; /* match input height */
  width: 4rem;
}

/* make the SVG/png fill that wrapper’s full height */
.user-info-section .form-group .icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* inputs/selects unchanged, but will stretch to fill remaining height */
.user-info-section .form-group input,
.user-info-section .form-group select {
  flex: 1;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  outline: none;
}

.user-info-section .form-group.valid {
  border-color: #3ee6b6;
}
.user-info-section .terms {
  font-size: 0.8rem;
  color: #555;
  margin: 1rem 0 0.25rem;
}
.user-info-section .terms a {
  color: #0033a0;
  text-decoration: underline;
}
.user-info-section .optional {
  font-size: 0.75rem;
  color: #777;
  margin-bottom: 1.5rem;
}
.user-info-section .actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.user-info-section .submit {
  background: #3ee6b6;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 999px;
  cursor: pointer;
}
.user-info-section .skip {
  background: transparent;
  color: #555;
  border: 2px solid #ccc;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 999px;
  cursor: pointer;
}
/* ——— Background-check page ——— */
.bg-section {
  max-width: 500px;
  margin: 3rem auto;
  background: #f9f9f9;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  transition: all 0.3s ease;
}

.bg-section:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.bg-section h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
  text-align: center;
}

.bg-section p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  color: #444;
  text-align: left;
}

.bg-section button {
  display: block;
  margin: 1.5rem auto;
  background: linear-gradient(to right, #3ee6b6, #21c4a7);
  border: none;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.bg-section button:hover {
  background: linear-gradient(to right, #2fd1a3, #1cae91);
  transform: translateY(-2px);
}

.bg-section button:active {
  transform: scale(0.98);
}

/* ——— Trusted Verification Section ——— */
.trusted-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
  text-align: center;
}

.trusted-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #2a2a2a;
}

.trusted-section p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.trusted-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trusted-section ul li {
  position: relative;
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #2a7c67;
}

.trusted-section ul li::before {
  content: "✔";
  position: absolute;
  left: -.5rem;
  color: #2a7c67;
  font-weight: 500;
}

/* ——— Reviews Carousel ——— */
.review-carousel {
  margin-top: 2rem;
  text-align: center;
  overflow: hidden;
}

.review-carousel h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #222;
}

.carousel-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 60px;
  overflow: hidden;
  position: relative;
}

.review {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  color: #444;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Fluid-width & full-width form elements ——— */
.job-section,
.user-info-section,
.bg-section {
  width: 90%;        /* mobile-first: fill most of the screen */
  max-width: 400px;  /* but never wider than 400px */
}

.job-section input,
.user-info-section input,
.user-info-section select,
.bg-section button {
  width: 100%;       /* always stretch to container */
  box-sizing: border-box;
}

/* prevent any accidental horizontal scroll on the body */
body {
  padding: 1rem;
  overflow-x: hidden;
}