/* Hero Section */
    .hero {
      background: linear-gradient(
        to bottom,
        #eef4fb 0%,
        #e4effa 30%,
        #d6e9fb 65%,
        #c3e0ff 100%
      );
      padding: 100px 140px 120px;
      position: relative;
      text-align: center;
    }

    .hero::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 60%;
      height: 1px;

      background: linear-gradient(
        to right,
        transparent,
        rgba(1,118,211,0.35),
        transparent
      );

      opacity: 0.6;
    }
    
    .hero-content {
      max-width: 900px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }
    
    .hero h1 {
      font-size: 58px;
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 28px;
      
      color: var(--dark-blue);
    }
    
    .hero p {
      text-align: center;
      font-size: 18px;
      color: var(--text-secondary);
      line-height: 1.8;
      max-width: 800px;
      margin: 0 auto;
    }


.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}


/* ===== CARD ===== */
.job-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #eef2f7;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  height: 100%;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}


/* ===== HEADER ===== */
.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 87%;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-grow: 1;
}

.top i {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  height: 60px;
  width: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--dark-blue), #4dabff);
  margin-top: 10px;
}

.job-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-blue);
  max-width: 300px;
  display: flex;
  flex-direction: column;
}

.job-title .title-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* TYPE */
.job-level {
  background: var(--light-blue);
  color: var(--primary-blue);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.job-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 8px 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: 0.25s;
  height: fit-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

.info-box:hover {
  background: #f1f5f9;
}

.info-box .icon {
  font-size: 20px;
  background: var(--light-blue);
  border-radius: 100%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-box p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.info-box strong {
  font-size: 15px;
  color: var(--dark-blue);
}


.info-box.highlight strong {
  color: #0066cc;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-deadline {
  background: #fff4f4;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.job-deadline span {
  font-weight: 700;
  color: #dc2626;
}


/* FOOTER */
.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* BUTTON giữ nguyên */
.btn-job-detail {
  background: linear-gradient(135deg, #1677ff, #0052cc);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 6px 16px rgba(0,102,204,0.25);
}

.btn-job-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,102,204,0.35);
}

@media (max-width: 1024px) {
  .top i {
    height: 50px;
    width: 50px;
  }

  .job-card-header {
    width: 85%;
  }

  .job-card {
    gap: 16px;
  }
}

@media (max-width: 768px) {

  /* ===== HERO ===== */
  .hero {
    padding: 60px 20px 70px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 15px;
  }

  /* ===== GRID 1 CỘT ===== */
  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ===== CARD ===== */
  .job-card {
    padding: 20px;
    border-radius: 18px;
    gap: 16px;
  }

  /* HEADER gọn lại */
  .top {
    gap: 12px;
  }

  .top i {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 20px;
  }

  .job-title {
    font-size: 18px;
    max-width: 100%;
  }

  .job-card-header {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .job-level {
    font-size: 12px;
    padding: 4px 10px;
  }

  /* ===== INFO GRID -> LIST DỌC ===== */
  .job-info-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .info-box {
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: none;
    border: 1px solid #eef2f7;
  }

  .info-box .icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .info-box p {
    font-size: 12px;
  }

  .info-box strong {
    font-size: 14px;
  }

  /* ===== FOOTER ===== */
  .job-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .job-deadline {
    width: 100%;
    text-align: center;
    font-size: 12px;
  }

  /* BUTTON FULL WIDTH */
  .btn-job-detail {
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
  }
}
