.jobs-hero-text {
    font-size: var(--fs-50);
    color: var(--white);
    font-weight: var(--fw-600);
    margin-top: 2rem;
}

.jobs-sub-text {
    color: var(--white);
    font-size: var(--fs-16);
    text-decoration: none;
}

.jobs-sections-1 {
    padding: 2rem 4rem;

   background: 
  linear-gradient(
    to bottom right, 
    rgba(255, 255, 255, 1) 0%,
    rgba(0, 46, 91, 0.9) 40%,        
    rgba(52, 124, 151, 0) 100%      
  ),
  url('../assets/images/hero-image.jpg') !important;
background-size: cover;
background-position: center;}
.heading-bookmark {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.job-heading {
    font-size: var(--fs-22);
    font-weight: var(--fw-700);
    color: var(--black);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.job-description {
    font-size: var(--fs-15);
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.result-save{
    display: flex;
    gap:1rem;
    align-items: center ;
}
.save{
    border:1px solid var(--light-sky-blue) !important;
    background-color: none;
    padding: 0.5rem;
    border-radius: 4px;
    color:var(--light-sky-blue);
    cursor: pointer;

}
.bookmark-icon{
    font-size: 1.5rem !important;
    color: var(--grey);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.bookmark-icon:hover {
    color: var(--light-sky-blue);
    transform: scale(1.1);
}

.bookmark-icon.fa-solid {
    color: var(--light-sky-blue);
}
.blue{
    color:var(--light-sky-blue)
}
.blue-button{

    background-color: var(--light-sky-blue);
    color:var(--white)
}

.save:hover{
    background-color: var(--light-sky-blue);
    color: var(--white);
}
    .search-container {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgb(158, 154, 154);;

  padding: 0px 0;
  width: 300px;
  height: 2rem;
}

.search-container i {
  color: var(--light-sky-blue);
  margin-right: 10px;
}

.search-container input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 16px;
  background: transparent;

}
.salary {
    display: flex;
    align-items: center;
    color: var(--black);
    font-size: var(--fs-16);
    font-weight: var(--fw-600);
}

.vacancy-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #e0f2fe;
    color: var(--light-sky-blue);
    border-radius: 6px;
    font-size: var(--fs-14);
    font-weight: var(--fw-600);
    margin-left: 0.5rem;
}

.salary-posted {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid #f0f0f0;
}

.posted {
    color: var(--grey);
    font-size: var(--fs-14);
}

.view-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding-top: 1rem;
}

.view-apply .apply{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    background-color: var(--light-sky-blue);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: var(--fs-16);
    font-weight: var(--fw-600);
    transition: all 0.3s ease;
    border: 2px solid var(--light-sky-blue);
}

.view-apply .apply:hover {
    background-color: transparent;
    color: var(--light-sky-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 173, 230, 0.3);
}
.view {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 4px;
    color: var(--grey);
    font-size: var(--fs-18);
    ;
}

.Apply {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background-color: var(--light-sky-blue);
    padding: 10px 15px;
    border-radius: 4px;
    font-size: var(--fs-18);
    font-weight: var(--fw-600);
}

.job {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: auto;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: var(--white);
    transition: all 0.3s ease;
    min-height: 280px;
}

.job:hover {
    box-shadow: 0 8px 20px rgba(4, 173, 230, 0.15);
    transform: translateY(-4px);
    border-color: var(--light-sky-blue);
}

.jobs-sections-2 {
    padding: 2rem 4rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #f8fafc;
}

.location {
    color: var(--grey);
    font-size: var(--fs-14);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.location::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--grey);
}

/* Existing filter styles */
.filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 4rem;
  flex-wrap: wrap; /* ✅ allows wrapping on smaller screens */
  background-color: var(--white);
  border-bottom: 1px solid #e5e7eb;
}

.results {
  font-size: var(--fs-26);
  font-weight: var(--fw-700);
  white-space: nowrap;
}

.filter select,
.filter .search-container,
.filter .save {
  flex-shrink: 0;
}

.Country,
#country {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: var(--fs-16);
  background-color: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}

.Country:hover,
#country:hover {
  border-color: var(--light-sky-blue);
}

.Country:focus,
#country:focus {
  outline: none;
  border-color: var(--light-sky-blue);
  box-shadow: 0 0 0 3px rgba(4, 173, 230, 0.1);
}

/* ✅ Make search input fluid */
.search-container {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgb(158, 154, 154);
  padding: 0px 0;
  width: 300px;
  height: 2rem;
}

.search-container i {
  color: var(--light-sky-blue);
  margin-right: 10px;
}

.search-container input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 16px;
  background: transparent;
}

/* ✅ Save button */
.save {
  border: 1px solid var(--light-sky-blue) !important;
  background: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: var(--light-sky-blue);
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.save:hover {
  background-color: var(--light-sky-blue);
  color: var(--white);
}

/* ✅ Responsive adjustments */
@media screen and (max-width: 1024px) {
  .filter {
    padding: 1rem 2rem;
    gap: 1rem;
  }

  .search-container {
    width: 250px;
  }
}

@media screen and (max-width: 768px) {
  .filter {
    flex-direction: column;      /* stack vertically */
    align-items: stretch;
    gap: 0.8rem;
    padding: 1rem;
  }

  .results {
    font-size: 1.2rem;
    text-align: center;
  }

  #country {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: var(--fs-16);
  }

  .search-container {
    width: 100%;
  }

  .save {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .filter {
    padding: 0.8rem;
  }

  .results {
    font-size: 1rem;
  }

  .search-container input {
    font-size: 14px;
  }
}

.results{
    font-size: var(--fs-26);
    font-weight: var(--fw-700);
}
@media screen and (max-width: 1024px) {
    .jobs-sections-1 {
        padding: 2rem;
    }

    .jobs-sections-2 {
        padding: 2rem;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .job {
        padding: 1.25rem;
    }
}

@media screen and (max-width: 768px) {
   
    .jobs-sections-1 {
        padding: 1rem;
    }
    
    .jobs-sections-2 {
        padding: 1rem;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .job {
        padding: 1.25rem;
        min-height: auto;
    }

    .job-heading {
        font-size: var(--fs-20);
    }

    .salary-posted {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}