/* ====== Base ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f5f7fb;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a {
  color: #0f766e; /* teal accent */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ====== Top gov bar ====== */
.gov-topbar {
  background: #111827;
  color: #e5e7eb;
  font-size: 0.75rem;
}

.gov-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
}

.gov-flag::before {
  content: "⬤";
  font-size: 0.5rem;
  margin-right: 0.35rem;
  color: #38bdf8;
}

.gov-help a {
  color: #e5e7eb;
}

/* ====== Header ====== */
.site-header {
  background: #020617;
  color: #e5e7eb;
  border-bottom: 1px solid #0b1120;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  background: linear-gradient(135deg, #0f766e, #38bdf8);
  color: white;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.9rem;
}

.brand-name {
  font-weight: 600;
  font-size: 1rem;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: #9ca3af;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #e5e7eb;
  text-decoration: none;
  padding: 0.25rem 0.35rem;
  border-radius: 0.25rem;
}

.main-nav a:hover {
  background: rgba(148, 163, 184, 0.15);
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn.small {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
}

.btn.block {
  width: 100%;
}

.btn-primary {
  background: #0f766e;
  color: white;
  border-color: #0f766e;
}

.btn-primary:hover {
  background: #115e59;
  border-color: #115e59;
}

.btn-secondary {
  background: #111827;
  color: #e5e7eb;
  border-color: #111827;
}

.btn-secondary:hover {
  background: #020617;
}

.btn-outline {
  background: transparent;
  color: #0f766e;
  border-color: #0f766e;
}

.btn-outline:hover {
  background: rgba(15, 118, 110, 0.08);
}

.btn-ghost {
  background: transparent;
  color: #111827;
  border-color: #d1d5db;
}

.btn-ghost:hover {
  background: #e5e7eb;
}

/* ====== Hero ====== */
.hero {
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #e5e7eb;
  padding: 2.8rem 0 2.8rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #38bdf8;
  margin-bottom: 0.35rem;
}

.hero h1 {
  font-size: 2.1rem;
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: #cbd5f5;
  max-width: 34rem;
}

.job-search-form {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid #1f2937;
  margin-bottom: 1.25rem;
}

.job-search-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  color: #9ca3af;
}

.field input {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.4rem;
  border: 1px solid #374151;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.field input::placeholder {
  color: #6b7280;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
}

.stat {
  min-width: 7.5rem;
}

.stat-number {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
}

.stat-label {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Hero side panel */
.hero-panel {
  background: #f9fafb;
  color: #111827;
  border-radius: 0.9rem;
  padding: 1.25rem 1.25rem 1.35rem;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.5);
}

.hero-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.hero-panel-text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.hero-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-bullets {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.85rem;
  color: #4b5563;
}

/* ====== Sections ====== */
.section {
  padding: 2.75rem 0;
}

.section-accent {
  background: #e5f3f2;
}

.section-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin: 0 0 0.3rem;
  font-size: 1.4rem;
}

.section-header p {
  margin: 0;
  color: #4b5563;
}

/* ====== Layout helpers ====== */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: flex-start;
}

/* ====== Cards & lists ====== */
.card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.bullet-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.taglist li {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #0f766e;
  color: white;
}

/* ====== Callout ====== */
.callout {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  border-radius: 0.9rem;
  background: #0f172a;
  color: #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.callout h3 {
  margin: 0 0 0.25rem;
}

.callout p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* ====== Jobs list ====== */
.job-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.job-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.job-title {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.job-tag {
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #e5f3f2;
  color: #065f46;
}

.jobs-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.jobs-footer p {
  margin-bottom: 0.6rem;
}

/* ====== Contact ====== */
.contact-details p {
  margin: 0.15rem 0;
}

/* ====== Footer ====== */
.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 1.25rem 0;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
}

.footer-links a {
  color: #e5e7eb;
}

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    display: none; /* keep simple on mobile; can add a menu later */
  }

  .callout {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .job-search-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .gov-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


