/* ==========================================================================
   Job Suraksha — Static Pages Design System
   Used by: accessibility.blade.php, sitemap.blade.php, security.blade.php
   --------------------------------------------------------------------------
   IMPORTANT — READ BEFORE WIRING IN
   The live theme file was not available in this session, so the tokens
   below were inferred from the public reference site (demo.jobsuraksha.in):
   a trust-forward job-portal look — blue primary, warm amber for
   "hiring/verified" badges, white cards, soft shadows, pill-shaped
   buttons, generous corner radius. If your actual theme stylesheet
   already defines variables such as --primary-color, --color-primary,
   or similar, replace the hex values in the :root block below with
   `var(--your-existing-variable)` so this file inherits the real theme
   instead of approximating it. Everything here is scoped under
   `.jsk-static` so it can never leak into or override the rest of the
   site.
   ========================================================================== */

.jsk-static {
  --jsk-primary: #2451d8;
  --jsk-primary-dark: #17359c;
  --jsk-primary-tint: #eaf0ff;
  --jsk-accent: #ff9d3d;
  --jsk-accent-tint: #fff3e6;
  --jsk-success: #1fa971;
  --jsk-success-tint: #e8f8f1;
  --jsk-ink: #16213e;
  --jsk-body: #5a6479;
  --jsk-muted: #8a92a6;
  --jsk-border: #e7eaf3;
  --jsk-surface: #ffffff;
  --jsk-bg: #f6f8fc;
  --jsk-radius-lg: 20px;
  --jsk-radius-md: 14px;
  --jsk-radius-sm: 10px;
  --jsk-radius-pill: 999px;
  --jsk-shadow: 0 10px 30px rgba(22, 33, 62, 0.07);
  --jsk-shadow-hover: 0 16px 40px rgba(22, 33, 62, 0.12);
  --jsk-font: 'Jost', 'Poppins', 'Segoe UI', Arial, sans-serif;
  --jsk-container: 1200px;

  font-family: var(--jsk-font);
  color: var(--jsk-ink);
  background: var(--jsk-bg);
}

.jsk-static * { box-sizing: border-box; }

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

.jsk-static a { text-decoration: none; color: inherit; }

.jsk-static .jsk-container {
  width: 100%;
  max-width: var(--jsk-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Breadcrumb / page hero (shared partial) --------------------- */

.jsk-hero {
  position: relative;
  background: linear-gradient(135deg, var(--jsk-primary) 0%, var(--jsk-primary-dark) 100%);
  color: #fff;
  padding: 64px 0 56px;
  overflow: hidden;
}

.jsk-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.jsk-hero .jsk-eyebrow-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--jsk-radius-sm);
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.jsk-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 12px;
}

.jsk-hero p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 0 20px;
}

.jsk-breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0;
  margin: 0 0 26px;
  font-size: 14px;
}

.jsk-breadcrumb li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.65); }
.jsk-breadcrumb a { color: rgba(255, 255, 255, 0.9); }
.jsk-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.jsk-breadcrumb li[aria-current="page"] { color: #fff; font-weight: 500; }
.jsk-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(255, 255, 255, 0.4); }
.jsk-breadcrumb li:last-child::after { content: none; }

/* ---------- Sections ------------------------------------------------------ */

.jsk-section { padding: 64px 0; }
.jsk-section--tight { padding: 40px 0; }
.jsk-section--alt { background: var(--jsk-surface); }

.jsk-section-head { max-width: 640px; margin: 0 0 36px; }
.jsk-section-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--jsk-ink);
}
.jsk-section-head p { color: var(--jsk-body); font-size: 15.5px; line-height: 1.7; margin: 0; }

.jsk-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--jsk-body);
  max-width: 760px;
}

/* ---------- Cards ---------------------------------------------------------- */

.jsk-grid { display: grid; gap: 22px; }
.jsk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.jsk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.jsk-grid--4 { grid-template-columns: repeat(4, 1fr); }

.jsk-card {
  background: var(--jsk-surface);
  border: 1px solid var(--jsk-border);
  border-radius: var(--jsk-radius-lg);
  padding: 28px;
  box-shadow: var(--jsk-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.jsk-card:hover { box-shadow: var(--jsk-shadow-hover); transform: translateY(-3px); border-color: rgba(36, 81, 216, 0.25); }

.jsk-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--jsk-radius-sm);
  background: var(--jsk-primary-tint);
  color: var(--jsk-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.jsk-card__icon svg { width: 24px; height: 24px; }
.jsk-card h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; color: var(--jsk-ink); }
.jsk-card p { font-size: 14.5px; line-height: 1.65; color: var(--jsk-body); margin: 0; }

.jsk-card--accent .jsk-card__icon { background: var(--jsk-accent-tint); color: var(--jsk-accent); }
.jsk-card--success .jsk-card__icon { background: var(--jsk-success-tint); color: var(--jsk-success); }

/* ---------- Buttons --------------------------------------------------------- */

.jsk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--jsk-radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.jsk-btn:hover { transform: translateY(-1px); }
.jsk-btn:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }

.jsk-btn--primary { background: var(--jsk-primary); color: #fff; }
.jsk-btn--primary:hover { background: var(--jsk-primary-dark); }

.jsk-btn--ghost-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.jsk-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.22); }

.jsk-btn--outline { background: transparent; color: var(--jsk-primary); border-color: var(--jsk-primary); }
.jsk-btn--outline:hover { background: var(--jsk-primary-tint); }

/* ---------- Badges / pills -------------------------------------------------- */

.jsk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--jsk-radius-pill);
  background: var(--jsk-accent-tint);
  color: #b5651d;
}

/* ---------- Accessibility page specifics ----------------------------------- */

.jsk-feature-row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--jsk-border); }
.jsk-feature-row:last-child { border-bottom: none; }
.jsk-feature-row .jsk-card__icon { flex-shrink: 0; margin-bottom: 0; }
.jsk-feature-row h3 { margin: 0 0 6px; }

.jsk-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--jsk-surface);
  border: 1px solid var(--jsk-border);
  border-radius: var(--jsk-radius-md);
  padding: 14px 18px;
  margin-bottom: 30px;
}

.jsk-toolbar span { font-size: 14px; color: var(--jsk-body); font-weight: 500; margin-right: 4px; }

.jsk-toolbar button {
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--jsk-border);
  background: var(--jsk-bg);
  color: var(--jsk-ink);
  border-radius: var(--jsk-radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.jsk-toolbar button:hover,
.jsk-toolbar button[aria-pressed="true"] { background: var(--jsk-primary-tint); border-color: var(--jsk-primary); color: var(--jsk-primary-dark); }
.jsk-toolbar button:focus-visible { outline: 3px solid var(--jsk-primary); outline-offset: 2px; }

/* text-resize state applied to the page body via JS */
.jsk-text-lg { font-size: 112%; }
.jsk-text-xl { font-size: 124%; }

/* ---------- Sitemap page specifics ------------------------------------------ */

.jsk-sitemap-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--jsk-surface);
  border: 1px solid var(--jsk-border);
  border-radius: var(--jsk-radius-pill);
  padding: 8px 8px 8px 20px;
  max-width: 460px;
  box-shadow: var(--jsk-shadow);
}

.jsk-sitemap-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--jsk-ink);
  background: transparent;
}

.jsk-sitemap-search button {
  background: var(--jsk-primary);
  color: #fff;
  border: none;
  border-radius: var(--jsk-radius-pill);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.jsk-sitemap-cat {
  background: var(--jsk-surface);
  border: 1px solid var(--jsk-border);
  border-radius: var(--jsk-radius-lg);
  padding: 26px 26px 12px;
  box-shadow: var(--jsk-shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.jsk-sitemap-cat:hover { box-shadow: var(--jsk-shadow-hover); border-color: rgba(36, 81, 216, 0.2); }

.jsk-sitemap-cat__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.jsk-sitemap-cat__head h3 { margin: 0; font-size: 18px; }
.jsk-sitemap-cat p.jsk-sitemap-desc { color: var(--jsk-body); font-size: 14px; margin: 0 0 16px; }

.jsk-sitemap-cat ul { list-style: none; margin: 0; padding: 0; }
.jsk-sitemap-cat li { border-top: 1px solid var(--jsk-border); }
.jsk-sitemap-cat li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  font-size: 14.5px;
  color: var(--jsk-ink);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.jsk-sitemap-cat li a:hover { color: var(--jsk-primary); padding-left: 6px; }
.jsk-sitemap-cat li a .jsk-arrow { opacity: 0; transition: opacity 0.15s ease; color: var(--jsk-primary); }
.jsk-sitemap-cat li a:hover .jsk-arrow { opacity: 1; }
.jsk-sitemap-cat li[hidden] { display: none; }

/* ---------- Security page specifics ----------------------------------------- */

.jsk-security-row { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--jsk-border); }
.jsk-security-row:last-child { border-bottom: none; }
.jsk-security-row .jsk-card__icon { margin-bottom: 0; flex-shrink: 0; }
.jsk-security-row h3 { margin: 0 0 8px; font-size: 18px; }
.jsk-security-row ul { margin: 10px 0 0; padding-left: 18px; color: var(--jsk-body); font-size: 14.5px; line-height: 1.7; }

.jsk-report-panel {
  background: linear-gradient(135deg, var(--jsk-primary) 0%, var(--jsk-primary-dark) 100%);
  border-radius: var(--jsk-radius-lg);
  padding: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.jsk-report-panel h3 { font-size: 22px; margin: 0 0 8px; }
.jsk-report-panel p { margin: 0; color: rgba(255, 255, 255, 0.85); max-width: 460px; font-size: 14.5px; line-height: 1.6; }

/* ---------- CTA band (shared) ------------------------------------------------ */

.jsk-cta {
  background: var(--jsk-primary-tint);
  border-radius: var(--jsk-radius-lg);
  padding: 44px;
  text-align: center;
}
.jsk-cta h2 { font-size: clamp(20px, 3vw, 26px); margin: 0 0 10px; color: var(--jsk-ink); }
.jsk-cta p { color: var(--jsk-body); margin: 0 0 22px; }
.jsk-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Skip link -------------------------------------------------------- */

.jsk-skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--jsk-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--jsk-radius-sm);
  z-index: 999;
  font-size: 14px;
  font-weight: 600;
}
.jsk-skip-link:focus { left: 20px; top: 20px; }

/* ---------- Focus visibility -------------------------------------------------- */

.jsk-static a:focus-visible,
.jsk-static button:focus-visible,
.jsk-static input:focus-visible {
  outline: 3px solid var(--jsk-primary);
  outline-offset: 2px;
}

/* ---------- Responsive -------------------------------------------------------- */

@media (max-width: 991px) {
  .jsk-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .jsk-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .jsk-section { padding: 48px 0; }
}

@media (max-width: 767px) {
  .jsk-grid--2, .jsk-grid--3, .jsk-grid--4 { grid-template-columns: 1fr; }
  .jsk-hero { padding: 44px 0 40px; }
  .jsk-report-panel, .jsk-cta { padding: 28px; text-align: left; }
  .jsk-cta { text-align: center; }
  .jsk-report-panel { flex-direction: column; align-items: flex-start; }
  .jsk-security-row, .jsk-feature-row { flex-direction: column; }
  .jsk-toolbar { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .jsk-static * { transition: none !important; animation: none !important; }
}
