/* ==============================
   Result Page – Complete CSS
   (Navbar Removed)
   ============================== */

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f6f8;
  color: #222;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Header ---------- */
.header {
  background: #ffffff;
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  border-bottom: 4px solid #ff9933;
}

.header img {
  height: 120px;
  max-width: 100%;
}

/* ---------- Result Content ---------- */
.result-container {
  max-width: 1100px;
  margin: 30px auto;
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.result-header {
  text-align: center;
  margin-bottom: 25px;
}

.result-header h1 {
  color: #0b3c5d;
  font-size: 25px;
}

.result-header p {
  color: #555;
  font-size: 15px;
}

/* ---------- Admit Card Button ---------- */

.button-row {
  display: flex;
  flex-wrap: wrap;        /* Important */
  gap: 12px;
  justify-content: center; /* Center align */
}

.job-btn {
  padding: 12px 22px;
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s ease;
}

.job-btn:hover {
  background: linear-gradient(45deg, #ff6a00, #ee0979);
  transform: translateY(-3px);
}


/* ---------- Table ---------- */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

th {
  background: #0b3c5d;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

tr:hover {
  background: #f7f9fb;
}

/* ---------- Button ---------- */
.result-btn {
  padding: 7px 16px;
  background: #138808;
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
}

.result-btn:hover {
  background: #ff9933;
  color: #000;
}

.no-data {
  padding: 20px;
  font-weight: 600;
}

/* ---------- 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;
}

.table-heading {
  background: #FF9933;
  color: #fff;
  padding: 12px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px 6px 0 0;
  margin-top: 20px;
}

/* ================= 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);
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    
    .job-btn {
    padding: 7px 13px;   /* smaller */
    font-size: 14px;     /* smaller text */
    border-radius: 5px;
  }
  
   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;
  }
  .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;
  }
  
  td::before {
  content: attr(data-label);
  font-weight: 600;
  color: #138808;
  text-transform: uppercase;
  font-size: 12px;
  }

  .table-heading {
  background: #138808;
  color: #fff;
  padding: 12px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px 6px 0 0;
  margin-top: 20px;
  }

  .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;
  }
}
