/* ==============================
   SarkariJobIndia – Final CSS
   (NAVBAR REMOVED)
   ============================== */

/* ---------- Variables ---------- */
:root {
  --saffron: #ff9933;
  --green: #138808;
  --blue: #0b3c5d;
  --dark-blue: #06273d;
  --white: #ffffff;
  --shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(to bottom, #f9fafc, #eef1f5);
  color: #222;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Header ---------- */
.header {
  background: var(--white);
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  border-bottom: 4px solid var(--saffron);
  box-shadow: var(--shadow);
}

.header img {
  height: 120px;
  max-width: 100%;
}

/* ---------- Main Content ---------- */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

.container h2 {
  color: var(--blue);
  margin-bottom: 10px;
}

.container p {
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid #e3e6ea;
}

th {
  background: linear-gradient(90deg, var(--green), #1ea451);
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

tr:hover {
  background: #f8fafc;
}

.date-col {
  min-width: 120px;
  text-align: center;
  font-weight: 600;
}

td strong {
  color: var(--blue);
}

/* ---------- Apply Button ---------- */
.apply-btn {
  display: inline-block;
  padding: 6px 14px;
  background: var(--green);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}

.apply-btn:hover {
  background: var(--saffron);
  color: #000;
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--dark-blue), var(--blue));
  color: #fff;
  padding: 35px 15px;
  margin-top: 40px;
}

.footer-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
  color: #ffddaa;
  letter-spacing: 1px;
  font-weight: 600;
}

.footer-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #ffddaa;
}

.footer-col a {
  font-size: 14px;
  margin: 6px 0;
  display: block;
  color: #f1f1f1;
}

.footer-col a:hover {
  color: var(--saffron);
}

.footer-copy {
  text-align: center;
  margin-top: 25px;
  font-size: 13px;
  opacity: 0.9;
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 768px) {
    
/* Hide table header */
  table thead {
    display: none;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tr {
    background: #ffffff;
    margin-bottom: 16px;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  }

  td {
    border: none;
    padding: 6px 0;
    font-size: 14px;
  }

  td::before {
    content: attr(data-label);
    display: block;
    font-weight: 400;
    color: #138808;
    margin-bottom: 2px;
  }

  /* Qualification highlight */
  td[data-label="Qualification"] {
    font-weight: 350;
    color: #0b3d91;
  }

  /* Date row spacing */
  td[data-label="Start Date"],
  td[data-label="Last Date"] {
    display: inline-block;
    width: 48%;
  }

  /* Apply button full width */
  .apply-btn {
    width: 100%;
    display: block;
    margin-top: 10px;
    padding: 12px;
    font-size: 15px;
    border-radius: 6px;
    background: #138808;
    color: #fff;
    text-align: center;
    font-weight: 600;
  }


  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
