.hero-banner {
  padding: 140px 0 0px;
}

.banner-left-pattern {
  width: 100%;
  height: 100%;
  background: url('../assets/icons/hiring-hero-bg-pattern.png');
  background-repeat: no-repeat;
}

.hero-banner p {
  width: 94%;
}

.lets-talk-block {
  margin-top: 38px;
  font-family: "Dancing Script", sans-serif;
  font-size: 64px;
  line-height: 87px;
  color: #ffa160;
  font-weight: 700;
}

.breadcrumb {
  bottom: -25px;
}

.hiring-why-us {
  max-width: 1550px;
  margin: 0 auto;
  position: relative;
  padding: 60px 0 0px;
  background-color: #fff;
  overflow: hidden; /* Ensures the background doesn't spill out */
}

/* Use a pseudo-element to handle the image without stretching */
.hiring-why-us::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 70%; /* Covers exactly 70% width from the right side */
  height: 100%;
  background-image: url("../assets/images/hiring-team.png");
  background-size: cover; /* Preserves aspect ratio, avoids stretching */
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Ensure your content stays above the background image */
.hiring-why-us .container {
  position: relative;
  z-index: 2;
}

.showcase-content {
  max-width: 36%; /* Constrain text to the left side */
  position: relative;
  z-index: 5;
}

.showcase-content h2 {
  margin-bottom: 58px;
}

.showcase-content h3 {
  font-size: var(--fs-large-bold);
  line-height: var(--lh-large-bold);
  font-weight: 700;
}

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

.benefit-item {
  display: flex;
  gap: 30px;
  color: #000;
  font-weight: 400;
}

.benefit-icon {
  width: 51px;
  height: 51px;
  flex-shrink: 0;
}

.hiring-visual {
  display: none;
}

.vacancies-section {
  padding: 60px 0 40px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.hiring-pattern-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%; /* Constrain width so it doesn't overlap the left pattern */
  height: 100%;
  background: url("../assets/icons/hiring-bg-pattern.webp");
  background-repeat: no-repeat;
  background-position: top right; /* Explicitly pin the image to the top right */
  opacity: 1;
  pointer-events: none;
  z-index: 1; /* Ensure it stays behind the content but visible */
}

.vacancies-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 40px;
  grid-auto-rows: 1fr;
}

.job-card {
  max-width: 410px;
  margin: 0 auto;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: transform 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
}

/* Category Colors */
.card-seo {
  background: linear-gradient(135deg, #eef5ff 0%, #e2e8ff 100%);
  border-color: #96c2ff;
}
.card-uiux {
  background: linear-gradient(135deg, #faf4fe 0%, #fde7f3 100%);
  border-color: #ffb2d5;
}
.card-frontend {
  background: linear-gradient(135deg, #ecfdf5 0%, #cdfaf1 100%);
  border-color: #92ffb1;
}
.card-social {
  background: linear-gradient(135deg, #fffcfa 0%, #ffddc6 100%);
  border-color: #ffb582;
}
.card-writer {
  background: linear-gradient(135deg, #ffffff 0%, #defffc 100%);
  border-color: #a3d9ff;
}
.card-graphic {
  background: linear-gradient(135deg, #ecfdf5 0%, #ffb2d5 100%);
  border-color: rgba(255, 82, 203, 0.47);
}
.card-bizdev {
  background: linear-gradient(135deg, #effff1 0%, #b4ffd9 100%);
  border-color: #74df92;
}
.card-pm {
  background: linear-gradient(135deg, #ffffff 0%, #ffd5f2 100%);
  border-color: #ffb2d5;
}
.card-ppc {
  background: linear-gradient(135deg, #eef5ff 0%, #e2e8ff 100%);
  border-color: #96c2ff;
}

.vacancy-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  max-width: 126px;
  width: 100%;
  padding: 2px 24px;
  border-radius: 20px;
  color: #fff;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
}

.badge.open {
  background-color: #03db40;
}
.badge.status-closed {
  background-color: #db0303;
}

.job-card h3 {
  margin-bottom: 6px;
}
.job-card .intro {
  margin-bottom: 20px;
}

.skills {
  max-width: 85%;
}

.skills-heading {
  margin-bottom: 12px;
  font-weight: 500;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.tags span {
  background: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
}

.btn-apply {
  margin-top: auto;
  text-align: center;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  color: #fff;
  font-weight: 500;
  transition: 0.3s all ease;
}

/* Button Colors */
.card-seo .btn-apply {
  background: #464be5;
}

.card-seo .btn-apply:hover {
  border: 1px dashed #464be5;
  background: #e3e9ff;
  color: #464be5;
}

.card-uiux .btn-apply {
  background: linear-gradient(90deg, #9334e8 0%, #da2778 100%);
}

.card-uiux .btn-apply:hover {
  background: linear-gradient(90deg, #da2778 0%, #9334e8 100%);
}

.card-social .btn-apply {
  background: linear-gradient(180deg, #f7af02 0%, #f47003 100%);
}

.card-social .btn-apply:hover {
  background: linear-gradient(180deg, #f47003 0%, #f7af02 100%);
}

.card-writer .btn-apply {
  background: linear-gradient(90deg, #0282db 0%, #04d6bd 100%);
}

.card-writer .btn-apply:hover {
  background: linear-gradient(90deg, #04d6bd 0%, #0282db 100%);
}

.card-bizdev .btn-apply {
  background: linear-gradient(90deg, #02b04d 0%, #006fff 100%);
}

.card-bizdev .btn-apply:hover {
  background: linear-gradient(90deg, #006fff 0%, #02b04d 100%);
}

.card-pm .btn-apply {
  background: linear-gradient(90deg, #6600ff 0%, #ff52cb 100%);
}

.card-pm .btn-apply:hover {
  background: linear-gradient(90deg, #ff52cb 0%, #6600ff 100%);
}

.card-ppc .btn-apply {
  background: #464be5;
}

.card-ppc .btn-apply:hover {
  border: 1px dashed #464be5;
  background: #e3e9ff;
  color: #464be5;
}

.btn-disabled {
  background: #f3f3f3;
  color: #000000;
  border: 1px solid #999999;
  cursor: not-allowed;
}

.btn-disabled:hover {
  background: rgba(0, 0, 0, 0.5);
  color: white;
}

@media (max-width: 1300px) {
  .hiring-why-us::after {
    width: 68%;
  }

  .hero-banner p {
    width: 80%;
  }

  .hiring-why-us {
    padding: 40px 0 10px;
  }

  .showcase-content {
    max-width: 40%;
  }

  .showcase-content h2 {
    margin-bottom: 24px;
  }

  .benefit-item {
    gap: 28px;
  }

  .benefit-icon {
    width: 46px;
    height: 46px;
  }

  .vacancies-grid {
    gap: 32px 20px;
  }

  .skills {
    max-width: 90%;
  }
}

@media (max-width: 1100px) {
  .lets-talk-block {
    margin-top: 35px;
    font-size: 48px;
    line-height: 1;
  }
  .hero-banner p {
    width: 85%;
  }

  .hiring-why-us {
    padding: 60px 0 0;
  }

  .hiring-why-us::after {
    content: none;
  }

  .hiring-why-us .container {
    padding: 0;
  }
  .showcase-content {
    max-width: 100%;
    padding: 0px 40px;
  }
  .showcase-content h2 {
    margin-bottom: 46px;
  }
  .benefits-list {
    width: 87%;
    gap: 32px;
  }

  .benefit-item {
    gap: 30px;
  }

  .benefit-icon {
    width: 51px;
    height: 51px;
  }

  .hiring-visual {
    margin-top: 30px;
    display: block;
  }

  .hiring-visual img {
    width: 100%;
  }

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

  .job-card .intro {
    margin-bottom: 40px;
  }

  .skills-heading {
    margin-bottom: 17px;
  }
}

@media (max-width: 767px) {
  .hero-banner {
    padding: 130px 0 0px;
  }
  .hero-banner p {
    width: 100%;
  }

  .lets-talk-block {
    font-size: 40px;
  }

  .showcase-content {
    padding: 0px 20px;
  }
  .showcase-content h2 {
    margin-bottom: 32px;
  }

  .benefits-list {
    width: 100%;
    gap: 24px;
  }

  .benefit-item {
    gap: 20px;
  }

  .benefit-item img {
    top: 0px;
    width: 40px;
    height: 40px;
  }

  .hiring-visual {
    margin-top: 26px;
  }
  .vacancies-section {
    padding: 40px 0 40px;
  }

  .vacancies-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .job-card h3 {
    margin-bottom: 10px;
  }
}
