:root {
  --primary: #183b56;
  --secondary: #396cb4;
  --accent: #3d3d3d;
}

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

body {
  font-family: "Heebo", sans-serif;
  color: var(--primary);
  background-color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  color: var(--primary);
  font-size: 44px;
  font-weight: 500;
  line-height: 66px;
  letter-spacing: 0.16px;
  margin-bottom: 40px;
}

h2 {
  color: var(--primary);
  font-size: 38px;
  font-weight: 500;
  line-height: 57px;
  letter-spacing: 0.2px;
  text-align: start;
  margin-bottom: 8px;
}
.head_page_st1{
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  padding: 200px 0 300px;
}


.search-section {
  margin-bottom: 46px;
  box-shadow: none;
}

.search-bar {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  box-shadow: 0 2px 8px #0000001a;
  overflow: hidden;
  border-radius: 8px;
}

.search-bar input {
  flex: 1;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 500;
  outline: none;
  background: white;
  border: 1px solid var(--primary);
  color: var(--primary);
  &::placeholder {
    color: var(--primary);
  }
}
.search-bar input:first-child {
  border-start-start-radius: 8px;
  border-end-start-radius: 8px;
  border-inline-end-width: 0;
}

.search-bar input:first-child {
  border-inline-end: 1px solid #d0d0d0;
}

.search-bar button {
  color: white;
  padding: 16px 50px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  max-width: 222px;

  border: 1px solid var(--primary);
  border-start-end-radius: 8px;
  border-end-end-radius: 8px;
  border-inline-start-width: 0;
  background: var(--secondary);
}

.search-bar button:hover {
  background: #3d6a94;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 31px;
}

.category-header h3 {
  color: var(--primary);
  font-size: 25px;
  font-weight: 500;
  line-height: 37px;
  letter-spacing: 0.13px;
}

.job-count {
  background: rgba(246, 246, 246, 1);
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 20px;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
}

.job-card {
  padding: 18px 19px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fbfbfb;
}

.job-type {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.job-title {
  font-size: 15px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 6px;
  text-decoration: none;
  display: block;
}

.job-title:hover {
  text-decoration: underline;
}

.job-location {
  font-size: 12px;
  color: #3d3d3d;
}

.cta-section {
  background: url("bg_discover.jpg") center center / cover no-repeat;
  background-color: #5ba3d0;
  color: white;
  text-align: center;
  padding: 76px 18px;
  margin-top: 56px;
  position: relative;
}

.cta-section h2 {
  color: white;
  font-size: 42px;
  line-height: 63px;
  font-weight: 600;
  letter-spacing: 0.18px;
  text-align: center;
  margin-bottom: 8px;
}

.cta-section p {
  color: white;
  font-size: 15px;
  line-height: 26px;
  margin-bottom: 26px;
}

.cta-button {
  display: inline-block;
  background: white;
  padding: 10px 28px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
}

.cta-button:hover {
  color: #fff;
  background-color: #2e7cd9;
}

@media (max-width: 1024px) {
  .container {
    padding: 36px 26px;
  }

  h1 {
    font-size: 36px;
    line-height: 54px;
  }

  h2 {
    font-size: 32px;
    line-height: 48px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
  }

  h1 {
    font-size: 32px;
    line-height: 48px;
    margin-bottom: 30px;
  }

  h2 {
    font-size: 28px;
    line-height: 42px;
  }

  .search-bar {
    flex-direction: column;
    box-shadow: none;
  }

  .search-bar input {
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    margin-bottom: 12px;
  }

  .search-bar input:first-child {
    border-inline-end: 1px solid #d0d0d0;
  }

  .search-bar button {
    border-radius: 4px;
    padding: 14px 40px;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-header h3 {
    font-size: 20px;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .cta-section h2 {
    font-size: 32px;
    line-height: 48px;
  }

  .cta-section p {
    font-size: 15px;
    line-height: 26px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 16px 12px;
  }

  h1 {
    font-size: 26px;
    line-height: 38px;
    margin-bottom: 21px;
  }

  h2 {
    font-size: 22px;
    line-height: 34px;
  }

  .search-bar input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .search-bar button {
    padding: 12px 26px;
    font-size: 15px;
  }

  .job-card {
    padding: 16px;
  }

  .job-title {
    font-size: 14px;
  }

  .cta-section {
    padding: 46px 12px;
  }

  .cta-section h2 {
    font-size: 24px;
    line-height: 36px;
  }

  .cta-section p {
    font-size: 13px;
    line-height: 22px;
  }

  .cta-button {
    padding: 8px 24px;
    font-size: 15px;
  }
}
