/**
 * Homepage — full-width layout. container-fluid + .wrapper only. No .container.
 */

/* ========== GLOBAL LAYOUT ========== */
.hp {
  background: #fff;
}

/* Full-width sections use container-fluid px-0; content constrained by .wrapper */
.hp .container-fluid.px-0 {
  padding-left: 0;
  padding-right: 0;
}

.wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Typography hierarchy */
.hp__h1 { font-size: 52px; font-weight: 700; color: #0f172a; line-height: 1.2; }
.hp__h2 { font-size: 36px; font-weight: 700; color: #0f172a; margin: 0 0 12px 0; }
.hp__h3 { font-size: 20px; font-weight: 600; color: #0f172a; margin: 0 0 12px 0; }
.hp__muted { font-size: 16px; color: #64748b; margin: 0; }
.hp__muted--center { text-align: center; margin-bottom: 36px; }
.hp__muted--small { font-size: 14px; margin-bottom: 0; }

/* ========== SECTION 1 — HERO ========== */
.hp__hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 60%);
  overflow: hidden;
}

.hp__hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 90vmin;
  height: 90vmin;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hp__hero .wrapper {
  position: relative;
  z-index: 1;
}

.hp__hero-grid {
  display: grid;
  /* Force true 50/50 split (prevent content-based column growth) */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hp__hero-left,
.hp__hero-right {
  min-width: 0;
}

.hp__hero-title {
  font-size: 52px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.hp__hero-sub {
  font-size: 16px;
  color: #64748b;
  max-width: 600px;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.hp__hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hp__btn--primary {
  background: #16a34a;
  color: #fff;
  border: none;
}

.hp__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
}

.hp__btn--outline {
  background: transparent;
  color: #16a34a;
  border: 2px solid #16a34a;
}

.hp__btn--outline:hover {
  transform: translateY(-3px);
  background: rgba(22, 163, 74, 0.08);
}

.hp__hero-right {
  min-height: 280px;
}

.hp__hero-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: rgba(22, 163, 74, 0.06);
  border-radius: 24px;
}

/* Hero — Featured (Paid) Jobs slider OR Promotion card */
.hpfeat {
  --hpfeat-visible: 3;
  --hpfeat-gap: 14px;
  width: 100%;
  min-height: 280px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.hpfeat__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 12px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.08) 0%, rgba(255, 255, 255, 1) 60%);
}

.hpfeat__title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #0f172a;
  margin: 0;
}

.hpfeat__hint {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.hpfeat__all {
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
  text-decoration: none;
  white-space: nowrap;
}

.hpfeat__all:hover {
  text-decoration: underline;
}

.hpfeat__viewport {
  overflow: hidden;
}

.hpfeat__track {
  display: flex;
  gap: var(--hpfeat-gap);
  padding: 16px 18px 18px 18px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 380ms ease;
}

.hpfeat__item {
  flex: 0 0 calc((100% - (var(--hpfeat-gap) * (var(--hpfeat-visible) - 1))) / var(--hpfeat-visible));
  min-width: 0;
}

.hpfeat__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hpfeat__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.10);
  border-color: rgba(22, 163, 74, 0.28);
}

.hpfeat__ribbon {
  position: absolute;
  top: 14px;
  right: -46px;
  width: 160px;
  text-align: center;
  padding: 7px 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  transform: rotate(45deg);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.30);
  pointer-events: none;
}

.hpfeat__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hpfeat__logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.hpfeat__logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.hpfeat__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #166534;
  background: rgba(22, 163, 74, 0.12);
  white-space: nowrap;
}

.hpfeat__job-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-top: 2px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.hpfeat__company {
  font-size: 13px;
  color: #64748b;
  margin-top: -2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hpfeat__company-link {
  color: #0f172a;
  font-weight: 700;
}

.hpfeat__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.hpfeat__loc {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.hpfeat__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.10);
  color: #16a34a;
  font-weight: 900;
  font-size: 12px;
  flex: 0 0 auto;
}

.hppromo {
  width: 100%;
  min-height: 280px;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.10) 0%, #ffffff 55%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hppromo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #166534;
  background: rgba(22, 163, 74, 0.14);
}

.hppromo__title {
  margin: 14px 0 10px 0;
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
}

.hppromo__list {
  margin: 0 0 16px 0;
  padding-left: 18px;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}

.hppromo__btn {
  align-self: flex-start;
  padding: 12px 22px;
  border-radius: 14px;
}

.hppromo__note {
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 992px) {
  .hpfeat { --hpfeat-visible: 2; }
}

@media (max-width: 576px) {
  .hpfeat { --hpfeat-visible: 1; }
  .hpfeat__top { align-items: flex-start; }
  .hpfeat__all { display: none; }
}

/* ========== SECTION 2 — STATS STRIP ========== */
.hp__stats {
  background: #fafbfc;
  padding: 80px 0;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.hp__stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.hp__stat-num {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: #16a34a;
  line-height: 1.2;
}

.hp__stat-label {
  display: block;
  font-size: 16px;
  color: #64748b;
  margin-top: 8px;
}

/* ========== SECTION 3 — FEATURED JOBS (Bootstrap row: col-xl-3 col-lg-4 col-md-6 col-12) ========== */
.hp__jobs {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.hp__jobs .hp__h2 { margin-bottom: 10px; }
.hp__jobs .hp__muted { margin-bottom: 36px; }

/* Equal-height job cards: column stretches, card fills it */
.hp__jobs .row > [class*="col-"] {
  display: flex;
}

.hp__job-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.hp__job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.hp__job-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.hp__job-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.hp__job-logo-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
}

.hp__job-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.hp__job-badge {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  flex-shrink: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp__job-badge--loc {
  background: #e0f2fe;
  color: #0369a1;
}

.hp__job-badge--exp {
  background: #dcfce7;
  color: #166534;
}

.hp__job-title {
  flex: 1;
  min-height: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hp__job-company {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 16px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp__job-company a {
  color: #64748b;
  text-decoration: none;
}

.hp__job-company a:hover {
  color: #16a34a;
}

.hp__job-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hp__job-bottom .hp__job-badge--loc {
  flex: 1;
  min-width: 0;
}

.hp__job-apply {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  background: #16a34a;
  color: #fff;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp__job-card:hover .hp__job-apply {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

.hp__jobs-empty {
  text-align: center;
  padding: 48px 24px;
  background: #f8fafc;
  border-radius: 24px;
}

.hp__jobs-more {
  text-align: center;
  margin-top: 40px;
}

/* ========== SECTION 4 — WHY NGOERA (Bootstrap row: col-xl-4 col-md-6 col-12) ========== */
.hp__why {
  background: #fafbfc;
  padding: 80px 0;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.hp__why .hp__h2--center { margin-bottom: 10px; }
.hp__h2--center { text-align: center; }

.hp__why-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.hp__why-icon {
  font-size: 48px;
  color: #16a34a;
  margin-bottom: 20px;
}

.hp__why-icon i {
  font-size: inherit;
}

/* ========== SECTION 5 — CTA (Ready to Start) — full width edge-to-edge ========== */
.hp__cta {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #16a34a, #15803d);
  overflow: hidden;
}

.hp__cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hp__cta-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  text-align: center;
}

.hp__cta-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.hp__cta-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin: 12px 0 0 0;
}

.hp__cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.hp__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hp__cta-btn--primary {
  background: #fff;
  color: #16a34a;
  border: none;
}

.hp__cta-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.hp__cta-btn--secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.hp__cta-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ========== SECTION 6 — FOOTER — white SaaS style, full width ========== */
.hp__footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 56px 0 32px;
  margin-top: 0;
}

.hp__footer-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

.hp__footer-grid {
  --bs-gutter-x: 40px;
  --bs-gutter-y: 32px;
}

.hp__footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.hp__footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp__footer-links li {
  margin-bottom: 8px;
}

.hp__footer-links a {
  font-size: 15px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.hp__footer-links a:hover {
  color: #16a34a;
}

.hp__footer-links--plain li {
  color: #64748b;
}

.hp__footer-links--plain a {
  color: #64748b;
}

.hp__footer-links--plain a:hover {
  color: #16a34a;
}

.hp__footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
  text-align: center;
}

.hp__footer-copy {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

.hp__footer-copy a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.hp__footer-copy a:hover {
  color: #16a34a;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .wrapper {
    padding: 0 32px;
  }
  .hp__cta-wrapper {
    padding: 0 32px;
  }
  .hp__footer-wrapper {
    padding: 0 32px;
  }
  .hp__hero-right {
    min-height: 200px;
  }
  .hp__hero-placeholder {
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .wrapper {
    padding: 0 24px;
  }
  .hp__hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hp__hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hp__hero-btns {
    justify-content: center;
  }
  .hp__hero-title {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .hp__hero-sub {
    margin-bottom: 28px;
  }
  .hp__hero {
    min-height: auto;
    padding: 56px 0 64px;
  }
  .hp__hero-grid {
    gap: 48px;
  }
  .hp__stats {
    padding: 56px 0;
  }
  .hp__stat-card {
    padding: 28px 20px;
  }
  .hp__stat-num {
    font-size: 32px;
  }
  .hp__stat-label {
    margin-top: 8px;
  }
  .hp__jobs {
    padding: 64px 0;
  }
  .hp__jobs .hp__muted {
    margin-bottom: 36px;
  }
  .hp__jobs-more {
    margin-top: 40px;
  }
  .hp__h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .hp__why {
    padding: 64px 0;
  }
  .hp__why-card {
    padding: 28px 20px;
  }
  .hp__why-icon {
    margin-bottom: 20px;
  }
  .hp__cta {
    padding: 80px 0;
  }
  .hp__cta-wrapper {
    padding: 0 24px;
  }
  .hp__cta-title {
    font-size: 32px;
  }
  .hp__cta-sub {
    font-size: 16px;
  }
  .hp__cta-btns {
    flex-direction: column;
    gap: 12px;
  }
  .hp__cta-btn {
    width: 100%;
  }
  .hp__footer-wrapper {
    padding: 0 24px;
  }
  .hp__footer {
    padding: 48px 0 28px;
  }
  .hp__footer-grid {
    --bs-gutter-y: 24px;
  }
  .hp__footer-bottom {
    margin-top: 32px;
    padding-top: 16px;
  }
}

/* Header: mega menu replaces .fe-header */

/* ========== JOB LISTING PAGE (.jl) — full width, no .container ========== */
.jl .container-fluid.px-0 {
  padding-left: 0;
  padding-right: 0;
}

.jl-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* LAYOUT — Left sidebar (filter) + main content */
.jl-layout {
  padding: 80px 0;
  background: #fff;
}

.jl-layout-row {
  align-items: flex-start;
}

/* LEFT SIDEBAR — Filter (apply only on button click) */
.jl-sidebar {
  position: sticky;
  top: 24px;
}

.jl-filter-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.jl-filter-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.jl-filter-card__hint {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 12px 0;
}

.jl-filter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jl-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 480px) {
  .jl-filter-row {
    grid-template-columns: 1fr;
  }
}

.jl-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jl-filter-group--half {
  min-width: 0;
}

.jl-city-wrap {
  min-height: 52px;
}

.jl-city-wrap.jl-city-loading .select2-container {
  opacity: 0.7;
  pointer-events: none;
}

.jl-filter-label {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.jl-filter-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.jl-filter-input:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.jl-filter-input::placeholder {
  color: #94a3b8;
}

.jl-filter-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.jl-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #f1f5f9;
}

.jl-filter-apply {
  flex: 1;
  min-width: 120px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.jl-filter-apply:hover {
  background: #15803d;
  transform: translateY(-1px);
}

.jl-filter-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.jl-filter-clear-btn:hover {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

/* MAIN CONTENT */
.jl-content {
  min-width: 0;
}

.jl-intro {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.jl-intro-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.jl-intro-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.jl-intro-desc p {
  margin: 0 0 12px 0;
}

.jl-intro-desc p:last-child {
  margin-bottom: 0;
}

.jl-intro-desc a {
  color: #16a34a;
  text-decoration: none;
}

.jl-intro-desc a:hover {
  text-decoration: underline;
}

.jl-intro-subtitle {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.jl-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.jl-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.jl-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.jl-alert-link {
  font-size: 15px;
  color: #16a34a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.jl-alert-link:hover {
  color: #15803d;
}

.jl-sort-wrap {
  margin: 0;
}

.jl-sort-select {
  padding: 10px 18px;
  font-size: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}

.jl-grid {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 30px;
}

/* Equal-height job cards on listing */
.jl-grid > [class*="col-"] {
  display: flex;
}

.jl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.corner-ribbon {
  position: absolute;
  top: 10px;
  right: -45px;
  width: 150px;
  text-align: center;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #c5224ad6, #dc3545);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  z-index: 10;
}

@media (max-width: 576px) {
  .corner-ribbon {
    width: 140px;
    font-size: 10px;
    right: -40px;
  }
}

.jl-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.jl-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.jl-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.jl-card__logo-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
}

.jl-card__logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.jl-badge {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  flex-shrink: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jl-badge--loc {
  background: #e0f2fe;
  color: #0369a1;
}

.jl-badge--exp {
  background: #dcfce7;
  color: #166534;
}

.jl-card__title {
  flex: 1;
  min-height: 0;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.jl-card__company {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 16px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jl-card__company a {
  color: #64748b;
  text-decoration: none;
}

.jl-card__company a:hover {
  color: #16a34a;
}

.jl-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.jl-card__bottom .jl-badge--loc {
  flex: 1;
  min-width: 0;
}

.jl-card__apply {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  background: #16a34a;
  color: #fff;
  border-radius: 14px;
  transition: background 0.2s, transform 0.2s;
}

.jl-card:hover .jl-card__apply {
  background: #15803d;
  transform: translateY(-2px);
}

.jl-card--featured {
  position: relative;
  border: 1px solid rgba(22, 163, 74, 0.35);
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
}
.jl-card__featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  padding: 4px 10px;
  border-radius: 999px;
}
.jl-card__promoted-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Empty state — no jobs found */
.jl-empty {
  text-align: center;
  padding: 56px 32px;
  background: #f8fafc;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
}

.jl-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  border-radius: 50%;
  color: #64748b;
  font-size: 28px;
}

.jl-empty h4 {
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
}

.jl-empty p {
  margin: 0 0 24px 0;
  font-size: 16px;
  color: #64748b;
  line-height: 1.5;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.jl-empty--ngo .jl-empty-icon {
  background: #dcfce7;
  color: #16a34a;
}

.jl-empty--no-results .jl-empty-icon {
  background: #e0f2fe;
  color: #0369a1;
}

.jl-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.jl-btn-primary {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.jl-btn-primary:hover {
  background: #15803d;
  color: #fff;
  transform: translateY(-1px);
}

.jl-btn-primary--large {
  padding: 16px 36px;
  font-size: 17px;
}

.jl-view-more-wrap {
  text-align: center;
  margin-top: 40px;
}

.jl-btn-outline {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  color: #16a34a;
  border: 2px solid #16a34a;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.jl-btn-outline:hover {
  background: #16a34a;
  color: #fff;
}

.jl-muted {
  color: #64748b;
}

/* SECTION 4 — Pagination */
.jl-pagination-wrap {
  margin-top: 48px;
  text-align: center;
}

.jl-pagination-wrap .pagination {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.jl-pagination-wrap .page-link {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.jl-pagination-wrap .page-link:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.jl-pagination-wrap .page-item.active .page-link {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.jl-pagination-wrap .page-item.disabled .page-link {
  background: #f8fafc;
  color: #94a3b8;
}

/* Categories section */
.jl-categories {
  padding: 56px 0 80px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.jl-cat-title {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 24px 0;
}

.jl-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, color 0.2s;
}

.jl-cat-link:hover {
  color: #16a34a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.jl-cat-count {
  font-size: 14px;
  color: #64748b;
}

/* Job listing responsive */
@media (max-width: 992px) {
  .jl-wrapper {
    padding: 0 32px;
  }
  .jl-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .jl-wrapper {
    padding: 0 24px;
  }
  .jl-layout {
    padding: 40px 0 56px;
  }
  .jl-sidebar {
    position: static;
  }
  .jl-sidebar-inner {
    padding: 20px;
  }
  .jl-header {
    margin-bottom: 28px;
  }
  .jl-title {
    font-size: 24px;
  }
  .jl-grid {
    --bs-gutter-y: 20px;
  }
  .jl-card {
    padding: 20px;
  }
  .jl-empty {
    padding: 40px 20px;
  }
  .jl-empty-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 20px;
  }
  .jl-empty h4 {
    font-size: 20px;
  }
  .jl-empty-actions {
    flex-direction: column;
  }
  .jl-empty-actions .jl-btn-primary,
  .jl-empty-actions .jl-btn-outline {
    width: 100%;
    text-align: center;
  }
  .jl-view-more-wrap {
    margin-top: 32px;
  }
  .jl-pagination-wrap {
    margin-top: 36px;
  }
  .jl-categories {
    padding: 40px 0 56px;
  }
}

/* ============================================
   NGO Directory – full-width, no .container
   Hero + Featured + All NGOs + pagination
   ============================================ */

.ngo-dir {
  padding: 0;
}

/* ---------- SECTION 1 — Hero ---------- */
.ngo-hero {
  background: #f8fafc;
  padding: 20px 0;
}

.ngo-hero__wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.ngo-hero__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.ngo-hero__left {
  flex: 1;
  min-width: 280px;
}

.ngo-hero__title {
  font-size: 44px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.ngo-hero__sub {
  font-size: 17px;
  color: #64748b;
  margin: 0;
}

.ngo-hero__right {
  flex: 1;
  min-width: 280px;
  max-width: 520px;
}

.ngo-hero__filter-card {
  width: 100%;
}

.ngo-hero__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ngo-hero__search {
  flex: 1;
  min-width: 180px;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 15px;
  color: #0f172a;
}

.ngo-hero__search::placeholder {
  color: #94a3b8;
}

.ngo-hero__search:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.ngo-hero__select {
  min-width: 140px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 14px;
  color: #0f172a;
  cursor: pointer;
}

.ngo-hero__select:focus {
  outline: none;
  border-color: #16a34a;
}

.ngo-hero__btn {
  padding: 14px 24px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  background: #16a34a;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.ngo-hero__btn:hover {
  background: #15803d;
}

/* ---------- Sections common ---------- */
.ngo-section__wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.ngo-section {
  padding: 70px 0;
}

.ngo-section__title {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 28px 0;
}

.ngo-section__spacer {
  height: 70px;
}

/* Section divider */
.ngo-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0;
}

/* ---------- SECTION 2 — Featured (promoted) ---------- */
.ngo-section--featured {
  background: #f8fafc;
  padding-top: 70px;
  padding-bottom: 0;
}

/* Grid: 3 per row desktop, gap 24px */
.ngo-row--featured,
.ngo-row--all {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 24px;
}

.ngo-row--featured > [class*="col-"],
.ngo-row--all > [class*="col-"] {
  margin-bottom: 24px;
}

/* ---------- NGO card (nd-card): premium modern layout ---------- */
.nd-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.nd-card__ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 1;
}

.nd-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.nd-card__logo-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #f1f5f9;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-card__logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.nd-card__title-block {
  margin-bottom: 10px;
}

.nd-card__name {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

/* Rating row: stars + numeric + review count (under NGO name) */
.nd-card__rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.nd-card__stars {
  position: relative;
  display: inline-flex;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1px;
}

.nd-card__stars-empty,
.nd-card__stars-fill {
  display: flex;
  gap: 2px;
}

.nd-card__stars-empty > span::before,
.nd-card__stars-fill > span::before {
  content: '★';
}

.nd-card__stars-empty > span::before {
  color: #e5e7eb;
}

.nd-card__stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.nd-card__stars-fill > span::before {
  color: #f59e0b;
}

.nd-card__rating-num {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.nd-card__review-count {
  font-size: 13px;
  color: #94a3b8;
}

.nd-card__name a {
  color: #0f172a;
  text-decoration: none;
}

.nd-card__name a:hover {
  color: #16a34a;
}

.nd-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.nd-card__chip {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nd-card__divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0;
}

.nd-card__desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 14px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nd-card__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
  align-items: stretch;
}

.nd-card__btn {
  width: calc(50% - 6px);
  min-width: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nd-card__btn--primary {
  background: #16a34a;
  color: #fff;
  border: 1px solid #16a34a;
}

.nd-card__btn--primary:hover {
  background: #15803d;
  color: #fff;
  border-color: #15803d;
}

.nd-card__btn--outline {
  background: transparent;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.nd-card__btn--outline:hover {
  border-color: #16a34a;
  color: #16a34a;
}

/* Transparency score badge (NGO details page) */
.saas-transparency-score {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}
.saas-transparency-score--high   { background: #dcfce7; color: #166534; }
.saas-transparency-score--medium { background: #fef9c3; color: #854d0e; }
.saas-transparency-score--low    { background: #fee2e2; color: #991b1b; }

.ngo-section--all {
  background: #fff;
}

.ngo-empty {
  padding: 24px 0;
  text-align: center;
  color: #64748b;
}

/* ---------- Pagination ---------- */
.ngo-pagination-wrap {
  margin-top: 70px;
  padding: 0 40px 20px;
  display: flex;
  justify-content: center;
}

.ngo-pagination-wrap nav[aria-label="Pagination Navigation"],
.ngo-pagination-wrap .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ngo-pagination-wrap .page-link,
.ngo-pagination-wrap a[rel="prev"],
.ngo-pagination-wrap a[rel="next"],
.ngo-pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ngo-pagination-wrap a.page-link:hover,
.ngo-pagination-wrap a[rel="prev"]:hover,
.ngo-pagination-wrap a[rel="next"]:hover {
  background: #f1f5f9;
  color: #16a34a;
  border-color: #16a34a;
}

.ngo-pagination-wrap .page-item.active .page-link,
.ngo-pagination-wrap span[aria-current="page"] {
  background: #16a34a !important;
  color: #fff !important;
  border-color: #16a34a !important;
}

.ngo-pagination-wrap .page-item.disabled .page-link,
.ngo-pagination-wrap span[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- Sector links ---------- */
.ngo-section--sectors {
  background: #f8fafc;
  padding-top: 70px;
}

.ngo-sector-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  transition: background 0.2s, border-color 0.2s;
}

.ngo-sector-link:hover {
  border-color: #16a34a;
  color: #16a34a;
}

.ngo-sector-link__name {
  font-weight: 600;
  font-size: 15px;
}

.ngo-sector-link__count {
  font-size: 13px;
  color: #64748b;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 8px;
}

@media (max-width: 991px) {
  .ngo-hero__wrapper,
  .ngo-section__wrapper {
    padding: 0 24px;
  }
  .ngo-hero__title {
    font-size: 32px;
  }
  .ngo-hero__form {
    width: 100%;
  }
  .ngo-hero__search {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .ngo-hero {
    padding: 50px 0;
  }
  .ngo-hero__wrapper,
  .ngo-section__wrapper {
    padding: 0 16px;
  }
  .ngo-hero__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .ngo-hero__title {
    font-size: 28px;
  }
  .ngo-hero__form {
    flex-direction: column;
  }
  .ngo-hero__select {
    width: 100%;
  }
  .ngo-section {
    padding: 50px 0;
  }
  .ngo-pagination-wrap {
    padding: 0 16px 20px;
  }
}

/* ========== JOB SEEKERS LISTING (js-list) — No filter, listing + pagination ========== */
.js-list {
  padding: 0;
  background: #f8fafc;
}

.js-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 48px 0 40px;
}

.js-hero__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.js-hero__title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.js-hero__sub {
  font-size: 1.0625rem;
  color: #64748b;
  margin: 0;
  max-width: 560px;
}

.js-section {
  padding: 40px 0 56px;
}

.js-section__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.js-row {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 24px;
}

.js-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.js-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.js-card__avatar-wrap {
  margin-bottom: 16px;
}

.js-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.js-card__avatar--placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.js-card__avatar-initial {
  font-size: 2.5rem;
  font-weight: 700;
  color: #15803d;
}

.js-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.js-card__name a {
  color: #0f172a;
  text-decoration: none;
}

.js-card__name a:hover {
  color: #16a34a;
}

.js-card__about {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex: 1;
  min-height: 3.6em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.js-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease;
  width: 100%;
  max-width: 180px;
}

.js-card__btn:hover {
  background: #15803d;
  color: #fff;
}

.js-empty {
  text-align: center;
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
  padding: 48px 24px;
}

.js-pagination-wrap {
  padding: 0 24px 48px;
  display: flex;
  justify-content: center;
}

.js-pagination-wrap nav[aria-label="Pagination Navigation"],
.js-pagination-wrap .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.js-pagination-wrap .page-link,
.js-pagination-wrap a[rel="prev"],
.js-pagination-wrap a[rel="next"],
.js-pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
}

.js-pagination-wrap a.page-link:hover,
.js-pagination-wrap a[rel="prev"]:hover,
.js-pagination-wrap a[rel="next"]:hover {
  background: #f1f5f9;
  color: #16a34a;
  border-color: #16a34a;
}

.js-pagination-wrap .page-item.active .page-link,
.js-pagination-wrap span[aria-current="page"] {
  background: #16a34a !important;
  color: #fff !important;
  border-color: #16a34a !important;
}

.js-pagination-wrap .page-item.disabled .page-link,
.js-pagination-wrap span[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

@media (min-width: 768px) {
  .js-hero__title {
    font-size: 2.5rem;
  }
  .js-hero {
    padding: 56px 0 48px;
  }
  .js-section {
    padding: 48px 0 64px;
  }
}

@media (max-width: 575px) {
  .js-hero__wrap,
  .js-section__wrap {
    padding: 0 16px;
  }
  .js-card {
    padding: 20px 16px;
  }
  .js-pagination-wrap {
    padding: 0 16px 32px;
  }
}

/* ========== JOB SEEKER PROFILE (jsp) — Hero + two-column (about + sidebar) ========== */
.jsp {
  padding: 0;
  background: #f8fafc;
}

.jsp-hero {
  width: 100%;
  background: #f8fafc;
  padding: 36px 0 44px;
}

.jsp-hero__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.jsp-hero__card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.jsp-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.jsp-hero__left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.jsp-hero__avatar-wrap {
  flex-shrink: 0;
}

.jsp-hero__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.jsp-hero__avatar--placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jsp-hero__avatar-initial {
  font-size: 3rem;
  font-weight: 700;
  color: #15803d;
}

.jsp-hero__info {
  min-width: 0;
}

.jsp-hero__name {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.jsp-hero__tagline {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

.jsp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.jsp-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jsp-hero__btn--primary {
  background: #16a34a;
  color: #fff;
  border: 1px solid #16a34a;
}

.jsp-hero__btn--primary:hover {
  background: #15803d;
  color: #fff;
}

.jsp-hero__share-wrap {
  position: relative;
}

.jsp-hero__share-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.jsp-hero__share-btn:hover {
  border-color: #16a34a;
  color: #16a34a;
}

.jsp-hero__share-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.jsp-hero__share-wrap:hover .jsp-hero__share-dropdown {
  opacity: 1;
  visibility: visible;
}

.jsp-hero__share-dropdown a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  border-radius: 10px;
  font-size: 18px;
}

.jsp-hero__share-dropdown a:hover {
  color: #16a34a;
  background: #f0fdf4;
}

.jsp-hero__divider {
  height: 1px;
  background: #e2e8f0;
  margin-top: 32px;
}

.jsp__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.jsp__twocol {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 48px 0 64px;
  align-items: start;
}

.jsp__main {
  min-width: 0;
}

.jsp__block {
  margin-bottom: 0;
}

.jsp__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.jsp__about-content {
  max-width: 720px;
  line-height: 1.7;
  font-size: 16px;
  color: #334155;
}

.jsp__about-content p {
  margin-bottom: 1em;
}

.jsp__about-content p:last-child {
  margin-bottom: 0;
}

.jsp__muted {
  color: #64748b;
  font-size: 15px;
  margin: 0;
}

.jsp__muted--sm {
  font-size: 14px;
  margin-bottom: 12px;
}

.jsp__sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.jsp__side-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.jsp__side-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.jsp__side-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.jsp__side-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.jsp__side-list li:last-child {
  margin-bottom: 0;
}

.jsp__side-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  text-decoration: none;
}

.jsp__side-list a:hover {
  color: #16a34a;
}

.jsp__side-list i {
  flex-shrink: 0;
  width: 20px;
  color: #94a3b8;
}

.jsp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.jsp__btn--primary {
  background: #16a34a;
  color: #fff;
  border: 1px solid #16a34a;
}

.jsp__btn--primary:hover {
  background: #15803d;
  color: #fff;
}

.jsp__btn--block {
  width: 100%;
}

.jsp__similar-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jsp__similar-list li {
  margin-bottom: 0;
}

.jsp__similar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s ease, color 0.2s ease;
}

.jsp__similar-link:last-child {
  border-bottom: none;
}

.jsp__similar-link:hover {
  color: #16a34a;
}

.jsp__similar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.jsp__similar-avatar--placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #15803d;
}

.jsp__similar-name {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 991px) {
  .jsp__twocol {
    grid-template-columns: 1fr;
    padding: 36px 0 48px;
  }
  .jsp__sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .jsp-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .jsp-hero__left {
    flex-direction: column;
    align-items: flex-start;
  }
  .jsp-hero__name {
    font-size: 1.5rem;
  }
  .jsp-hero__card {
    padding: 28px 20px;
  }
  .jsp__wrap {
    padding: 0 16px;
  }
}

@media (max-width: 575px) {
  .jsp-hero__wrap {
    padding: 0 16px;
  }
  .jsp-hero__avatar,
  .jsp-hero__avatar--placeholder {
    width: 100px;
    height: 100px;
  }
  .jsp-hero__avatar-initial {
    font-size: 2.25rem;
  }
}

/* ========== POST FREE JOB (pfj) — Hero + form cards ========== */
.pfj {
  padding: 0;
  background: #f8fafc;
  min-height: 60vh;
}

.pfj-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 40px 0 36px;
}

.pfj-hero__wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.pfj-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.pfj-hero__sub {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

.pfj-form-section {
  padding: 32px 0 56px;
}

.pfj-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Paid promotion (Add Free Job) */
.pfj-promo {
  margin: 0 0 22px 0;
}
.pfj-promo__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
}
.pfj-promo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pfj-promo-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px 18px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}
.pfj-promo-card--featured {
  border-color: rgba(22, 163, 74, 0.5);
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.92) 0%, #fff 100%);
}
.pfj-promo-card__head {
  margin-bottom: 12px;
}
.pfj-promo-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.pfj-promo-card__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}
.pfj-promo-card__price {
  font-size: 1.5rem;
  font-weight: 900;
  color: #16a34a;
  margin: 0;
}
.pfj-promo-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}
.pfj-promo-card__features li {
  position: relative;
  padding-left: 1.25em;
  margin-bottom: 6px;
}
.pfj-promo-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 900;
}
.pfj-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pfj-promo-btn:active { transform: translateY(1px); }
.pfj-promo-btn--outline {
  background: #fff;
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.45);
}
.pfj-promo-btn--outline:hover {
  background: #f0fdf4;
  border-color: #16a34a;
}
.pfj-promo-btn--primary {
  background: #16a34a;
  color: #fff;
  border: 1px solid #16a34a;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.22);
}
.pfj-promo-btn--primary:hover {
  background: #15803d;
  border-color: #15803d;
}

@media (max-width: 767px) {
  .pfj-promo__grid {
    grid-template-columns: 1fr;
  }
}

.pfj-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pfj-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.pfj-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.pfj-form-group {
  margin-bottom: 1.25rem;
}

.pfj-form-group:last-child,
.pfj-form-group:last-of-type {
  margin-bottom: 0;
}

.pfj-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pfj-form-group--half {
  margin-bottom: 1.25rem;
}

.pfj-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
}

.pfj-input,
.pfj-select,
.pfj-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.pfj-input:focus,
.pfj-select:focus,
.pfj-textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.pfj-input.is-invalid,
.pfj-select.is-invalid {
  border-color: #dc2626;
}

.pfj-textarea {
  min-height: 160px;
  resize: vertical;
}

.pfj-file {
  width: 100%;
  padding: 10px 0;
  font-size: 14px;
  color: #475569;
}

.pfj-hint {
  font-size: 13px;
  color: #64748b;
  margin: 8px 0 0 0;
  line-height: 1.4;
}

.pfj-error {
  font-size: 13px;
  color: #dc2626;
  margin-top: 6px;
}

.pfj-card--captcha {
  padding: 20px 32px;
}

.pfj-card--captcha .g-recaptcha {
  transform-origin: left;
}

.pfj-submit-wrap {
  margin-top: 8px;
}

.pfj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pfj-btn:hover {
  background: #15803d;
}

@media (max-width: 767px) {
  .pfj-row {
    grid-template-columns: 1fr;
  }
  .pfj-card {
    padding: 22px 20px;
  }
  .pfj-form-wrap {
    padding: 0 16px;
  }
}

/* ========== CONTACT PAGE (cp) ========== */
.cp {
  background: #f8fafc;
  padding-bottom: 48px;
}

.cp-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 40px 0 36px;
}

.cp-hero__wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.cp-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.cp-hero__sub {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

.cp-section {
  padding: 32px 0 0;
}

.cp-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.cp-form {
  margin-bottom: 48px;
}

.cp-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.cp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cp-form__group {
  margin-bottom: 1.25rem;
}

.cp-form__group:last-of-type {
  margin-bottom: 0;
}

.cp-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
}

.cp-input,
.cp-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cp-input:focus,
.cp-textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.cp-textarea {
  min-height: 140px;
  resize: vertical;
}

.cp-error {
  font-size: 13px;
  color: #dc2626;
  margin-top: 6px;
}

.cp-form__submit {
  margin-top: 1.5rem;
}

.cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.cp-btn:hover {
  background: #15803d;
}

.cp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cp-card-item {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.cp-card-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.cp-card-item__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.cp-card-item__text {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.cp-card-item__link {
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  text-decoration: none;
}

.cp-card-item__link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .cp-form__row {
    grid-template-columns: 1fr;
  }
  .cp-cards {
    grid-template-columns: 1fr;
  }
  .cp-wrap {
    padding: 0 16px;
  }
  .cp-card {
    padding: 24px 20px;
  }
}

/* ========== ABOUT PAGE (ap) ========== */
.ap {
  background: #f8fafc;
  padding-bottom: 56px;
}

.ap-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 40px 0 36px;
}

.ap-hero__wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.ap-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.ap-hero__sub {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

.ap-content {
  padding: 40px 0 0;
}

.ap-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.ap-intro {
  margin-bottom: 48px;
}

.ap-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 1rem 0;
}

.ap-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.ap-steps-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 28px 0;
  text-align: center;
}

.ap-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ap-step {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.ap-step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ap-step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.ap-step__text {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .ap-steps {
    grid-template-columns: 1fr;
  }
  .ap-wrap {
    padding: 0 16px;
  }
  .ap-step {
    padding: 28px 20px;
  }
}

/* ========== NGO DETAIL PAGE (ndp) — Full-width, two-column, sticky sidebar ========== */
.ndp {
  background: #fff;
}

.ndp__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* HERO — Section bg + elevated white container (ndp-hero) */
.ndp-hero {
  width: 100%;
  background: #f8fafc;
  padding: 36px 0 44px;
}

.ndp-hero__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.ndp-hero__card {
  background: #fff;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.ndp-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.ndp-hero__left {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.ndp-hero__logo-box {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: 20px;
  background: #f1f5f9;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ndp-hero__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.ndp-hero__info {
  min-width: 0;
}

.ndp-hero__name {
  font-size: 48px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.ndp-hero__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.ndp-hero__stars {
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
  color: #e5e7eb;
}

.ndp-hero__stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f59e0b;
}

.ndp-hero__rating-num {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.ndp-hero__review-count {
  font-size: 14px;
  color: #94a3b8;
}

.ndp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ndp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.ndp-hero__badge i {
  color: #94a3b8;
}

.ndp-hero__badge--verified {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #166534;
}

.ndp-hero__badge--verified i {
  color: #16a34a;
}

.ndp-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.ndp-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  min-width: 160px;
}

.ndp-hero__btn--primary {
  background: #16a34a;
  color: #fff;
  border: 1px solid #16a34a;
}

.ndp-hero__btn--primary:hover {
  background: #15803d;
  color: #fff;
}

.ndp-hero__btn--outline {
  background: transparent;
  color: #16a34a;
  border: 1px solid #16a34a;
  border-radius: 16px;
  padding: 14px 28px;
}

.ndp-hero__btn--outline:hover {
  background: #f0fdf4;
  color: #15803d;
  border-color: #15803d;
}

.ndp-hero__share-wrap {
  position: relative;
}

.ndp-hero__share-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: border-color 0.2s, color 0.2s;
}

.ndp-hero__share-btn:hover {
  border-color: #16a34a;
  color: #16a34a;
}

.ndp-hero__share-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 8px 0 0 0;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  gap: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 10;
}

.ndp-hero__share-wrap:hover .ndp-hero__share-dropdown {
  opacity: 1;
  visibility: visible;
}

.ndp-hero__share-dropdown a {
  color: #64748b;
  padding: 8px;
  border-radius: 8px;
}

.ndp-hero__share-dropdown a:hover {
  color: #16a34a;
  background: #f0fdf4;
}

.ndp-hero__divider {
  height: 1px;
  background: #e2e8f0;
  margin-top: 32px;
}

.ndp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ndp__btn--primary {
  background: #16a34a;
  color: #fff;
  border: 1px solid #16a34a;
}

.ndp__btn--primary:hover {
  background: #15803d;
  color: #fff;
}

.ndp__btn--outline {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.ndp__btn--outline:hover {
  border-color: #16a34a;
  color: #16a34a;
}

.ndp__btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

.ndp__btn--block {
  width: 100%;
}

/* SECTION 2 — Two column layout */
.ndp__twocol {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 70px 0;
  align-items: start;
}

.ndp__main {
  min-width: 0;
}

.ndp__block {
  margin-bottom: 70px;
}

.ndp__block:last-child {
  margin-bottom: 0;
}

.ndp__heading {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
}

.ndp__muted {
  color: #64748b;
  font-size: 15px;
}

.ndp__muted--sm {
  font-size: 14px;
  margin-bottom: 12px;
}

/* About — readable width, no grey box */
.ndp__about-content {
  max-width: 720px;
  line-height: 1.7;
  font-size: 16px;
  color: #334155;
}

.ndp__about-content p {
  margin-bottom: 1em;
}

.ndp__about-content p:last-child {
  margin-bottom: 0;
}

/* Impact cards — white, 18px radius, 24px padding, subtle shadow */
.ndp__impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ndp__impact-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.ndp__impact-value {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.ndp__impact-label {
  font-size: 14px;
  color: #64748b;
}

/* Reviews */
.ndp__reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.ndp__reviews-head .ndp__heading {
  margin-bottom: 0;
}

.ndp__reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ndp__review-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.ndp__review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.ndp__review-author {
  font-weight: 600;
  color: #0f172a;
  font-size: 15px;
}

.ndp__review-stars {
  display: flex;
  gap: 2px;
  font-size: 14px;
}

.ndp__review-star {
  color: #e5e7eb;
}

.ndp__review-star--on {
  color: #f59e0b;
}

.ndp__review-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #0f172a;
}

.ndp__review-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.ndp__review-date {
  font-size: 13px;
  color: #94a3b8;
}

/* Empty state */
.ndp__empty {
  background: #fff;
  border-radius: 18px;
  padding: 40px 24px;
  border: 1px dashed #e2e8f0;
  text-align: left;
}

.ndp__empty-text {
  color: #64748b;
  font-size: 15px;
  margin: 0 0 16px 0;
}

/* Sidebar — sticky */
.ndp__sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ndp__side-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.ndp__side-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.ndp__side-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #475569;
}

.ndp__side-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ndp__side-list li:last-child {
  margin-bottom: 0;
}

.ndp__side-list i {
  flex-shrink: 0;
  width: 18px;
  margin-top: 2px;
  color: #94a3b8;
}

.ndp__side-list--links a {
  color: #0f172a;
  text-decoration: none;
}

.ndp__side-list--links a:hover {
  color: #16a34a;
}

.ndp__side-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Similar NGOs list in sidebar */
.ndp__similar-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ndp__similar-list li {
  margin-bottom: 0;
  border-bottom: 1px solid #f1f5f9;
}

.ndp__similar-list li:last-child {
  border-bottom: none;
}

.ndp__similar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  text-decoration: none;
  color: #0f172a;
  transition: background 0.15s;
  border-radius: 8px;
  margin: 0 -4px;
  padding-left: 4px;
  padding-right: 4px;
}

.ndp__similar-link:hover {
  background: #f8fafc;
}

.ndp__similar-link .ndp__similar-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: #f1f5f9;
  flex-shrink: 0;
}

.ndp__similar-link .ndp__similar-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ndp__similar-link .ndp__similar-count {
  font-size: 12px;
  color: #64748b;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .ndp__wrap {
    padding: 0 24px;
  }
  .ndp__twocol {
    grid-template-columns: 1fr;
    padding: 50px 0;
  }
  .ndp__sidebar {
    position: static;
  }
  .ndp__block {
    margin-bottom: 50px;
  }
  .ndp-hero__name {
    font-size: 34px;
  }
  .ndp__impact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ndp__wrap {
    padding: 0 16px;
  }
  .ndp-hero__wrap {
    padding: 0 16px;
  }
  .ndp-hero__card {
    padding: 32px 24px;
  }
  .ndp-hero {
    padding: 24px 0 36px;
  }
  .ndp__twocol {
    padding: 40px 0;
  }
  .ndp-hero__inner {
    flex-direction: column;
  }
  .ndp-hero__left {
    flex-direction: column;
  }
  .ndp-hero__name {
    font-size: 28px;
  }
  .ndp-hero__cta {
    align-items: stretch;
    width: 100%;
  }
  .ndp-hero__btn {
    min-width: 0;
    justify-content: center;
  }
  .ndp__heading {
    font-size: 22px;
  }
  .ndp__block {
    margin-bottom: 40px;
  }
}

/* ========== JOB DETAIL PAGE (jdp) — Modern SaaS layout ========== */
.jdp {
  background: #fff;
}

.jdp__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* HERO */
.jdp-hero {
  padding: 36px 0 0;
}

.jdp-hero__card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.jdp-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.jdp-hero__left {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.jdp-hero__logo-wrap {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: #f1f5f9;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jdp-hero__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.jdp-hero__info {
  min-width: 0;
}

.jdp-hero__title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.jdp-hero__ngo {
  display: inline-block;
  font-size: 17px;
  font-weight: 500;
  color: #16a34a;
  text-decoration: none;
  margin-bottom: 14px;
}

.jdp-hero__ngo:hover {
  color: #15803d;
}

.jdp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jdp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.jdp-hero__badge i {
  color: #94a3b8;
}

.jdp-hero__badge--muted {
  background: #f1f5f9;
  color: #64748b;
}

.jdp-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.jdp-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  min-width: 160px;
  border: 1px solid transparent;
}

.jdp-hero__btn--primary {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

.jdp-hero__btn--primary:hover {
  background: #15803d;
  color: #fff;
}

.jdp-hero__btn--primary.jdp-hero__btn--disabled {
  background: #94a3b8;
  border-color: #94a3b8;
  cursor: default;
  pointer-events: none;
}

.jdp-hero__btn--outline {
  background: transparent;
  color: #0f172a;
  border-color: #e2e8f0;
}

.jdp-hero__btn--outline:hover {
  border-color: #16a34a;
  color: #16a34a;
}

.jdp-hero__share-wrap {
  position: relative;
}

.jdp-hero__share-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: border-color 0.2s, color 0.2s;
}

.jdp-hero__share-btn:hover {
  border-color: #16a34a;
  color: #16a34a;
}

.jdp-hero__share-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 8px 0 0 0;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  gap: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 10;
}

.jdp-hero__share-wrap:hover .jdp-hero__share-dropdown {
  opacity: 1;
  visibility: visible;
}

.jdp-hero__share-dropdown a {
  color: #64748b;
  padding: 8px;
  border-radius: 8px;
}

.jdp-hero__share-dropdown a:hover {
  color: #16a34a;
  background: #f0fdf4;
}

.jdp-hero__divider {
  height: 1px;
  background: #e2e8f0;
  margin-top: 32px;
}

/* TWO COLUMN */
.jdp__twocol {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 70px 0;
  align-items: start;
}

.jdp__main {
  min-width: 0;
}

.jdp__block {
  margin-bottom: 56px;
}

.jdp__block:last-child {
  margin-bottom: 0;
}

.jdp__heading {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
}

.jdp__muted {
  color: #64748b;
  font-size: 15px;
}

/* Job Overview grid */
.jdp-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}

.jdp-overview__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jdp-overview__label {
  font-size: 13px;
  color: #64748b;
}

.jdp-overview__value {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

/* Job Description content */
.jdp__content {
  font-size: 16px;
  color: #334155;
  line-height: 1.7;
}

.jdp__content p {
  margin-bottom: 1em;
}

.jdp__content p:last-child {
  margin-bottom: 0;
}

.jdp__content ul {
  margin: 0 0 1em 0;
  padding-left: 1.5em;
}

.jdp__content li {
  margin-bottom: 0.5em;
}

/* SIDEBAR */
.jdp__sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.jdp__side-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.jdp__side-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 18px 0;
}

.jdp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.jdp__btn--primary {
  background: #16a34a;
  color: #fff;
  border: 1px solid #16a34a;
}

.jdp__btn--primary:hover {
  background: #15803d;
  color: #fff;
}

.jdp__btn--block {
  width: 100%;
}

.jdp__btn--disabled {
  background: #94a3b8;
  border-color: #94a3b8;
  cursor: default;
  pointer-events: none;
}

/* NGO block in sidebar */
.jdp-ngo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #0f172a;
  padding: 8px 0;
}

.jdp-ngo:hover {
  color: #16a34a;
}

.jdp-ngo__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #f1f5f9;
  flex-shrink: 0;
}

.jdp-ngo__name {
  font-weight: 600;
  font-size: 15px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jdp-ngo__link {
  font-size: 13px;
  color: #16a34a;
}

/* Similar jobs list */
.jdp-similar {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jdp-similar li {
  border-bottom: 1px solid #f1f5f9;
}

.jdp-similar li:last-child {
  border-bottom: none;
}

.jdp-similar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  text-decoration: none;
  color: #0f172a;
  transition: background 0.15s;
  border-radius: 8px;
  margin: 0 -4px;
  padding-left: 4px;
}

.jdp-similar__item:hover {
  background: #f8fafc;
}

.jdp-similar__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: #f1f5f9;
  flex-shrink: 0;
}

.jdp-similar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.jdp-similar__title {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jdp-similar__org {
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 992px) {
  .jdp__wrap {
    padding: 0 24px;
  }
  .jdp__twocol {
    grid-template-columns: 1fr;
    padding: 50px 0;
  }
  .jdp__sidebar {
    position: static;
  }
  .jdp-hero__title {
    font-size: 28px;
  }
  .jdp-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .jdp__wrap {
    padding: 0 16px;
  }
  .jdp-hero__card {
    padding: 24px 20px;
  }
  .jdp-hero__inner {
    flex-direction: column;
  }
  .jdp-hero__left {
    flex-direction: column;
  }
  .jdp-hero__title {
    font-size: 24px;
  }
  .jdp-hero__cta {
    align-items: stretch;
    width: 100%;
  }
  .jdp-hero__btn {
    min-width: 0;
  }
  .jdp__heading {
    font-size: 20px;
  }
  .jdp__block {
    margin-bottom: 40px;
  }
}

/* ========== MEGA HEADER & MEGA MENU (GoodFirms style) ========== */
.mega-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 40px;
  transition: box-shadow 0.2s ease;
}

.mega-header--scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.mega-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.mega-header__brand {
  flex-shrink: 0;
}

.mega-header__logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Desktop nav */
.mega-nav {
  display: none;
}

@media (min-width: 992px) {
  .mega-nav {
    display: block;
    flex: 1;
  }

  .mega-nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mega-nav__link {
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
  }

  .mega-nav__link::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background: #16a34a;
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }

  .mega-nav__item:hover .mega-nav__link,
  .mega-nav__link:hover {
    color: #16a34a;
  }

  .mega-nav__item:hover .mega-nav__link::after,
  .mega-nav__link:hover::after {
    transform: scaleX(1);
  }

  .mega-nav__item--dropdown {
    position: relative;
  }
}

/* Mega dropdown — full-width, fixed below header */
.mega-dropdown {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 1020;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.mega-dropdown--hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
}

.mega-nav__item--dropdown:hover .mega-dropdown,
.mega-dropdown:not(.mega-dropdown--hidden) {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-dropdown__box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.mega-dropdown__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.mega-dropdown__heading {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.mega-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-dropdown__list li {
  margin: 0;
}

.mega-dropdown__list li + li {
  margin-top: 14px;
}

.mega-dropdown__list a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-dropdown__list a:hover {
  color: #16a34a;
}

.mega-dropdown__viewall {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-dropdown__viewall:hover {
  color: #15803d;
}

/* Header actions */
.mega-header__actions {
  display: none;
}

@media (min-width: 992px) {
  .mega-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mega-header__account {
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.2s ease;
  }

  .mega-header__account:hover {
    color: #16a34a;
  }

  .mega-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .mega-header__btn--primary {
    background: #16a34a;
    color: #fff;
    border: none;
  }

  .mega-header__btn--primary:hover {
    background: #15803d;
    color: #fff;
  }

  .mega-header__signin-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }

  .mega-header__link-signin {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .mega-header__link-signin:hover {
    background: #f1f5f9;
    color: #0f172a;
  }

  /* Sign In dropdown: aligned under the button (no overflow) */
  .mega-nav__item--signin {
    position: relative;
  }

  .mega-dropdown--signin {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    bottom: auto;
    width: auto;
    min-width: 200px;
    max-width: calc(100vw - 24px);
    padding-top: 10px;
    z-index: 1030;
  }

  .mega-dropdown--signin .mega-dropdown__box {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 8px 0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  }

  .mega-dropdown--signin .mega-dropdown__inner {
    display: block;
    padding: 0;
    gap: 0;
  }

  .mega-dropdown--signin .mega-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mega-dropdown--signin .mega-dropdown__list a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #334155;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .mega-dropdown--signin .mega-dropdown__list a:hover {
    background: #f8fafc;
    color: #16a34a;
  }

  .mega-header__btn--register-ngo {
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
  }

  .mega-header__btn--register-ngo:hover {
    background: #15803d;
    color: #fff;
  }
}

/* Hamburger: visible only on mobile */
.mega-header__toggler {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.mega-header__toggler:hover {
  background: #f1f5f9;
}

@media (min-width: 992px) {
  .mega-header__toggler {
    display: none;
  }
}

.mega-header__toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #334155;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mega-header__toggler[aria-expanded="true"] .mega-header__toggler-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.mega-header__toggler[aria-expanded="true"] .mega-header__toggler-bar:nth-child(2) {
  opacity: 0;
}

.mega-header__toggler[aria-expanded="true"] .mega-header__toggler-bar:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ========== MOBILE PANEL ========== */
.mega-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 1040;
  transform: translateX(-100%);
  transition: transform 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
}

.mega-panel[aria-hidden="false"] {
  transform: translateX(0);
  visibility: visible;
}

body.mega-panel-open {
  overflow: hidden;
}

.mega-panel__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f1f5f9;
  color: #334155;
  font-size: 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.mega-panel__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.mega-panel__inner {
  padding: 80px 24px 40px;
}

.mega-panel__list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

.mega-panel__item {
  border-bottom: 1px solid #e2e8f0;
}

.mega-panel__link {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-panel__link:hover {
  color: #16a34a;
}

.mega-panel__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: #334155;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.mega-panel__trigger:hover {
  color: #16a34a;
}

.mega-panel__chevron {
  font-size: 12px;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.mega-panel__trigger[aria-expanded="true"] .mega-panel__chevron {
  transform: rotate(180deg);
}

.mega-panel__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mega-panel__content.mega-panel__content--open {
  max-height: 600px;
}

.mega-panel__block {
  padding: 0 0 20px 0;
}

.mega-panel__block:last-child {
  padding-bottom: 16px;
}

.mega-panel__subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.mega-panel__sublink {
  display: block;
  padding: 0;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 400;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-panel__sublink:first-of-type {
  margin-top: 0;
}

.mega-panel__viewall {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-panel__viewall:hover {
  color: #15803d;
}

.mega-panel__sublink:hover {
  color: #16a34a;
}

.mega-panel__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mega-panel__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mega-panel__btn-link:hover {
  background: #15803d;
  color: #fff;
}

.mega-panel__actions {
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-panel__link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
}

.mega-panel__link:hover {
  color: #16a34a;
}

.mega-panel__btn--register-ngo {
  margin-top: 8px;
  border-radius: 14px;
  padding: 12px 22px;
  background: #16a34a;
  color: #fff;
}

.mega-panel__btn--register-ngo:hover {
  background: #15803d;
  color: #fff;
}

.mega-panel__account {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
}

.mega-panel__account:hover {
  color: #16a34a;
}

.mega-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  margin-top: 8px;
}

.mega-panel__btn:hover {
  background: #15803d;
  color: #fff;
}

.mega-panel__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1035;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mega-panel__backdrop[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

/* Responsive: reduce header padding on small screens */
@media (max-width: 768px) {
  .mega-header {
    padding: 0 16px;
  }
}

@media (max-width: 576px) {
  .mega-header {
    padding: 0 12px;
  }

  .mega-panel {
    max-width: 100%;
  }

  /* Sign In dropdown mobile fallback: full width, left aligned */
  .mega-dropdown--signin {
    left: 0;
    right: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-top: 8px;
  }
}

/* ========== NGO JOBS BY COUNTRY PAGE ========== */
.country-jobs {
  background: #fff;
}

.country-jobs__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.country-jobs__hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.country-jobs__title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.country-jobs__sub {
  font-size: 17px;
  color: #64748b;
  margin: 0;
  max-width: 560px;
  line-height: 1.5;
}

.country-jobs__section {
  padding: 48px 0 64px;
}

.country-jobs__heading {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 24px 0;
}

.country-jobs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.country-jobs__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  color: #334155;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.country-jobs__card:hover {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #15803d;
}

.country-jobs__card-name {
  flex: 1;
  min-width: 0;
}

.country-jobs__card-arrow {
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 12px;
  color: #94a3b8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.country-jobs__card:hover .country-jobs__card-arrow {
  color: #16a34a;
  transform: translateX(4px);
}

.country-jobs__card-count {
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  transition: color 0.2s ease;
}

.country-jobs__card:hover .country-jobs__card-count {
  color: #16a34a;
}

.country-jobs__empty {
  grid-column: 1 / -1;
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

@media (max-width: 768px) {
  .country-jobs__wrap {
    padding: 0 20px;
  }
  .country-jobs__hero {
    padding: 40px 0 32px;
  }
  .country-jobs__title {
    font-size: 28px;
  }
  .country-jobs__sub {
    font-size: 15px;
  }
  .country-jobs__section {
    padding: 36px 0 48px;
  }
  .country-jobs__grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Legal pages (Privacy Policy, Terms and Conditions) ========== */
.legal-page {
  padding: 48px 0 64px;
  background: #f8fafc;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.legal-page__content {
  text-align: left;
}

.legal-page__content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 1.75rem 0 0.5rem;
}

.legal-page__content h3:first-child {
  margin-top: 0;
}

.legal-page__content p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 1rem;
}

/* ========== JOB SEEKER DASHBOARD (jsd) ========== */
.jsd {
  background: #f8fafc;
  padding-bottom: 48px;
  min-height: 60vh;
}

.jsd-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 32px 0 28px;
}

.jsd-hero__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.jsd-hero__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.jsd-hero__sub {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0;
}

.jsd-hero__profile-link,
.jsd-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #16a34a;
  border-radius: 12px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.jsd-hero__profile-link:hover,
.jsd-profile-btn:hover {
  color: #fff;
  background: #16a34a;
  border-color: #16a34a;
}

.jsd-hero__profile-link i,
.jsd-profile-btn i {
  font-size: 12px;
  opacity: 0.9;
}

.jsd-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 48px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.jsd-sidebar {
  position: sticky;
  top: 100px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.jsd-sidebar__profile-link-wrap {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.jsd-sidebar__profile-link,
.jsd-sidebar__profile-link-wrap .jsd-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #16a34a;
  border-radius: 10px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.jsd-sidebar__profile-link:hover,
.jsd-sidebar__profile-link-wrap .jsd-profile-btn:hover {
  color: #fff;
  background: #16a34a;
  border-color: #16a34a;
}

.jsd-sidebar__profile-link i,
.jsd-sidebar__profile-link-wrap .jsd-profile-btn i {
  font-size: 11px;
  opacity: 0.9;
}

.jsd-nav {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.jsd-nav__item {
  margin: 0;
}

.jsd-nav__link {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.jsd-nav__link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.jsd-nav__link.active {
  background: #ecfdf5;
  color: #15803d;
  font-weight: 600;
}

.jsd-nav__link.logout {
  color: #dc2626;
}

.jsd-nav__link.logout:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.jsd-main {
  min-width: 0;
}

.jsd-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.jsd-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.jsd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.jsd-form-group {
  margin-bottom: 1.25rem;
}

.jsd-form-group:last-child {
  margin-bottom: 0;
}

.jsd-form-group--full {
  grid-column: 1 / -1;
}

.jsd-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
}

.jsd-label span.required {
  color: #dc2626;
}

.jsd-input,
.jsd-select,
.jsd-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.jsd-input:focus,
.jsd-select:focus,
.jsd-textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.jsd-input.is-invalid,
.jsd-select.is-invalid {
  border-color: #dc2626;
}

.jsd-input:disabled {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

.jsd-textarea {
  min-height: 120px;
  resize: vertical;
}

.jsd-radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.jsd-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
}

.jsd-file-hint {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
}

.jsd-error {
  font-size: 13px;
  color: #dc2626;
  margin-top: 6px;
}

/* Sector / Skills multi-select chips */
.jsd-skills-wrap.is-invalid .jsd-skills-grid {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.jsd-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Collapsed: show only first 6 chips */
.jsd-skills-grid.jsd-skills-grid--collapsed .jsd-skill-chip--more {
  display: none;
}

.jsd-skills-viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  background: transparent;
  border: 1px solid #16a34a;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jsd-skills-viewall:hover {
  background: #f0fdf4;
  color: #15803d;
  border-color: #15803d;
}

.jsd-address-row {
  margin-bottom: 16px;
}

.jsd-address-row .jsd-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr) auto;
  gap: 16px;
  align-items: flex-end;
}

/* Align Remove button with input row: same margin as other fields so baseline matches */
.jsd-address-row .jsd-form-row .jsd-form-group:last-child {
  display: flex;
  align-items: flex-end;
  margin-bottom: 1.25rem;
}

.jsd-address-remove {
  background: none;
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: 0 14px;
  min-height: 46px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.jsd-address-remove:hover {
  border-color: #dc2626;
  color: #dc2626;
}

/* Toggle switch in tables */
.jsd-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.jsd-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.jsd-switch__slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #e2e8f0;
  border-radius: 24px;
  transition: 0.2s;
}

.jsd-switch__slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.jsd-switch input:checked + .jsd-switch__slider {
  background: #16a34a;
}

.jsd-switch input:checked + .jsd-switch__slider:before {
  transform: translateX(20px);
}

.jsd-skills-viewall__icon {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.jsd-skill-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.jsd-skill-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.jsd-skill-chip--checked,
.jsd-skill-chip:has(.jsd-skill-input:checked) {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #15803d;
  box-shadow: 0 0 0 1px #16a34a;
}

.jsd-skill-chip--checked .jsd-skill-chip__check,
.jsd-skill-chip:has(.jsd-skill-input:checked) .jsd-skill-chip__check {
  opacity: 1;
  transform: scale(1);
}

.jsd-skill-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jsd-skill-chip__text {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  flex: 1;
}

.jsd-skill-chip--checked .jsd-skill-chip__text,
.jsd-skill-chip:has(.jsd-skill-input:checked) .jsd-skill-chip__text {
  color: #15803d;
}

.jsd-skill-chip__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 767px) {
  .jsd-skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    padding: 12px;
    gap: 8px;
  }

  .jsd-skill-chip {
    padding: 10px 12px;
  }

  .jsd-skill-chip__text {
    font-size: 13px;
  }
}

.jsd-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 8px;
}

.jsd-submit:hover {
  background: #15803d;
}

/* Page header with action button */
.jsd-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.jsd-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.jsd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.jsd-btn:hover {
  background: #15803d;
  color: #fff;
}

.jsd-btn i {
  font-size: 14px;
}

/* Table */
.jsd-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.jsd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.jsd-table th {
  text-align: left;
  padding: 14px 16px;
  background: #f8fafc;
  font-weight: 600;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
}

.jsd-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
}

.jsd-table tbody tr:last-child td {
  border-bottom: none;
}

.jsd-table tbody tr:hover {
  background: #fafafa;
}

.jsd-table a {
  color: #16a34a;
  font-weight: 500;
  text-decoration: none;
}

.jsd-table a:hover {
  text-decoration: underline;
}

/* Action cell: keep button visible (table link style must not override .jsd-btn) */
.jsd-table .jsd-table__action a.jsd-btn,
.jsd-table .jsd-btn {
  color: #fff !important;
  text-decoration: none;
}

.jsd-table .jsd-table__action a.jsd-btn:hover,
.jsd-table .jsd-btn:hover {
  color: #fff !important;
  text-decoration: none;
}

.jsd-table .jsd-table__action {
  white-space: nowrap;
}

.jsd-empty {
  text-align: center;
  padding: 40px 24px;
  color: #64748b;
  font-size: 15px;
}

/* Pagination */
.jsd .pagination {
  margin-top: 24px;
  gap: 8px;
}

.jsd .pagination .page-link {
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 500;
}

/* Modal */
.jsd-modal .modal-content {
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.jsd-modal .modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.jsd-modal .modal-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

.jsd-modal .modal-body {
  padding: 24px;
}

.jsd-modal .modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #f1f5f9;
  gap: 10px;
}

.jsd-modal .form-label {
  font-weight: 600;
  color: #0f172a;
}

.jsd-modal .form-select,
.jsd-modal .form-control {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
}

@media (max-width: 991px) {
  .jsd-wrap {
    grid-template-columns: 1fr;
    padding: 20px 16px 40px;
  }

  .jsd-sidebar {
    position: static;
  }

  .jsd-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
  }

  .jsd-nav__item {
    flex: 1 1 auto;
  }

  .jsd-nav__link {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 10px;
  }
}

/* Job posting type cards (Add Job) */
.job-type-section {
  margin-bottom: 28px;
}
.job-type-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
}
.job-type-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.job-type-card {
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: #fff;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.job-type-card__inner {
  padding: 24px;
  position: relative;
}
.job-type-card--free {
  background: #fff;
}
.job-type-card--featured {
  border-color: #e2e8f0;
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.92) 0%, #fff 100%);
  transform: scale(1.02);
}
.job-type-card.is-selected {
  border-color: #16a34a;
  box-shadow: 0 6px 24px rgba(22, 163, 74, 0.2);
}
.job-type-card.is-selected .job-type-card__check {
  opacity: 1;
}
.job-type-card__check {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #16a34a;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.job-type-card__badge {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.job-type-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}
.job-type-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #16a34a;
  margin: 0 0 16px 0;
}
.job-type-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.6;
}
.job-type-card__features li {
  padding-left: 1.25em;
  position: relative;
}
.job-type-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}
.job-type-card__btn {
  display: inline-block;
  padding: 10px 20px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}
.job-type-card__highlight {
  margin: 14px 0 8px;
  padding: 12px 14px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: #0f172a;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
}
.job-type-card__note {
  margin: 0 0 14px 0;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}
.job-type-card--featured .job-type-card__btn {
  background: #16a34a;
  color: #fff;
}
.job-type-card.is-selected .job-type-card__btn {
  background: #16a34a;
  color: #fff;
}

.job-type-social-proof {
  margin-top: 16px;
  border-radius: 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1px dashed rgba(22, 163, 74, 0.35);
  color: #0f172a;
  font-weight: 700;
}

@media (max-width: 767px) {
  .job-type-cards {
    grid-template-columns: 1fr;
  }
  .jsd-form-row {
    grid-template-columns: 1fr;
  }

  .jsd-address-row .jsd-form-row {
    grid-template-columns: 1fr 1fr;
  }

  .jsd-card {
    padding: 20px 20px;
  }

  .jsd-table th,
  .jsd-table td {
    padding: 12px;
    font-size: 14px;
  }
}
