/* ─── CSS Variables ─── */
    :root {
      --background:      hsl(210, 17%, 98%);
      --foreground:      hsl(0, 0%, 10%);
      --card:            hsl(0, 0%, 100%);
      --primary:         hsl(204, 98%, 43%);
      --primary-fg:      hsl(0, 0%, 100%);
      --secondary:       hsl(170, 95%, 38%);
      --secondary-fg:    hsl(0, 0%, 100%);
      --muted:           hsl(210, 17%, 95%);
      --muted-fg:        hsl(210, 10%, 40%);
      --border:          hsl(210, 20%, 90%);
      --input:           hsl(210, 20%, 90%);
      --ring:            hsl(204, 98%, 43%);
      --radius:          0.5rem;
      --font-h:          'Montserrat', sans-serif;
      --font-b:          'Open Sans', sans-serif;
    }

    /* ─── Reset ─── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font-b); background: var(--background); color: var(--foreground); -webkit-font-smoothing: antialiased; }
    a { text-decoration: none; color: inherit; }
    button, input, textarea, select { font-family: var(--font-b); }
    h1,h2,h3,h4,h5,h6 { font-family: var(--font-h); }
    ul { list-style: none; }

    /* ─── Announcement Bar ─── */
    .announce-bar {
      background: var(--foreground);
      color: rgba(255,255,255,0.9);
      text-align: center;
      font-size: 0.8rem;
      font-weight: 500;
      padding: 7px 1rem;
      letter-spacing: 0.02em;
    }

    /* ─── Top Info Row ─── */
    .top-bar {
      background: var(--primary);
      color: var(--primary-fg);
    }
    .top-bar-inner {
      max-width: 1400px;
      margin: 0 auto;
      padding: 8px 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 0.85rem;
      font-weight: 500;
    }
    .top-bar-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
    .top-bar-right { display: flex; align-items: center; gap: 10px; }
    .top-bar a { display: flex; align-items: center; gap: 6px; color: var(--primary-fg); opacity: 0.92; transition: opacity 0.2s; }
    .top-bar a:hover { opacity: 1; }
    .top-bar-badge {
      background: var(--secondary);
      color: var(--secondary-fg);
      padding: 3px 10px;
      border-radius: 4px;
      font-size: 0.7rem;
      font-family: var(--font-h);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .top-bar-badge-outline {
      background: rgba(255,255,255,0.15);
      color: var(--primary-fg);
      padding: 3px 10px;
      border-radius: 4px;
      font-size: 0.7rem;
      font-family: var(--font-h);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      display: flex; align-items: center; gap: 4px;
    }
    .sep { opacity: 0.4; }   

    /* ─── Hero Banner ─── */
    .hero-banner {
      background: var(--primary);
      color: var(--primary-fg);
      padding: 56px 1.5rem;
      text-align: center;
    }
    .hero-banner h1 {
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      font-weight: 800;
      margin-bottom: 10px;
    }
    .hero-banner p {
      font-size: 1rem;
      opacity: 0.82;
      color: #FFF;
    }

    /* ─── Main Content ─── */
    .content-section {
      background: var(--muted);
      padding: 3rem 1.5rem 4rem;
    }
    .content-inner {
      margin: 0 auto;
      display: grid;
      grid-template-columns: 3fr 2fr;
      gap: 2.5rem;
      align-items: start; /* required so grid rows don't stretch and break sticky */
    }
    @media (max-width: 900px) {
      .content-inner { grid-template-columns: 1fr; }
    }

    /* ─── Left column ─── */
    .intro-text {
      font-size: 0.9375rem;
      line-height: 1.7;
      color: var(--foreground);
      margin-bottom: 2rem;
    }

    .positions-heading {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    /* ─── Job Cards ─── */
    .job-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 1.5rem;
      box-shadow: 0 1px 4px rgba(0,0,0,0.06);
      margin-bottom: 1.25rem;
    }
    .job-card h3 {
      font-size: 1.0625rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }
    .job-location {
      font-size: 0.875rem;
      color: var(--muted-fg);
      margin-bottom: 0.75rem;
    }
    .job-location strong { color: var(--foreground); }
    .job-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #000;
}
    .job-desc {
      font-size: 0.875rem;
      color: var(--foreground);
      line-height: 1.6;
      margin-bottom: 1rem;
    }
    .check-list { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
    .check-item {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 0.875rem;
      line-height: 1.5;
    }
    .check-icon {
      flex-shrink: 0;
      margin-top: 1px;
      color: var(--secondary);
    }

    /* ─── Why Work & How to Apply ─── */
    .section-block { margin-top: 2rem; }
    .section-block h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
    .section-block p { font-size: 0.875rem; line-height: 1.7; }
    .italic-green {
      margin-top: 1rem;
      font-size: 0.875rem;
      font-weight: 600;
      font-style: italic;
      color: var(--secondary);
    }

    /* ─── Right column - Sticky Form ─── */
   .form-col-wrapper {
    align-self: start;
    position: sticky;
    top: 100px;
}
    .form-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 2rem;
      box-shadow: 0 4px 16px rgba(0,0,0,0.08);
      position: sticky;
      top: 90px;
    }
    .form-card h2 {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 1.25rem;
    }
    .form-group { margin-bottom: 1rem; }
    .form-group label {
      display: block;
      font-size: 0.875rem;
      font-weight: 600;
      margin-bottom: 6px;
    }
    .form-input, .form-textarea {
      width: 100%;
      padding: 10px 13px;
      border: 1px solid var(--input);
      border-radius: var(--radius);
      background: var(--background);
      font-size: 0.875rem;
      color: var(--foreground);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
      font-family: var(--font-b);
    }
    .form-input::placeholder, .form-textarea::placeholder { color: var(--muted-fg); }
    .form-input:focus, .form-textarea:focus {
      border-color: var(--ring);
      box-shadow: 0 0 0 3px rgba(2,132,199,0.12);
    }
    .form-input.is-error, .form-textarea.is-error, .file-btn.is-error {
      border-color: hsl(0, 72%, 51%);
      box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
    }
    .form-input.is-valid, .form-textarea.is-valid {
      border-color: var(--secondary);
    }
    .field-error {
      display: none;
      font-size: 0.75rem;
      color: hsl(0, 72%, 51%);
      margin-top: 5px;
      align-items: center;
      gap: 4px;
    }
    .field-error.visible { display: flex; }
    .form-textarea { resize: vertical; min-height: 100px; }

    .file-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 10px 13px;
      border: 1px solid var(--input);
      border-radius: var(--radius);
      background: var(--background);
      font-size: 0.875rem;
      color: var(--muted-fg);
      cursor: pointer;
      text-align: left;
      transition: background 0.2s, border-color 0.2s;
    }
    .file-btn:hover { background: var(--muted); border-color: var(--primary); }
    .file-btn.has-file { color: var(--foreground); }

    .btn-submit {
      width: 100%;
      padding: 14px;
      background: var(--primary);
      color: var(--primary-fg);
      border: none;
      border-radius: var(--radius);
      font-size: 0.9375rem;
      font-weight: 700;
      font-family: var(--font-h);
      cursor: pointer;
      transition: background 0.2s, opacity 0.2s;
      margin-top: 4px;
    }
    .btn-submit:hover { background: hsl(204, 98%, 36%); }
    .btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

    /* ─── Toast ─── */
    .toast {
      position: fixed;
      top: 24px;
      right: 24px;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 14px 20px;
      box-shadow: 0 8px 30px rgba(0,0,0,0.14);
      z-index: 999;
      max-width: 340px;
      transform: translateX(200%);
      transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    }
    .toast.show { transform: translateX(0); }
    .toast-title { font-family: var(--font-h); font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; color: var(--secondary); }
    .toast-body { font-size: 0.8rem; color: var(--muted-fg); }

    /* ─── CTA Section ─── */
    .cta-section {
      background: var(--secondary);
      color: var(--secondary-fg);
      padding: 3rem 1.5rem;
      text-align: center;
    }
    .cta-section h2 {
      font-size: clamp(1.5rem, 3vw, 2rem);
      font-weight: 700;
      margin-bottom: 10px;
    }
    .cta-section p {
      opacity: 0.82;
      margin-bottom: 1.5rem;
      font-size: 0.9375rem;
    }
    .cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
    .cta-btn-primary {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--primary);
      color: var(--primary-fg);
      padding: 12px 24px;
      border-radius: var(--radius);
      font-weight: 700;
      font-family: var(--font-h);
      font-size: 0.9rem;
      transition: opacity 0.2s;
    }
    .cta-btn-primary:hover { opacity: 0.9; }
    .cta-btn-outline {
      display: inline-flex; align-items: center; gap: 8px;
      border: 2px solid rgba(255,255,255,0.85);
      color: var(--secondary-fg);
      padding: 12px 24px;
      border-radius: var(--radius);
      font-weight: 700;
      font-family: var(--font-h);
      font-size: 0.9rem;
      transition: background 0.2s;
    }
    .cta-btn-outline:hover { background: rgba(255,255,255,0.12); }

    .form-input.error,
.form-textarea.error {
  border: 1px solid red;
  background: #fff5f5;
}

.field-error {
  display: none;
  color: red;
  font-size: 13px;
  margin-top: 5px;
  align-items: center;
  gap: 5px;
}

@media (max-width: 767px) {
.hero-banner h1 {
    font-size: 23px;
}
.content-section {
    padding: 3rem 0.5rem 4rem;
}
}