/* ============ RESET & ROOT ============ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

:root {
  --jn-navy: #052e5a;
  --jn-orange: #f77a2a;
  --bg: #f5f7fb;
  --text-main: #111827;
  --text-muted: #6b7280;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  overflow-x: hidden;
}

/* ============ NAVBAR ============ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;

  background-size: cover;
  background-position: center;

  background-repeat: no-repeat;

  /* Keep your existing glass effect */
  background-color: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
/* Mobile nav base */
.mobile-nav{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background:#fff;
  border:1px solid rgba(5,46,90,.10);
  box-shadow: 0 18px 50px rgba(5,46,90,.12);
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
  z-index: 9999;
}

.mobile-nav a{
  display:block;
  padding: 12px 12px;
  border-radius: 12px;
  color:#052E5A;
  font-weight:600;
  text-decoration:none;
}

.mobile-nav a:hover{
  background: rgba(0,113,188,.08);
}

.mobile-nav .mobile-cta{
  display:grid;
  gap:10px;
  margin-top: 12px;
}

/* Toggle state */
.mobile-nav.is-open{ display:block; }

/* Make sure nav-wrapper can anchor the absolute menu */
.nav-wrapper{ position:relative; }

/* Only show hamburger on mobile, hide desktop nav/cta */
@media (max-width: 900px){
  .nav-links, .desktop-cta{ display:none; }
  .mobile-menu-btn{ display:inline-flex; }
}
@media (min-width: 901px){
  .mobile-menu-btn{ display:none; }
  .mobile-nav{ display:none !important; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.brand-logo:hover {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 6px 14px rgba(5, 46, 90, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  position: relative;
  font-size: 1.2rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jn-navy), var(--jn-orange));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  color: var(--jn-navy);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--jn-navy);
  font-weight: 600;
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* CTA buttons */

.desktop-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.65rem;
  min-width: 260px;
}

.desktop-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;

  min-height: 54px;        /* was 46px – bigger & more premium */
  padding: 12px 24px;      /* more breathing space */

  border-radius: 999px;
  font-size: 1rem;         /* was 0.9rem */
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.desktop-cta .icon {
  width: 18px;
  height: 18px;
}

/* glow animations */
@keyframes blueGlowCycle {
  0%,
  45% {
    box-shadow: 0 0 5px var(--jn-navy), 0 0 10px var(--jn-navy),
      0 0 20px var(--jn-navy);
  }
  50%,
  100% {
    box-shadow: none;
  }
}

@keyframes orangeGlowCycle {
  0%,
  45% {
    box-shadow: 0 0 5px var(--jn-orange), 0 0 10px var(--jn-orange),
      0 0 20px var(--jn-orange);
  }
  50%,
  100% {
    box-shadow: none;
  }
}

/* Vacancies — JobsNext blue, ORANGE glow */
.btn_header {
  /* pure JobsNext blue + slightly lighter variant */
  background: linear-gradient(135deg, var(--jn-navy), #0b3b7a);
  animation: orangeGlowCycle 2s linear infinite;   /* ORANGE halo now */
}

/* Recruitment — orange base, BLUE glow */
.btn_header_blue {
  background: linear-gradient(135deg, var(--jn-orange), #fdba74);
  animation: blueGlowCycle 2s linear infinite 0.8s;  /* BLUE halo now */
}

.btn_header:hover,
.btn_header_blue:hover {
  transform: translateY(-1px) scale(1.03);
}

/* mobile trigger */
.mobile-menu-btn {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.25rem;
}

/* ============ HERO WRAPPER ============ */

.hero-wrapper {
  width: 100vw;
  padding-top: 96px; /* header height offset */
}

/* ============ DIAGONAL HERO ============ */

.hero-diagonal {
  position: relative;
  width: 100vw;
  height: calc(100vh - 96px);
  background: linear-gradient(135deg, #f9fafb, #e3f2ff);
  overflow: hidden;
  isolation: isolate;
}

/* Base panel */

.panel {
  position: absolute;
  inset: 0;
  display: flex;
  will-change: transform, clip-path;
}

/* Shared transitions for both panels */
.panel--jobseekers,
.panel--employers {
  transition:
    clip-path 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.35s ease;
}

/* Content container */
.panel-content {
  position: relative;
  max-width: 560px;
  z-index: 2;
  transition: transform 0.35s ease;
}

.panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;              /* ENSURE gradient stays ABOVE video */
  pointer-events: none;

  /* Remove blend mode completely */
  mix-blend-mode: normal;

  /* Make gradient fully visible */
  opacity: 1;
}
/* ================== BASE SHAPES ================== */
/* Job Seekers = initial top-left diagonal */

.panel--jobseekers {
  justify-content: flex-start;
  align-items: center; /* vertical centre */
  padding-left: clamp(3rem, 8vw, 6rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  text-align: left;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.2),
    rgba(59, 130, 246, 0)
  );
  clip-path: polygon(
    0 0,        /* top-left */
    100% 0,     /* top-right */
    100% 0,     /* stacked */
    0 100%,     /* bottom-left */
    0 100%      /* stacked */
  );
}

.panel--jobseekers .panel-overlay {
  background-image: linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.55),
      rgba(255, 255, 255, 0.1)
    )
}

/* Employers = initial bottom-right diagonal */

.panel--employers {
  justify-content: flex-end;
  align-items: center;
  padding-right: clamp(3rem, 8vw, 6rem);
  padding-left: clamp(1.5rem, 4vw, 3rem);
  text-align: right;
  background: linear-gradient(
    -135deg,
    rgba(249, 115, 22, 0.21),
    rgba(249, 115, 22, 0)
  );
  clip-path: polygon(
    100% 0,     /* top-right */
    100% 100%,  /* bottom-right */
    0 100%,     /* bottom-left */
    0 100%,     /* stacked */
    100% 0      /* stacked */
  );
}

.panel--employers .panel-overlay {
  background-image: linear-gradient(
      -135deg,
      rgba(249, 115, 22, 0.55),
      rgba(255, 255, 255, 0.1)
    )
}

/* Zoom background a bit on hover */
.panel--jobseekers:hover .panel-overlay,
.panel--employers:hover .panel-overlay {
  transform: scale(1.07);
}
.panel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;              /* behind overlay + content */
}
.panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 1;
}
.panel-content {
  position: relative;
  z-index: 2;
}
/* ================== TYPOGRAPHY ================== */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #111827;
  margin-bottom: 0.9rem;
  animation: whiteGlowPulse 2.4s infinite ease-in-out;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #2563eb;
}

.pill--employer::before {
  background: var(--jn-orange);
}

/* ============================================
   FULL CONTAINER NEON GLOW FOR HERO PILLS
   ============================================ */

.pill-glow {
  position: relative;
  border-radius: 999px;
  z-index: 2;

  /* Smooth breathing animation */
  animation: pillGlowPulse 2s ease-in-out infinite;
}

/* BLUE GLOW — Job Seekers */
.pill-glow-blue {
  box-shadow:
    0 0 6px rgba(37, 99, 235, 0.85),
    0 0 12px rgba(37, 99, 235, 0.75),
    0 0 22px rgba(37, 99, 235, 0.55),
    0 0 36px rgba(37, 99, 235, 0.45);
}

/* ORANGE GLOW — Employers */
.pill-glow-orange {
  box-shadow:
    0 0 6px rgba(249, 115, 22, 0.85),
    0 0 12px rgba(249, 115, 22, 0.75),
    0 0 22px rgba(249, 115, 22, 0.55),
    0 0 36px rgba(249, 115, 22, 0.45);
}

/* GLOW PULSE */
@keyframes pillGlowPulse {
  0% {
    box-shadow:
      0 0 4px rgba(255,255,255,0.25);
  }
  50% {
    box-shadow:
      0 0 10px rgba(255,255,255,0.45);
  }
  100% {
    box-shadow:
      0 0 4px rgba(255,255,255,0.25);
  }
}
.panel-header h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.08;
  color: white;
}

.panel-header h2 {
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  color: white;
}

.hero-subline {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  margin-top: 0.35rem;
}

.accent {
  color: var(--jn-navy);
}

.accent--employer {
  color: var(--jn-orange);
}

/* ===== Body content visibility ===== */
/* Hidden by default: ONLY titles are visible */
.panel-body {
  margin-top: 0.9rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* On hover of each panel, reveal its body */
.panel--jobseekers:hover .panel-body,
.panel--employers:hover .panel-body {
  max-height: 600px; /* large enough for content */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.panel-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.1rem;
  color: white;
}

.panel-text--right {
  margin-left: auto;
  color: white;
}

/* Search bar: title / type / location / button */
/* ===========================
   HERO SEARCH BAR (CLEAN FIX)
   =========================== */

.panel-search {
  width: 100%;
  max-width: 650px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  margin-bottom: 0.8rem;
  animation: whiteGlowPulse 2.4s infinite ease-in-out;
  overflow: hidden;
}
@keyframes whiteGlowPulse {
  0% { box-shadow: 0 0 0 rgba(255,255,255,0.0); }
  50% { box-shadow: 0 0 22px rgba(255,255,255,0.85); }
  100% { box-shadow: 0 0 0 rgba(255,255,255,0.0); }
}

.panel-search-fields {
  display: flex;
  width: 100%;
  gap: 0.6rem;
}

.field-title {
  flex: 0 0 50%;
}

.field-type {
  flex: 0 0 25%;
}

.field-location {
  flex: 0 0 25%;
}

/* Inputs + Selects */
.panel-search input,
.panel-search select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  padding: 0.6rem;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  color: #111827;
}

.panel-search input::placeholder {
  color: rgba(148, 163, 184, 1);
}

/* SEARCH BUTTON — NOW OUTSIDE */
.panel-search-btn {
  margin-bottom: 10px;
  background: #052e5a;
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(5, 46, 90, 0.35);
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.panel-search-btn svg{
    height: 20px;
}

.panel-search-btn:hover {
  transform: translateY(-2px);
  background: #073769;
}
/* ============================
   PANEL ACTION BUTTONS (3 in a row)
   ============================ */

.panel-action-row {
  display: flex;
  width: 100%;
  max-width: 650px;                /* EXACT same width as the search bar */
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 0.6rem;
}

.panel-action-btn {
  flex: 1;                         /* makes all 3 equal width */
  background: #052e5a;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(5, 46, 90, 0.35);
  transition: 0.2s ease;
}

.panel-action-btn:hover {
  transform: translateY(-2px);
  background: #073769;
}

/* Sign-up button orange */
.signup-btn {
  background: #f77a2a;
  color: #111827;
  box-shadow: 0 8px 22px rgba(247, 122, 42, 0.35);
}

.signup-btn:hover {
  background: #e56f20;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .panel-search-fields {
    flex-direction: column;
  }

  .field-title,
  .field-type,
  .field-location {
    flex: 1 1 100%;
  }

  .panel-search-btn {
    width: 100%;
  }
}

/* Chips / meta */

.panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #111827;
  justify-content: center;
}

.panel-meta span {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.panel-meta--employer span {
  border-color: rgba(252, 165, 101, 0.9);
}

/* Employer actions */

.panel-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.btn-primary {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--jn-orange), #fdba74);
  color: #111827;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.4);
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/* ================== GROW / SHRINK SHAPES ================== */
/* Job Seekers dominant */

.hero-diagonal:has(.panel--jobseekers:hover) .panel--jobseekers {
  clip-path: polygon(
    0 0,        /* top-left */
    100% 0,     /* top-right */
    100% 55%,   /* right edge ~55% down */
    55% 100%,   /* bottom mid */
    0 100%      /* bottom-left */
  );
  box-shadow: 0 22px 60px rgba(59, 130, 246, 0.25);
}

.hero-diagonal:has(.panel--jobseekers:hover) .panel--employers {
  clip-path: polygon(
    100% 0,     /* still touches top-right */
    100% 100%,  /* bottom-right */
    55% 100%,   /* bottom mid */
    100% 55%,   /* meets JS edge */
    100% 0      /* close loop */
  );
}

/* Lift content more for active side */
.hero-diagonal:has(.panel--jobseekers:hover) .panel--jobseekers .panel-content {
  transform: translateY(-50px);
}
.hero-diagonal:has(.panel--jobseekers:hover) .panel--employers .panel-content {
  transform: translateY(-18px);
}

/* Employers dominant */

.hero-diagonal:has(.panel--employers:hover) .panel--employers {
  clip-path: polygon(
    100% 0,     /* top-right */
    100% 100%,  /* bottom-right */
    0 100%,     /* bottom-left */
    0 55%,      /* left edge ~55% down */
    45% 0       /* somewhere on top edge */
  );
  box-shadow: 0 22px 60px rgba(249, 115, 22, 0.25);
}

.hero-diagonal:has(.panel--employers:hover) .panel--jobseekers {
  clip-path: polygon(
    0 0,        /* top-left */
    45% 0,      /* along top */
    0 55%,      /* left edge ~55% down */
    0 0,        /* stacked */
    0 0         /* stacked */
  );
}

.hero-diagonal:has(.panel--employers:hover) .panel--employers .panel-content {
  transform: translateY(-50px);
}
.hero-diagonal:has(.panel--employers:hover) .panel--jobseekers .panel-content {
  transform: translateY(-18px);
}

/* When nothing hovered: reset lifts */
.hero-diagonal:not(:has(.panel--jobseekers:hover)):not(:has(.panel--employers:hover))
  .panel--jobseekers .panel-content,
.hero-diagonal:not(:has(.panel--jobseekers:hover)):not(:has(.panel--employers:hover))
  .panel--employers .panel-content {
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .desktop-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }

  .hero-diagonal {
    height: auto;
    min-height: calc(100vh - 96px);
  }

  .panel {
    position: relative;
    clip-path: none !important;
    background: none;
  }

  .panel--jobseekers,
  .panel--employers {
    position: relative;
    min-height: 50vh;
    padding: 3.5rem 1.5rem;
  }

  .panel-overlay {
    opacity: 0.35;
  }

  .panel-text--right {
    margin-left: 0;
  }

  /* on mobile just show bodies always, since hover = pain */
  .panel-body {
    max-height: none;
    opacity: 1;
    transform: none;
    overflow: visible;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .panel-header h1,
  .panel-header h2 {
    font-size: 2.1rem;
  }

  .panel-search {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-search input,
  .panel-search select,
  .panel-search button {
    width: 100%;
  }
}



:root {
  --jn-navy: #052e5a;
  --jn-orange: #f77a2a;
  --jn-bg-light: #f9fafb;
}

/* Scope all to this section so it doesn't mess with rest of page */
.jn-why,
.jn-why * {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
    text-decoration: none;
}

.jn-why {
  padding: 30px 0 30px;
  background: #ffffff;
}

/* Header */
.jn-why-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 16px;
}

.jn-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
}

.jn-subtitle {
  margin-top: 6px;
  font-size: 1.1rem;
  color: #6b7280;
}

/* =========================
   SPLIT SECTION (2 halves)
   ========================= */

.jn-why-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-height: 320px;
}

.jn-half {
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: left;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

/* Background images – replace URLs with your actual images */
.jn-half--seeker {
  background-image: linear-gradient(
      135deg,
      rgba(5, 46, 90, 0.75),
      rgba(5, 46, 90, 0.15)
    ),
    url("/static/img/index-jn.71d8eadfd927.png");
}

.jn-half--employer {
  background-image: linear-gradient(
      -135deg,
      rgba(247, 122, 42, 0.75),
      rgba(247, 122, 42, 0.15)
    ),
    url("/static/img/index-emp.df21af8a7bb2.png");
}

/* Extra overlay for darkening bottom area so text is readable */
.jn-half-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.55), transparent);
  z-index: 0;
}

/* Content inside halves */
.jn-half-content {
  position: relative;
  z-index: 1;
  padding: 26px 30px 34px;
  max-width: 500px;
  color: #ffffff;
}

.jn-half-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.jn-half-icon--seeker {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(191, 219, 254, 0.7);
}

.jn-half-icon--employer {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(254, 215, 170, 0.7);
}

.jn-half-icon i {
  font-size: 1.5rem;
  color: #ffffff;
}

.jn-half-content h3 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.jn-half-content p {
  font-size: 1.05rem;
  opacity: 0.96;
}

/* Hover + active state: color-specific shadows */
.jn-half:hover {
  transform: scale(1.02);
  filter: saturate(1.04);
}

/* Blue glow for seeker */
.jn-half--seeker:hover,
.jn-half--seeker.jn-half--active {
  box-shadow: 0 20px 48px rgba(5, 46, 90, 0.7);
}

/* Orange glow for employer */
.jn-half--employer:hover,
.jn-half--employer.jn-half--active {
  box-shadow: 0 20px 48px rgba(247, 122, 42, 0.7);
}

/* =========================
   PANELS BELOW (FULL WIDTH)
   ========================= */

.jn-panels {
  margin-top: 32px;
}

/* hidden by default, shown via JS */
.jn-panel {
  display: none;
  width: 100%;
}

.jn-panel.jn-panel--visible {
  display: block;
  animation: jn-panel-fade-in 0.35s ease-out;
}

@keyframes jn-panel-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Panel inner container */
.jn-panel-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 26px 34px;
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.10);
  border: 1px solid #e5e7eb;
}

/* Top row (tag + close) */
.jn-panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.jn-panel-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jn-panel-tag--seeker {
  background: rgba(5, 46, 90, 0.06);
  color: var(--jn-navy);
}

.jn-panel-tag--employer {
  background: rgba(247, 122, 42, 0.08);
  color: var(--jn-orange);
}

.jn-panel-close {
  border: none;
  background: #f3f4f6;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.4rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.jn-panel-close:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

/* Panel title + text */
.jn-panel-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.jn-panel-title--seeker {
  color: var(--jn-navy);
}

.jn-panel-title--employer {
  color: var(--jn-orange);
}

.jn-panel-text {
  font-size: 1.08rem;
  color: #4b5563;
  max-width: 800px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Feature cards grid */
.jn-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 4px;
}

.jn-card {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 18px 18px 20px;
  text-align: left;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.jn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(148, 163, 184, 0.8);
}

/* Icons in cards */
.jn-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.jn-card-icon--seeker {
  background: rgba(5, 46, 90, 0.06);
}

.jn-card-icon--employer {
  background: rgba(247, 122, 42, 0.06);
}

.jn-card-icon i {
  font-size: 1.4rem;
}

.jn-card-icon--seeker i {
  color: var(--jn-navy);
}

.jn-card-icon--employer i {
  color: var(--jn-orange);
}

/* Card text */
.jn-card h4 {
  font-size: 1.06rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.jn-card p {
  font-size: 0.97rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Panel CTA */
.jn-panel-actions {
  margin-top: 26px;
  text-align: center;
}

.jn-panel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.jn-panel-btn--seeker {
  background: var(--jn-navy);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(5, 46, 90, 0.5);
}

.jn-panel-btn--employer {
  background: var(--jn-orange);
  color: #111827;
  box-shadow: 0 14px 32px rgba(247, 122, 42, 0.5);
}

.jn-panel-btn:hover {
  transform: translateY(-1px);
}

.jn-panel-btn--seeker:hover {
  background: #073769;
}

.jn-panel-btn--employer:hover {
  background: #e56f20;
}

.jn-btn-icon {
  margin-left: 8px;
  font-size: 0.9rem;
}

/* =============== RESPONSIVE =============== */

@media (max-width: 960px) {
  .jn-why-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .jn-half {
    min-height: 220px;
  }

  .jn-half-content {
    padding: 22px 20px 26px;
  }

  .jn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jn-title {
    font-size: 2rem;
  }

  .jn-half-content h3 {
    font-size: 1.6rem;
  }

  .jn-half-content p {
    font-size: 0.98rem;
  }

  .jn-panel-inner {
    padding: 22px 18px 26px;
  }

  .jn-panel-title {
    font-size: 1.5rem;
  }

  .jn-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== JOBSNEXT AI TOOLS ===================== */

:root {
  --jn-navy: #052e5a;
  --jn-orange: #f77a2a;
}

/* Section wrapper */
.jn-ai-tools {
  width: 100%;
  padding: 30px 1.5rem 30px;
  background: radial-gradient(circle at top left, #fdf7f2 0%, #f5f7fb 40%, #eef4ff 100%);
}

.jn-ai-tools-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Header */
.jn-ai-tools-header {
  text-align: center;
  margin-bottom: 40px;
}

.jn-ai-tools-title {
  font-size: clamp(2.3rem, 3.3vw, 2.9rem);
  font-weight: 800;
  color: #0b1120;
  margin-bottom: 10px;
}

.jn-ai-tools-subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.04rem;
  color: #4b5563;
  line-height: 1.7;
}

/* Grid (2x2 + full-width) */
.jn-ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.jn-ai-card--full {
  grid-column: 1 / -1;
}

/* Card base */
.jn-ai-card {
  position: relative;
  background: #ffffff;
  border-radius: 26px;
  border: 2px solid transparent;
  padding: 20px 24px 24px;
  overflow: hidden;

  /* “thick outline” shadow – colour is overridden per card */
  box-shadow: 0 12px 0 transparent;

  transform: translateY(0) scale(1);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease,
    background 0.22s ease;
}

/* Job Seeker style (blue) */
.jn-ai-card--seeker {
  background: linear-gradient(135deg, #eef3ff 0%, #ffffff 40%, #e5f0ff 100%);
  border-color: var(--jn-navy);
  box-shadow: 0 12px 0 rgba(5, 46, 90, 0.9);
}

/* Employer style (orange) */
.jn-ai-card--employer {
  background: linear-gradient(135deg, #fff3e6 0%, #ffffff 40%, #ffe4cf 100%);
  border-color: var(--jn-orange);
  box-shadow: 0 12px 0 rgba(247, 122, 42, 1);
}

/* JoNe mixed gradient */
.jn-ai-card--assistant {
  background: radial-gradient(circle at top left, #e4f0ff 0%, #ffffff 45%, #ffe7d2 100%);
  border-width: 2px;
  border-image-slice: 1;
  border-image-source: linear-gradient(135deg, var(--jn-navy), var(--jn-orange));
  box-shadow: 0 12px 0 rgba(15, 23, 42, 0.95);
}

/* Top label */
.jn-ai-card-topline {
  font-size: 0.9rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jn-navy);
  margin-bottom: 12px;
}

.jn-ai-card-topline--employer {
  color: var(--jn-orange);
}

.jn-ai-card-topline--assistant {
  color: #111827;
}

/* Layout inside card */
.jn-ai-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 44px;
}

.jn-ai-card-body--assistant {
  gap: 24px;
  padding-bottom: 44px;
}

/* Text block */
.jn-ai-card-copy {
  flex: 1 1 auto;
}

.jn-ai-card-title {
  font-size: 1.3rem;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 8px;
}

.jn-ai-card-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #4b5563;
}

/* Visual block (icon + image) */
.jn-ai-card-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
}

.jn-ai-card-visual--assistant {
  align-items: flex-end;
}

/* Big icon badge */
.jn-ai-icon-badge {
  width: 84px;
  height: 84px;
  border-radius: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  background: rgba(15, 23, 42, 0.06);
  color: var(--jn-navy);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
  transform: translateY(-10px);
}

.jn-ai-icon-badge--seeker {
  background: rgba(5, 46, 90, 0.14);
  color: var(--jn-navy);
}

.jn-ai-icon-badge--employer {
  background: rgba(247, 122, 42, 0.16);
  color: var(--jn-orange);
}

.jn-ai-icon-badge--assistant {
  background: linear-gradient(135deg, rgba(5, 46, 90, 0.22), rgba(247, 122, 42, 0.26));
  color: #ffffff;
}

/* Card images (you'll change the src URLs) */
.jn-ai-card-img {
  width: 240px;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.jn-ai-card-img--assistant {
  width: 320px;
}

/* Hover – lift but keep coloured shadow */
.jn-ai-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.jn-ai-card--seeker:hover {
  box-shadow: 0 18px 0 rgba(5, 46, 90, 1);
}

.jn-ai-card--employer:hover {
  box-shadow: 0 18px 0 rgba(247, 122, 42, 1);
}

.jn-ai-card--assistant:hover {
  box-shadow: 0 18px 0 rgba(15, 23, 42, 1);
}

/* Scroll-reveal base state */
.jn-ai-card-observe {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

/* When visible */
.jn-ai-card-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 880px) {
  .jn-ai-tools-grid {
    grid-template-columns: 1fr;
  }
  .jn-ai-card--full {
    grid-column: 1 / -1;
  }
}

/* ========== KNOW MORE LINK (BOTTOM RIGHT) ========== */

.tile-know-more {
  position: absolute;
  bottom: 18px;
  right: 22px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 0.95rem;
  font-weight: 600;

  text-decoration: none;
  cursor: pointer;

  opacity: 0.9;
  transition: 
    transform 0.2s ease,
    opacity 0.2s ease;
}

.tile-know-more .arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

/* Hover interaction */
.tile-know-more:hover {
  opacity: 1;
  transform: translateX(4px);
}

.tile-know-more:hover .arrow {
  transform: translateX(2px);
}
.tile-know-more--blue {
  color: #052e5a;
}
.tile-know-more--orange {
  color: #f77a2a;
}
.tile-know-more--gradient {
  background: linear-gradient(90deg, #052e5a, #f77a2a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 720px) {
  .jn-ai-card-body,
  .jn-ai-card-body--assistant {
    flex-direction: column;
    align-items: flex-start;
  }

  .jn-ai-card-visual,
  .jn-ai-card-visual--assistant {
    align-items: flex-start;
  }

  .jn-ai-card-img,
  .jn-ai-card-img--assistant {
    width: 100%;
  }
}

/* ================= QUICK SEARCH / SUGGESTED SEARCHES ================= */

:root {
  --jn-navy: #052e5a;
  --jn-orange: #f77a2a;
}

.jn-qs {
  width: 100%;
  padding: 30px 1.5rem 30px;
  background: #f9fafb;
}

.jn-qs-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Header */
.jn-qs-header {
  text-align: center;
  margin-bottom: 30px;
}

.jn-qs-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 4px;
}

.jn-qs-title {
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0b1120;
  margin-bottom: 6px;
}

.jn-qs-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: #4b5563;
  line-height: 1.7;
}

/* Toggle row */
.jn-qs-toggle-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 18px auto;
  padding: 4px;
  width: fit-content; 
  background: #e5e7eb;
  border-radius: 999px;
}

.jn-qs-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 1.0rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: #4b5563;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.jn-qs-toggle i {
  font-size: 0.95rem;
}

.jn-qs-toggle.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

/* Panel shell (single full-width "card") */
.jn-qs-panel-shell {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  padding: 20px 22px 22px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

/* Panels (only one visible) */
.jn-qs-panel {
  display: none;
  animation: qsFade 0.2s ease-out;
}

.jn-qs-panel.is-active {
  display: block;
}

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

/* Panel header row */
.jn-qs-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 4px;
}

.jn-qs-panel-head h3 {
  font-size: 1.14rem;
  font-weight: 700;
  color: #0f172a;
}

/* Panel tag chips */
.jn-qs-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  background: #f3f4f6;
  color: #4b5563;
}

.jn-qs-panel-tag i {
  font-size: 0.85rem;
}

.jn-qs-panel-tag--blue {
  background: rgba(5, 46, 90, 0.08);
  color: #052e5a;
}

.jn-qs-panel-tag--teal {
  background: rgba(34, 197, 94, 0.08);
  color: #047857;
}

.jn-qs-panel-tag--orange {
  background: rgba(247, 122, 42, 0.08);
  color: #f97316;
}

/* Description */
.jn-qs-panel-text {
  font-size: 0.96rem;
  color: #4b5563;
  margin-bottom: 10px;
}

/* Chip row (full width) */
.jn-qs-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Chips */
.jn-qs-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.jn-qs-chip i {
  font-size: 0.9rem;
}

/* Colour variants */
.jn-qs-chip--blue {
  border-color: rgba(5, 46, 90, 0.3);
}

.jn-qs-chip--green {
  border-color: rgba(16, 185, 129, 0.3);
}

.jn-qs-chip--orange {
  border-color: rgba(247, 122, 42, 0.4);
}

/* Hover styles */
.jn-qs-chip--blue:hover {
  background: linear-gradient(135deg, #052e5a, #2563eb);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
  transform: translateY(-1px);
}

.jn-qs-chip--green:hover {
  background: linear-gradient(135deg, #059669, #22c55e);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.35);
  transform: translateY(-1px);
}

.jn-qs-chip--orange:hover {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(248, 113, 22, 0.4);
  transform: translateY(-1px);
}

/* Hint text */
.jn-qs-hint {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
  .jn-qs {
    padding: 60px 1.25rem 72px;
  }

  .jn-qs-panel-shell {
    padding: 18px 16px 20px;
  }

  .jn-qs-panel-head {
    align-items: flex-start;
  }
}

:root {
  --jn-navy: #052e5a;
  --jn-orange: #f77a2a;
}

/* ================== JOBSNEXT FOOTER ================== */

.jn-footer {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5e7eb;

  /* Softer navy gradient that plays nicely with the logo */
  background: linear-gradient(135deg, #ee7722, #052E5A 45%, #0C3A63 100%);
}

/* Top CTA strip */
.jn-footer-cta {
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  padding: 32px 1.5rem 28px;
}

.jn-footer-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.jn-footer-cta-text h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 6px;
}

.jn-footer-x {
  color: var(--jn-orange);
}

.jn-footer-cta-text p {
  font-size: 0.95rem;
  color: #cbd5f5;
  max-width: 480px;
}

.jn-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* CTA buttons */
.jn-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease,
              box-shadow 0.22s ease, transform 0.22s ease;
}

.jn-footer-btn i {
  font-size: 0.85rem;
}

/* Outline = job seekers (blue) */
.jn-footer-btn--outline {
  border: 1px solid rgba(148, 163, 184, 0.9);
  color: #e5e7eb;
  background: transparent;
}

.jn-footer-btn--outline:hover {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.7);
  transform: translateY(-1px);
}

/* Solid = employers (orange) */
.jn-footer-btn--solid {
  border: none;
  background: linear-gradient(135deg, var(--jn-orange), #fdba74);
  color: #111827;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.7);
}

.jn-footer-btn--solid:hover {
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.8);
  transform: translateY(-1px);
}

/* Main footer area */
.jn-footer-main {
  padding: 30px 1.5rem 32px;
}

.jn-footer-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
}

/* Brand column */
.jn-footer-col--brand {
  padding-right: 20px;
}

.jn-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.jn-footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  /* softer shadow so it blends with navy */
  filter: drop-shadow(0 3px 8px rgba(5, 46, 90, 0));
}

.jn-footer-brand-name {
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.jn-footer-brand-name span {
  color: var(--jn-orange);
}

.jn-footer-brand-text {
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Small badges */
.jn-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jn-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.jn-footer-badge i {
  font-size: 0.8rem;
}

/* Other columns */
.jn-footer-col h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 8px;
}

.jn-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jn-footer-col li + li {
  margin-top: 4px;
}

.jn-footer-col a {
  position: relative;
  font-size: 0.86rem;
  color: #cbd5f5;
  text-decoration: none;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease,
              box-shadow 0.2s ease;
  border-radius: 999px;
  padding-inline: 10px;
}

/* small arrow indicator on hover (optional, subtle) */
.jn-footer-col a::after {
  content: "";
  opacity: 0;
  width: 0;
  height: 0;
  border-left: 5px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.jn-footer-col a:hover::after {
  opacity: 1;
  transform: translateX(1px);
}

/* ---------- SPECIAL HOVERS BY COLUMN ---------- */

/* Job seekers column: bluish */
.jn-footer-col--seekers a:hover {
  color: #e0f2fe;
  background: rgba(37, 99, 235, 0.22);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.55);
}

/* Employers column: orange */
.jn-footer-col--employers a:hover {
  color: #111827;
  background: rgba(247, 122, 42, 0.26);
  box-shadow: 0 0 0 1px rgba(247, 122, 42, 0.7);
}

/* Company column: blue–orange gradient */
.jn-footer-col--company a:hover {
  color: #0b1120;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(247, 122, 42, 0.35));
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.8);
}

/* Bottom bar */
.jn-footer-bottom {
  border-top: 1px solid rgba(30, 64, 175, 0.8);
  padding: 12px 1.5rem 16px;
  background: #020a16;
}

.jn-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.jn-footer-copy {
  font-size: 0.78rem;
  color: #9ca3af;
}

.jn-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.jn-footer-bottom-links a {
  color: #cbd5f5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.jn-footer-bottom-links a:hover {
  color: #ffffff;
}

.jn-footer-dot {
  color: #64748b;
}

/* Responsive tweaks */
@media (max-width: 960px) {
  .jn-footer-main-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jn-footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .jn-footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .jn-footer-main-inner {
    grid-template-columns: 1fr;
  }

  .jn-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}