/* ========= GLOBAL ========= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
body {
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}

body {
  background: #fff;
  color: #000;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ========= HEADER ========= */
.site-header {
  padding: 25px 0;
  border-bottom: 2px solid #000;
}

.logo {
    font-family: 'Poppins', sans-serif;
    margin-top: 2px;
    margin-left: 5px;
    font-size: 34px;
    font-weight: 700;  /* BOLD */
    letter-spacing: 1.2px;
    color: #000;
    text-transform: none; /* Keep natural look */
}



/* ========= HERO SECTION ========= */
.hero {
  padding: 60px 0 40px;
}

.welcome-text {
  text-align: center;
  font-size: 18px;
  max-width: 700px;
  margin: auto;
  opacity: 0.85;
}

.search-box {
  margin-top: 35px;
  text-align: center;
}

.search-box input {
  width: 70%;
  padding: 15px;
  border: 2px solid #000;
  font-size: 16px;
  background: #fff;
  outline: none;
}

.search-box input:focus {
  border-color: #000;
}

/* ========= SECTION TITLES ========= */
.section-title {
  font-size: 26px;
  font-weight: 700;
  margin: 50px 0 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #000;
}

/* ========= JOB CARDS ========= */
.job-card {
    border: 1px solid #000;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s ease-in-out;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0px #000;
}

.job-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-head h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
}

.tag {
    background: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.job-card p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}


/* ========= BUTTON ========= */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn:hover {
    background: #000;
    color: #fff;
}

/* ========= FOOTER ========= */
.site-footer {
  margin-top: 70px;
  text-align: center;
  padding: 25px 0;
  border-top: 2px solid #000;
  font-size: 14px;
  opacity: 0.8;
}

/* ========= MEDIA QUERIES ========= */
@media (max-width: 700px) {
  .logo { font-size: 32px; }
  .search-box input { width: 90%; }
  .job-head h3 { font-size: 18px; }
}
/* ========= NAVIGATION BAR ========= */
.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  margin-left: 25px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}


.navbar a:hover {
  border-bottom: 2px solid #000;
}

@media (max-width: 700px) {
  .header-wrap {
    flex-direction: column;
  }

  .navbar {
    margin-top: 15px;
  }

  .navbar a {
    margin: 0 10px;
  }
}
/* ========= LAST UPDATED SECTION ========= */
.updated-section {
  padding: 20px 0;
  margin-top: 40px;
  margin-bottom: 40px;
}

.updated-text {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  opacity: 0.8;
}
/* ========= LAST UPDATED (TOP SECTION) ========= */
.updated-top {
  padding: 12px 0;
  border-bottom: 2px solid #000;
  background: #fff;
}

.updated-text {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.8;
  letter-spacing: 0.3px;
}
@media (max-width: 600px) {
    .job-card {
        padding: 15px;
    }
    
    .job-head h3 {
        font-size: 18px;
    }
}

/* JOB DETAILS PAGE UI */
/* ------------------------------
   JOB DETAILS PAGE (PREMIUM UI)
--------------------------------*/
.job-details {
    padding: 80px 0;
    background: #f5f5f5;
}

.job-details .container {
    max-width: 900px;
    margin: auto;
    background: #fff;
    border: 2px solid #000;
    border-radius: 16px;
    padding: 50px 60px;
    box-shadow: 6px 6px 0px #000;
}

/* Title */
.job-details h1 {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 18px;
    font-weight: 700;
}

/* Meta info bar */
.job-meta-box {
    background: #fafafa;
    padding: 18px 22px;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.8;
}

.job-meta-box strong {
    font-weight: 600;
}

/* Divider line */
.details-divider {
    margin: 25px 0;
    height: 2px;
    background: #000;
}

/* Description */
#jobDescription {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 40px;
}

/* Apply section */
.apply-section {
    margin-top: 30px;
    text-align: left;
}

.apply-btn {
    padding: 14px 28px;
    border: 2px solid #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    color: #000;
    transition: 0.25s;
}

.apply-btn:hover {
    background: #000;
    color: #fff;
}

/* Mobile styling */
@media (max-width: 600px) {
    .job-details .container {
        padding: 30px 20px;
    }

    .job-details h1 {
        font-size: 28px;
    }

    #jobDescription {
        font-size: 15px;
    }

    .apply-btn {
        font-size: 16px;
        padding: 12px 24px;
    }
}
/* ------------------------------
   JOB DETAILS PAGE (PREMIUM UI)
--------------------------------*/
.job-details {
    padding: 80px 0;
    background: #f5f5f5;
}

.job-details .container {
    max-width: 900px;
    margin: auto;
    background: #fff;
    border: 2px solid #000;
    border-radius: 16px;
    padding: 50px 60px;
    box-shadow: 6px 6px 0px #000;
}

/* Title */
.job-details h1 {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 18px;
    font-weight: 700;
}

/* Metadata table wrapper */
.job-meta-table-wrapper {
    margin-bottom: 30px;
    border: 2px solid #000;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

/* Table styling */
.job-meta-table {
    width: 100%;
    border-collapse: collapse;
}

.job-meta-table tr {
    border-bottom: 1px solid #ddd;
}

.job-meta-table td {
    padding: 14px 16px;
    font-size: 16px;
}

.job-meta-table td:first-child {
    width: 180px;
    font-weight: 600;
    background: #f7f7f7;
    border-right: 1px solid #ddd;
}

.job-meta-table tr:last-child td {
    border-bottom: none;
}

/* Divider */
.details-divider {
    margin: 25px 0;
    height: 2px;
    background: #000;
}

/* Description */
#jobDescription {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 40px;
}

/* Apply button section */
.apply-section {
    margin-top: 30px;
    text-align: left;
}

.apply-btn {
    padding: 14px 28px;
    border: 2px solid #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    color: #000;
    transition: 0.25s;
}

.apply-btn:hover {
    background: #000;
    color: #fff;
}

/* Mobile */
@media (max-width: 600px) {
    .job-details .container {
        padding: 30px 20px;
    }

    .job-details h1 {
        font-size: 28px;
    }

    #jobDescription {
        font-size: 15px;
    }

    .apply-btn {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* Back to Home Button */
.back-home {
    max-width: 1100px;
    margin: 20px auto 10px;
    padding: 0 20px;
}

.back-home a {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.back-home a:hover {
    background: #000;
    color: #fff;
}



/* Top bar: Back button + Last updated */
.top-bar {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Back to Home button (reuse existing styles) */
.back-home a {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.back-home a:hover {
    background: #000;
    color: #fff;
}

/* Last updated text */
.last-updated {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

@media (max-width: 600px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .last-updated {
        font-size: 13px;
    }
}
/* FIX top bar alignment */
.top-bar {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* OVERRIDE old back-home centering */
.top-bar .back-home {
    margin: 0;          /* <-- THIS is the key fix */
    padding: 0;
}

/* Back button style */
.top-bar .back-home a {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.top-bar .back-home a:hover {
    background: #000;
    color: #fff;
}

/* Last updated */
.top-bar .last-updated {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
@media (max-width: 600px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


/* Filter bar */
.filter-bar {
    max-width: 1100px;
    margin: 20px auto 30px;
    padding: 0 20px;
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: #fff;
    border: 1px solid #000;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #000;
    color: #fff;
}

.filter-btn.active {
    background: #000;
    color: #fff;
}

/* Mobile */
@media (max-width: 600px) {
    .filter-bar {
        flex-wrap: wrap;
    }
}
