* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: #f3f6fb;
  color: #1f2937;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.home-page {
  width: 100%;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f62fe 0%, #5b21b6 50%, #2563eb 100%);
  color: #fff;
  padding: 80px 16px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.16), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.12), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,.10), transparent 30%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from { opacity: .75; transform: scale(1); }
  to { opacity: 1; transform: scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 28px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 14px;
}

.hero-content p {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  opacity: .95;
}

.hero-search {
  display: flex;
  max-width: 760px;
  margin: 0 auto 22px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0,0,0,.16);
}

.hero-search input {
  flex: 1;
  padding: 16px 18px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #111827;
}

.hero-search button {
  border: none;
  background: #111827;
  color: #fff;
  font-weight: 800;
  padding: 0 24px;
  cursor: pointer;
  transition: .25s;
}

.hero-search button:hover {
  background: #000;
}

.trending-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.trending-tags a {
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  padding: 9px 14px;
  border-radius: 999px;
  transition: .25s ease;
}

.trending-tags a:hover {
  background: #fff;
  color: #1d4ed8;
  transform: translateY(-2px);
}

.notification-ticker {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(17,24,39,.95);
  color: #fff;
  padding: 12px 16px;
  margin: 0 -16px;
  font-weight: 600;
}

.notification-ticker span {
  color: #facc15;
  white-space: nowrap;
}

/* Sections */
.quick-access,
.content-section {
  max-width: 1180px;
  margin: 40px auto;
  padding: 0 16px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: #111827;
  font-weight: 800;
}

.section-head a {
  color: #2563eb;
  font-weight: 700;
}

/* Quick cards */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.quick-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(15,23,42,.06);
  transition: .3s ease;
  position: relative;
  overflow: hidden;
}

.quick-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(37,99,235,.14), transparent 70%);
  transition: .3s ease;
}

.quick-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 35px rgba(15,23,42,.12);
}

.quick-card:hover::before {
  inset: auto -25% -45% auto;
}

.quick-icon {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.quick-card h3 {
  color: #111827;
  font-size: 1rem;
  margin-bottom: 6px;
}

.quick-card p {
  color: #2563eb;
  font-weight: 800;
}

/* Cards grid */
.job-grid,
.result-grid,
.admit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.job-card,
.result-card,
.admit-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(15,23,42,.06);
  transition: .25s ease;
}

.job-card:hover,
.result-card:hover,
.admit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(15,23,42,.1);
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge,
.result-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-hot {
  background: #fee2e2;
  color: #dc2626;
}

.job-card h3,
.result-card h3,
.admit-card h3 {
  font-size: 1.12rem;
  line-height: 1.4;
  color: #111827;
  margin-bottom: 10px;
  font-weight: 800;
}

.job-card p,
.result-card p,
.admit-card p {
  color: #4b5563;
  margin-bottom: 8px;
  font-size: .96rem;
}

/* Buttons */
.apply-btn,
.result-link,
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  transition: .25s ease;
}

.apply-btn {
  background: #2563eb;
}

.result-link {
  background: #10b981;
}

.download-btn {
  background: #f59e0b;
}

.apply-btn:hover,
.result-link:hover,
.download-btn:hover {
  opacity: .92;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Pages if you use latest-jobs.php table */
.page-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 50px;
}

.page-header {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 26px 20px;
  margin-bottom: 22px;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 8px;
  color: #111827;
}

.page-header p {
  color: #4b5563;
}

.table-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(15,23,42,.06);
  overflow: hidden;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.jobs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.jobs-table thead th {
  background: #111827;
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  font-size: 14px;
}

.jobs-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
  color: #374151;
}

.jobs-table tbody tr:hover {
  background: #f8fafc;
}

.table-badge,
.table-status {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.table-badge {
  background: #dbeafe;
  color: #1d4ed8;
}

.table-status {
  background: #dcfce7;
  color: #166534;
}

.table-apply-btn {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1100px) {
  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 56px;
  }

  .hero-search {
    flex-direction: column;
  }

  .hero-search button {
    padding: 14px 18px;
  }

  .notification-ticker {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .job-card,
  .result-card,
  .admit-card {
    padding: 16px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
}

