/* ===============================
   GLOBAL RESET & VARIABLES
================================ */
:root {
  --primary: #007bff;
  --primary-dark: #0056b3;
  --bg-light: #f4f7fb;
  --text-dark: #222;
  --text-muted: #666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  min-height: 100vh;
  padding-top: 80px; /* ✅ HEADER OFFSET */
}

/* ===============================
   COMMON BUTTONS
================================ */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}
.btn.primary:hover { background: var(--primary-dark); }

.btn.ghost {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn.small {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.btn.danger {
  background: #dc3545;
  color: #fff;
}

/* ===============================
   FIXED HEADER (FINAL)
================================ */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #ffffff;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

/* LOGO */
.logo{
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

/* NAV BUTTONS */
.nav-buttons{
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-btn{
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

.btn-openings{ background:#0d6efd; }
.btn-apply{ background:#198754; }
.btn-status{ background:#6f42c1; }
.btn-employee{ background:#fd7e14; }
.btn-admin{ background:#2070c0; }

.nav-btn:hover{ opacity:.85; }

/* ===============================
   HERO SECTION
================================ */
.hero {
  min-height: calc(100vh - 80px);
  background: linear-gradient(135deg, #007bff, #00c6ff);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-box {
  background: #fff;
  padding: 60px;
  border-radius: 18px;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.hero-box h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-box h1 span {
  color: var(--primary);
}

.hero-box p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ===============================
   FEATURES
================================ */
.features {
  padding: 80px 60px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature {
  background: #f9fbff;
  padding: 35px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.feature h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

/* ===============================
   CONTAINER & FORMS
================================ */
.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

.form-card {
  background: #fff;
  max-width: 900px;
  width: 100%;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.row {
  display: flex;
  gap: 15px;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}

textarea {
  resize: none;
  height: 80px;
}

/* ===============================
   JOB CARDS (PUBLIC)
================================ */
.jobs-wrapper{
  display: grid;
  grid-template-columns: 1fr; /* ✅ ONE JOB PER ROW */
  gap: 25px;
}

.job-card{
  background:#fff;
  padding:25px;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

.job-title{
  font-size:22px;
  font-weight:700;
  color:#007bff;
}

.job-meta{
  font-size:14px;
  color:#555;
  margin:10px 0;
}

/* ===============================
   FOOTER
================================ */
.footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 25px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {

  body{ padding-top: 110px; }

  .header{
    height: auto;
    flex-direction: column;
    padding: 12px 15px;
    gap: 10px;
  }

  .nav-buttons{
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-box {
    padding: 35px 20px;
  }

  .hero-box h1 {
    font-size: 30px;
  }

  .row {
    flex-direction: column;
  }

  .features {
    padding: 50px 20px;
  }
}
.logo span {
  color: red;
  font-weight: bold;
}
.jobs {
  color: #e60000;
  font-weight: 700;
  letter-spacing: 1px;
}