* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  background: #f7f9fc;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: #0f5bd8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.logo {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav a {
  color: #334155;
  font-weight: 600;
}

.hero {
  padding: 88px 0 70px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0.55) 100%),
    url('../images/hero-job-search.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: 40px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 70%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 72%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.04;
  margin: 0 0 20px;
  color: #0f172a;
  max-width: 760px;
  letter-spacing: -1.4px;
}

.hero p {
  font-size: 20px;
  margin: 0 0 30px;
  color: #334155;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: #0f5bd8;
  color: #ffffff;
}

.btn-primary:hover {
  background: #0b4cbc;
  text-decoration: none;
}

.btn-secondary {
  background: #0f5bd8;
  color: #ffffff;
  border: none;
}

.btn-secondary:hover {
  background: #0b4cbc;
  color: #ffffff;
  text-decoration: none;
}

.hero-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, rgba(37,99,235,0) 72%);
  z-index: 1;
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #0f172a;
  font-size: 24px;
  position: relative;
  z-index: 2;
}

.hero-card ul {
  margin: 0;
  padding-left: 22px;
  position: relative;
  z-index: 2;
}

.hero-card li {
  margin-bottom: 12px;
}

.section {
  padding: 58px 0;
}

.section-title {
  font-size: 34px;
  margin: 0 0 12px;
  color: #0f172a;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: 17px;
}

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

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
  color: #0f172a;
}

.card p {
  margin-top: 0;
  margin-bottom: 16px;
  color: #64748b;
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.card li {
  margin-bottom: 10px;
}

.seo-block {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 24px;
  padding: 40px;
}

.seo-block h2 {
  color: #ffffff;
  margin-top: 0;
  font-size: 32px;
}

.seo-block p {
  margin-bottom: 0;
  font-size: 17px;
  max-width: 880px;
}

footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  margin-top: 60px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-copy {
  color: #64748b;
  margin: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .header-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 58px 0 42px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .section-title {
    font-size: 28px;
  }

  nav ul {
    gap: 14px;
  }

  .logo {
    font-size: 28px;
  }

  .hero p {
    font-size: 18px;
  }
}



/* ===== Mobile menu fix ===== */
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid #dbe2ea;
  background: #ffffff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #0f172a;
  border-radius: 999px;
  transition: 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .header-wrap {
    align-items: stretch !important;
  }

  .menu-toggle {
    display: inline-flex;
    align-self: flex-end;
    margin-top: -56px;
  }

  nav#site-menu {
    width: 100%;
    display: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  }

  nav#site-menu.open {
    display: block;
  }

  nav#site-menu .menu-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
  }

  nav#site-menu .menu-list li {
    list-style: none;
  }

  nav#site-menu .menu-list a {
    display: block;
    padding: 6px 0;
    font-size: 18px;
  }

  header nav:not(#site-menu) {
    display: none;
  }
}
