/* ==========================================================
   Job Suraksha – static pages (Accessibility, About, etc.)
   Scope: everything lives under .jsk-static
   Theme: navy + cyan + orange (from homepage)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.jsk-static {
  --navy-900: #061630;
  --navy-800: #0a1f44;
  --navy-700: #0f2c5c;
  --cyan:      #00c2ff;
  --cyan-dark: #0096c7;
  --cyan-soft: #e6f8ff;
  --orange:    #f26a3d;
  --orange-dk: #d95a2f;
  --ink:       #1b2a41;
  --muted:     #5b6b82;
  --line:      #e2e8f2;
  --bg:        #ffffff;
  --bg-alt:    #f3f6fb;
  --jsk-primary: var(--cyan-dark);   /* alias used by older markup */

  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1em;                 /* text-size toolbar scales this */
}
.jsk-static *, .jsk-static *::before, .jsk-static *::after { box-sizing: border-box; }

/* Text-size toolbar (set by JS) */
.jsk-static[data-text-size="lg"] { font-size: 1.125em; }
.jsk-static[data-text-size="xl"] { font-size: 1.25em; }

/* ---------- Skip link ---------- */
.jsk-skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: top .2s;
}
.jsk-skip-link:focus { top: 12px; }

/* ---------- Focus ring (all interactive elements) ---------- */
.jsk-static a:focus-visible,
.jsk-static button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.jsk-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.jsk-section { padding: 4.5em 0; }
.jsk-section--alt { background: var(--bg-alt); }
.jsk-section--tight { padding: 1.6em 0; }

.jsk-section-head { max-width: 680px; margin-bottom: 2.2em; }
.jsk-section-head h2 {
  margin: 0 0 .4em;
  font-size: clamp(1.6em, 3vw, 2.2em);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-800);
  letter-spacing: -.3px;
}
.jsk-section-head p { margin: 0; color: var(--muted); font-size: 1.05em; }

.jsk-lead {
  max-width: 820px;
  margin: 0;
  font-size: 1.15em;
  line-height: 1.85;
  color: var(--ink);
}

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

/* ---------- Hero ---------- */
.jsk-hero {
  position: relative;
  padding: 4.5em 0 5em;
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, #123a7a 100%);
  overflow: hidden;
}
.jsk-hero::after {                       /* soft cyan glow */
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0,194,255,.28), transparent 65%);
  pointer-events: none;
}
.jsk-hero .jsk-container { position: relative; z-index: 1; }

.jsk-crumbs { margin: 0 0 1.4em; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9em; font-weight: 500; color: rgba(255,255,255,.7); }
.jsk-crumbs a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.jsk-crumbs a:hover { text-decoration: underline; }
.jsk-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

.jsk-hero__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 1.2em;
  border-radius: 16px;
  background: rgba(0,194,255,.14);
  border: 1px solid rgba(0,194,255,.4);
  color: var(--cyan);
}
.jsk-hero__icon svg { width: 32px; height: 32px; }

.jsk-hero h1 {
  margin: 0 0 .5em;
  max-width: 760px;
  font-size: clamp(2em, 5vw, 3.4em);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.5px;
  color: #fff;
}
.jsk-hero p { margin: 0; max-width: 640px; font-size: 1.15em; color: rgba(255,255,255,.82); }

/* ---------- Cards ---------- */
.jsk-card {
  padding: 1.8em 1.6em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: box-shadow .2s, border-color .2s;
}
.jsk-card:hover { border-color: var(--cyan); box-shadow: 0 14px 34px rgba(10,31,68,.10); }

.jsk-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 1em;
  border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--cyan-dark);
}
.jsk-card__icon svg { width: 26px; height: 26px; }
.jsk-card h3 { margin: 0 0 .45em; font-size: 1.15em; font-weight: 700; color: var(--navy-800); }
.jsk-card p { margin: 0; font-size: .97em; color: var(--muted); }

/* ---------- Text-size toolbar ---------- */
.jsk-toolbar {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600; font-size: .95em; color: var(--navy-800);
}
.jsk-toolbar button {
  min-width: 44px; height: 40px; padding: 0 12px;
  border: 1.5px solid var(--navy-800);
  border-radius: 999px;
  background: #fff;
  color: var(--navy-800);
  font: inherit; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s;
}
.jsk-toolbar button:hover { background: var(--cyan-soft); }
.jsk-toolbar button[aria-pressed="true"] { background: var(--navy-800); color: #fff; }

/* ---------- Help / report panel (dark) ---------- */
.jsk-report-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 2.4em 2.6em;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-left: 5px solid var(--cyan);
}
.jsk-report-panel h3 { margin: 0 0 .4em; font-size: 1.5em; font-weight: 800; color: #fff; }
.jsk-report-panel p { margin: 0; max-width: 620px; color: rgba(255,255,255,.8); }

/* ---------- CTA ---------- */
.jsk-cta {
  text-align: center;
  padding: 3.4em 1.6em;
  background: var(--cyan-soft);
  border: 1px solid #bfeeff;
  border-radius: 20px;
}
.jsk-cta h2 { margin: 0 0 .4em; font-size: clamp(1.6em, 3vw, 2.2em); font-weight: 800; color: var(--navy-800); }
.jsk-cta p { margin: 0 auto 1.6em; max-width: 520px; color: var(--muted); }
.jsk-cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.jsk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 700; font-size: 1em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.jsk-btn:hover { transform: translateY(-1px); }
.jsk-btn--primary { background: var(--navy-800); color: #fff; }
.jsk-btn--primary:hover { background: var(--navy-700); color: #fff; }
.jsk-btn--outline { background: transparent; color: var(--orange-dk); border-color: var(--orange); }
.jsk-btn--outline:hover { background: var(--orange); color: #fff; }
.jsk-btn--ghost-light { background: var(--orange); color: #fff; }
.jsk-btn--ghost-light:hover { background: var(--orange-dk); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .jsk-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .jsk-section { padding: 3em 0; }
  .jsk-hero { padding: 3em 0 3.4em; }
  .jsk-grid--3, .jsk-grid--2 { grid-template-columns: 1fr; }
  .jsk-report-panel { padding: 1.8em 1.4em; }
  .jsk-report-panel .jsk-btn, .jsk-cta__actions .jsk-btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .jsk-static * { transition: none !important; }
  .jsk-btn:hover { transform: none; }
}

/* ==========================================================
   Security page additions
   ========================================================== */

/* Row: icon on the left, text on the right */
.jsk-security-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 18px;
  padding: 1.8em 1.8em;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: 14px;
  transition: box-shadow .2s, border-color .2s;
}
.jsk-security-row:last-child { margin-bottom: 0; }
.jsk-security-row:hover { box-shadow: 0 14px 34px rgba(10,31,68,.10); border-left-color: var(--orange); }
.jsk-security-row .jsk-card__icon { flex: 0 0 52px; margin-bottom: 0; }
.jsk-security-row h3 { margin: 0 0 .4em; font-size: 1.2em; font-weight: 700; color: var(--navy-800); }
.jsk-security-row p { margin: 0 0 .8em; color: var(--muted); }
.jsk-security-row p:last-child { margin-bottom: 0; }
.jsk-security-row a { color: var(--cyan-dark); font-weight: 600; text-underline-offset: 3px; }
.jsk-security-row a:hover { color: var(--navy-700); }

/* Bullet list inside a row */
.jsk-security-row ul { margin: .4em 0 0; padding: 0; list-style: none; }
.jsk-security-row li { position: relative; padding-left: 24px; margin-bottom: .5em; color: var(--ink); }
.jsk-security-row li::before {
  content: "";
  position: absolute; left: 3px; top: .7em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,194,255,.18);
}

/* Tip cards ("Your part in staying safe") */
.jsk-card--success { border-top: 4px solid var(--cyan); }
.jsk-card--success .jsk-card__icon { background: var(--cyan-soft); color: var(--cyan-dark); }

@media (max-width: 640px) {
  .jsk-security-row { flex-direction: column; gap: 14px; padding: 1.4em 1.2em; }
}