:root {
  --brand: #0b6bff;
  --brand-2: #00c6ff;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #f5faff;
  --card: #ffffff;
  --border: #e6eef9;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 60px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  font-weight: 700;
  font-size: 28px;
  color: var(--brand);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.logo span {
  color: #ff3b89;
}
.menu {
  display: flex;
  list-style: none;
  gap: 28px;
}
.menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: 0.25s;
}
.menu a:hover {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 6px 14px rgba(11, 107, 255, 0.25);
}
.social-icons {
  display: flex;
  gap: 14px;
}
.social-icons a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5ff;
  color: #3b82f6;
  border: 1px solid #e3ecff;
  transition: 0.25s;
}
.social-icons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(11, 107, 255, 0.25);
}
.menu-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  text-align: center;
  padding: 90px 18px 70px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}
.hero h1 span {
  color: #ffeb3b;
}
.hero p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 28px;
}
.search-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.search-row input,
.search-row select {
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.search-row input {
  flex: 1;
  max-width: 560px;
}
.hint {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.85);
}

/* Containers & sections */
.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}
.section {
  padding: 60px 0;
}
.stats-bar {
  margin: 26px 0 6px;
  font-weight: 700;
  color: #0b3b8f;
}

/* Job grid */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin: 24px 0 50px;
}
.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(2, 51, 126, 0.06);
  transition: 0.25s;
  position: relative;
  overflow: hidden;
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(2, 51, 126, 0.12);
}
.job-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.logo-dot {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0efff, #f5faff);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #2563eb;
}
.job-title {
  font-size: 18px;
  font-weight: 800;
  color: #0b3b8f;
}
.company {
  font-size: 14px;
  color: var(--muted);
  margin-left: 2px;
}
.meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #334155;
  margin: 8px 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #0b3b8f;
  font-size: 12px;
  border: 1px solid #dbe7ff;
}
.tag {
  display: inline-block;
  background: #f6fafe;
  border: 1px solid #e6eef9;
  color: #0b3b8f;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-right: 6px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #3aa0ff);
  box-shadow: 0 10px 20px rgba(11, 107, 255, 0.25);
  transition: 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(11, 107, 255, 0.3);
}
.subtle {
  background: #eef5ff;
  color: #0b3b8f;
  box-shadow: none;
  border: 1px solid #dbe7ff;
}
.left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.days-left {
  font-size: 12px;
  color: #0b6bff;
  background: #eaf3ff;
  border: 1px solid #d7e8ff;
  border-radius: 999px;
  padding: 4px 8px;
}
.expired {
  background: #ffe9e9;
  border-color: #ffd1d1;
  color: #c13232;
}

/* Empty */
.empty {
  text-align: center;
  color: #6b7280;
  margin: 30px 0;
}

/* Footer */
.site-footer {
  background: #0d2c54;
  color: #fff;
  padding: 18px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-inner a {
  color: #ffeb3b;
  text-decoration: none;
}
.footer-inner a:hover {
  text-decoration: underline;
}

/* Modal (center, glassy) */
.modal::backdrop {
  background: rgba(9, 14, 30, 0.65);
  backdrop-filter: blur(3px);
}
.modal {
  border: none;
  padding: 0;
  margin: auto;
  width: min(760px, 94%);
  border-radius: 18px;
}
.modal-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  border: 1px solid #dfe9ff;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(3, 35, 94, 0.25);
  overflow: hidden;
  animation: pop 0.25s ease;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #eef5ff;
  border: 1px solid #dbe7ff;
  color: #164ba1;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.modal-close:hover {
  transform: scale(1.05);
}
.modal-header {
  padding: 22px 22px 8px;
}
.modal-title {
  font-size: 22px;
  color: #0b3b8f;
  font-weight: 800;
}
.modal-meta {
  padding: 0 22px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #334155;
  font-size: 14px;
}
.modal-body {
  padding: 0 22px 22px;
  color: #334155;
}
.modal-body .desc {
  white-space: pre-wrap;
  background: #f8fbff;
  border: 1px solid #e9f2ff;
  border-radius: 12px;
  padding: 14px;
  margin-top: 8px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  background: #f3f8ff;
  border-top: 1px solid #e6eef9;
}
.apply-link {
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #3aa0ff);
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(11, 107, 255, 0.25);
}

/* Responsive */
@media (max-width: 980px) {
  .navbar {
    padding: 14px 20px;
  }
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 64px;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 14px 18px;
    box-shadow: 0 18px 34px rgba(2, 51, 126, 0.08);
  }
  .menu.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .social-icons {
    display: none;
  }
  .hero h1 {
    font-size: 34px;
  }
}
@media (max-width: 540px) {
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 15px;
  }
  .search-row {
    flex-direction: column;
  }
  .search-row input,
  .search-row select {
    width: 100%;
  }
  .footer-inner {
    flex-direction: column;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
