/* HyreSpot - style.css */
:root {
  --navy:        #0D1B5E;
  --navy-dark:   #091344;
  --navy-light:  #1B2E7A;
  --navy-soft:   #E8EAF5;
  --white:       #FFFFFF;
  --off-white:   #F5F6FA;
  --gray-100:    #EBEEF6;
  --gray-400:    #8B93A7;
  --gray-700:    #3D4255;
  --dark:        #0A0F24;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Manrope', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ───────── NAV ───────── */
nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 5%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}
nav.shrunk {
  height: 64px;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(13,27,94,0.12);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img { height: 42px; width: auto; display: block; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.nav-btn-register {
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}
.nav-btn-register:hover { background: var(--navy-light); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-drawer {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mob-drawer.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mob-drawer a {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.mob-drawer .nav-btn-register { font-size: 18px; padding: 12px 28px; }
.mob-drawer .hamburger { position: absolute; top: 24px; right: 5%; }

/* ───────── HERO ───────── */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  padding: 80px 5% 60px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; }
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 em { color: rgba(255,255,255,0.75); font-style: normal; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 480px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary {
  background: var(--white);
  color: var(--navy);
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }
.hero-stats { display: flex; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat .num { font-size: 28px; font-weight: 800; color: var(--white); }
.hero-stat .num span { color: rgba(255,255,255,0.65); }
.hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; margin-top: 2px; }

.hero-search-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
  padding: 32px;
  position: relative;
  z-index: 1;
}
.search-card-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.search-row { display: flex; flex-direction: column; gap: 12px; }
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--gray-100);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--off-white);
  transition: border-color .2s;
}
.search-field:focus-within { border-color: var(--navy); }
.search-field input { border: none; background: transparent; font-size: 14px; width: 100%; outline: none; font-family: inherit; color: var(--dark); }
.search-field input::placeholder { color: var(--gray-400); }
.search-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .2s, transform .15s;
}
.search-btn:hover { opacity: .9; transform: translateY(-1px); }
.popular-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.popular-tags .lbl { font-size: 12px; color: var(--gray-400); font-weight: 500; }
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 500;
  transition: background .15s, color .15s;
}
.tag:hover { background: var(--navy); color: var(--white); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy) 50%, var(--navy-light));
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cta-banner p { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ───────── GENERIC SECTION ───────── */
section { padding: 90px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  text-align: center;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--gray-700);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ───────── CATEGORIES ───────── */
.cats { background: var(--off-white); padding-top: 50px; padding-bottom: 80px; }
.cats .section-title { color: var(--navy); margin-bottom: 44px; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 30px 26px;
  text-align: left;
  color: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.cat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.28s ease, transform 0.28s ease;
}
.cat-icon svg { width: 25px; height: 25px; color: var(--navy); stroke: currentColor; transition: color 0.28s ease; }
.cat-card .cat-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--dark); letter-spacing: -0.1px; }
.cat-card .cat-count { font-size: 13px; color: var(--gray-400); font-weight: 500; }
.cat-arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(6px, -6px);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease;
}
.cat-arrow svg { width: 14px; height: 14px; color: var(--navy); stroke: currentColor; }
.cat-card:hover {
  border-color: var(--navy-soft);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13,27,94,0.12);
}
.cat-card:hover .cat-icon { background: var(--navy); transform: scale(1.06); }
.cat-card:hover .cat-icon svg { color: var(--white); }
.cat-card:hover .cat-arrow { opacity: 1; transform: translate(0, 0); background: var(--navy-soft); }

/* ───────── JOB LISTINGS CAROUSEL ───────── */
.jobs-section { background: var(--white); }
.jobs-carousel-wrap { position: relative; }
.jobs-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.jobs-track::-webkit-scrollbar { display: none; }
.job-card {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(13,27,94,0.1);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.job-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-100);
  margin-bottom: 14px;
  object-fit: cover;
  display: block;
}
.job-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.job-company { font-size: 13px; color: var(--gray-400); margin-bottom: 14px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.job-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--off-white);
  border-radius: 6px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.job-tag svg { width: 13px; height: 13px; }
.job-apply-btn {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  margin-top: auto;
  transition: all 0.2s ease;
}
.job-apply-btn:hover { background: var(--navy); color: var(--white); }
.job-posted { font-size: 12px; color: var(--gray-400); margin-top: 14px; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--navy-soft);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(13,27,94,0.15);
  z-index: 5;
  transition: background 0.2s ease;
}
.carousel-arrow:hover { background: var(--navy); color: var(--white); }
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }

.view-all-wrap { text-align: center; margin-top: 40px; }
.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ───────── FOOTER ───────── */
footer { background: var(--navy-dark); color: var(--white); padding: 64px 5% 32px; }
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.footer-logo img { height: 38px; width: auto; display: block; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 280px; margin-top: 16px; }
.footer-contact { margin-top: 20px; }
.footer-contact a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 10px; transition: color .2s; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.4px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: #fff; text-decoration: underline; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .job-card { flex: 0 0 calc((100% - 22px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-right .nav-link, .nav-right .nav-btn-register { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 540px) {
  section { padding: 60px 5%; }
  .cats { padding-top: 40px; padding-bottom: 50px; }
  .cats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .cta-btns { flex-direction: column; align-items: center; }
  .job-card { text-align: center; align-items: center; }
  .job-logo-placeholder { margin-left: auto; margin-right: auto; }
  .job-tags { justify-content: center; }
  .job-apply-btn { width: 100%; }
  .job-card { flex: 0 0 100%; }
  .carousel-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
