/* ========== Careers Page Styles ========== */

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

/* --- Header --- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 0.75rem 0;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.brand img {
  max-height: 45px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #004080;
}

/* --- Hero Section --- */
.hero-careers {
  background: #f5f7fa;
  text-align: center;
  padding: 4rem 1.5rem;
  border-bottom: 2px solid #eee;
}
.hero-careers h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #222;
}
.hero-careers p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
}
.btn-primary {
  background: #004080;
  border: none;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s;
}
.btn-primary:hover {
  background: #002d55;
}
.btn-block {
  display: block;
  width: 100%;
}

/* --- Sections --- */
.section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.section-head {
  margin-bottom: 2rem;
  text-align: center;
}
.section-head h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 0.5rem;
}
.section-head p {
  color: #666;
}

/* --- Job Listings --- */
.job-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.job-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  padding: 1.5rem;
  flex: 1 1 calc(45% - 2rem);
  max-width: 500px;
  transition: box-shadow .2s, transform .2s;
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.job-card h3 {
  margin-top: 0;
  color: #004080;
}
.job-card p {
  margin: 0.5rem 0;
  color: #555;
}
.apply-btn {
  background: #004080;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1rem;
  transition: background .2s;
}
.apply-btn:hover {
  background: #002d55;
}

/* --- Perks Grid --- */
.perks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.perk {
  flex: 1 1 calc(45% - 1rem);
  background: #f9fafc;
  padding: 1.5rem;
  border-left: 4px solid #004080;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.perk h3 {
  margin-top: 0;
  color: #004080;
}
.perk p {
  color: #555;
}

/* --- Application Form --- */
.form-modern {
  max-width: 700px;
  margin: 0 auto;
}
.form-row {
  margin-bottom: 1.5rem;
}
.form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #444;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  outline: none;
  font-size: 1rem;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: #004080;
}
.form-success {
  text-align: center;
  color: green;
  font-weight: bold;
  margin-top: 1rem;
}
.hidden {
  display: none;
}

/* --- Footer --- */
.site-footer {
  background: #f5f5f5;
  color: #444;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 900px;
  margin: auto;
}
.footer-logo {
  max-height: 50px;
  margin-bottom: 1rem;
}
.site-footer p {
  margin: 0.5rem 0;
}
.site-footer p:last-child {
  font-size: 0.9rem;
  color: #666;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .job-card,
  .perk {
    flex: 1 1 100%;
  }
  .hero-careers h1 {
    font-size: 2rem;
  }
}
