/* ==============================
   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;
}


.job-material-heading {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  background: linear-gradient(90deg, #0d47a1, #1565c0);
  padding: 12px 20px;
  border-left: 6px solid #ff9800;
  border-radius: 6px;
  width: fit-content;

  margin: 20px auto; /* ✅ center align */
  text-align: center;

  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* ---------- 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: #ffffff;
  padding: 30px 20px 30px;
  margin-top: 50px;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: visible;   /* Important: prevents cut issue */
}

/* Container Grid */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}


/* ================= Logo & About ================= */

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #ffcc70;
  margin-bottom: 15px;
}

.footer-about {
  margin-right: 15px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
}

/* ================= Headings ================= */

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffcc70;
  position: relative;
}

.footer-col h4::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #ffcc70;
  position: absolute;
  left: 0;
  bottom: -6px;
}

/* ================= Links ================= */

.footer-col a {
  display: block;
  color: #f1f1f1;
  text-decoration: none;
  font-size: 14px;
  margin: 8px 0;
  transition: 0.3s ease;
}

.footer-col a:hover {
  color: #ffcc70;
  padding-left: 6px;
}

/* ================= Social Section ================= */

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 5px 0 5px;
  margin-top: 5px;
  position: relative;
  z-index: 2;
}

.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  font-size: 20px;
  color: #ffffff;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #ffcc70;
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ================= Bottom Section ================= */

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.8;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}


@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* =======================
   TABLE FONT (ONLY TABLE)
======================= */
.job-table {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #222;
}

/* =======================
   TABLE BASE
======================= */
.job-table {
  width: 80%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* HEADER */
.job-table th {
  background: linear-gradient(90deg, #0f9d58, #1ea451);
  color: #fff;
  padding: 14px;
  font-size: 13px;        /* 🔥 slightly smaller */
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}

/* BODY */
.job-table td {
  padding: 14px;
  font-size: 15px;        /* 🔥 main readable size */
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid #eee;
}

/* REMOVE LAST BORDER */
.job-table tbody tr:last-child td {
  border-bottom: none;
}

/* HEADER RADIUS */
.job-table thead th:first-child {
  border-top-left-radius: 12px;
}
.job-table thead th:last-child {
  border-top-right-radius: 12px;
}

/* BOTTOM RADIUS */
.job-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.job-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* DATE */
.job-date {
  width: 15%;
  font-size: 14px;       /* 🔥 slightly smaller */
  font-weight: 600;
  color: #0f9d58;
}

/* TOPIC */
.job-topic {
  width: 70%;
  font-size: 15px;       /* 🔥 main focus */
  font-weight: 500;
}

/* LINK */
.job-link {
  width: 15%;
}

/* BUTTON */
.job-link a {
  display: inline-block;
  padding: 7px 16px;
  font-size: 13px;       /* 🔥 compact button */
  font-weight: 600;
  background: #0f9d58;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s ease;
}

.job-link a:hover {
  background: var(--saffron);
  color: #000;
}

/* =======================
   MOBILE DESIGN (CLEAN CARD UI)
======================= */

/* =======================
   PREMIUM MOBILE DESIGN
======================= */
/* =======================
   MOBILE UI FINAL CLEAN
======================= */
@media (max-width: 768px) {

  .job-table {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .job-table thead {
    display: none;
  }

  .job-table,
  .job-table tbody {
    display: block;
  }

  /* CARD */
  .job-row {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 14px;
    padding: 16px;
    border-radius: 12px;

    border: 1px solid #e5e7eb;
    transition: 0.2s ease;
  }

  /* ✅ Alternate row colors */
  .job-row:nth-child(odd) {
    background: #ffffff;
  }

  .job-row:nth-child(even) {
    background: #f9fafb;
  }

  .job-row:hover {
    transform: translateY(-2px);
  }

  /* RESET CELLS */
  .job-table td {
    border: none;
    padding: 0;
    width: 100%;
    text-align: center;

    font-size: 13px; /* ✅ SAME FONT SIZE */
  }

  /* DATE */
  .job-date {
    font-size: 14px; /* same */
    font-weight: 600;
    color: #0f9d58;
    margin-bottom: 8px;
  }

  /* TOPIC */
  .job-topic {
    font-size: 14px; /* same */
    font-weight: 500;
    color: #222;

    margin-bottom: 12px;
    line-height: 1.4;
  }

  /* LINK */
  .job-link {
    width: 100%;
  }

  /* BUTTON */
  .job-link a {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 14px; /* same */
    font-weight: 600;
    background: #0f9d58;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;

    transition: 0.2s ease;
  }

  .job-link a:hover {
    background: #0c7c46;
  }
  
  .job-row:nth-of-type(odd) {
    background: #ffffff;
  }

  .job-row:nth-of-type(even) {
    background: #f4f8ff; /* 🔥 perfect soft blue */
  }
  
  
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col a:hover {
    padding-left: 0;
  }

  .footer-social {
    gap: 15px;
    padding: 40px 0 20px;
  }

  .footer-social a {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}


.urgent-date {
  color: red;
}

