/* ===== Base Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f9fc;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.blurred-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 17px;
  background: transparent;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: 2;
  display: none;
}



/* find a job */
.popular-jobs-section {
  padding: 220px 50px 20px;
  background: linear-gradient(to bottom, #eef2ff, #fff);
  background:
    url(./Asset/Images/Line_Ng.png) center top 100px / cover no-repeat;
  background-size: auto;
  background-position: center top 100px;
  background-repeat: no-repeat;
  margin-bottom: 120px;
}


/* popular jobs header */
/* Keep all existing popular-jobs__header styles exactly as they were */
.popular-jobs__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.popular-jobs__badge {
  display: inline-block;
  border: 1px solid var(--secondary-hover);
  padding: 12px 30px;
  border-radius: 1.875rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-hover);
  margin-bottom: 0.75rem;
}

.popular-jobs__title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
  line-height: 50px;
}

.popular-jobs__description {
  font-size: 18px;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 20px;
  line-height: 26px;
  color: var(--paragraph);
  margin: 0 auto 1.25rem;
}

/* Responsive adjustments for header (unchanged) */
@media (max-width: 768px) {
  .popular-jobs__title {
    font-size: 1.75rem;
  }

  .popular-jobs__description {
    font-size: 1rem;
  }
}

/* New grid styles for job cards */
.jobs-grid-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.job-card {
  background: white;
  border: 0.1px solid var(--secondary-hover);
  padding: 15px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.job-image {
  width: 100%;
  height: 150px;
  border-radius: 15px;
  overflow: hidden;
}

.job-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.job-card:hover .job-image img {
  transform: scale(1.03);
}

.job-details {
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

/* Keep all existing job detail styles (timestamp, tags, etc.) */
.timestamp {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.job-title {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #333;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.tag {
  background: #f0f0f0;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
}

.divider {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  margin: 10px 0;
}

.apply-btn {
  margin-top: 10px;
  align-self: center;
  padding: 10px 40px;
  background: var(--black);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  text-align: center;
  font-weight: 500;
  font-size: 12px;
}

.apply-btn:hover {
  background: var(--black);
  /* transform: translateY(-2px); */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.load-more-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}


.loader-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.load-more-btn:hover .loader-icon {
  transform: rotate(360deg);
}

/* Responsive grid adjustments */
@media (max-width: 1024px) {
  .jobs-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .jobs-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
  }

  .job-image {
    height: 130px;
  }
}

@media (max-width: 480px) {
  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .load-more-btn {
    padding: 10px 25px;
    font-size: 13px;
  }
}


