/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0f2438;
  --navy-dark: #0a1a29;
  --steel-blue: #148eb9;
  --safety-orange: #f2711c;
  --safety-orange-dark: #d65e0f;
  --gray-100: #f6f7f9;
  --gray-200: #eceff2;
  --gray-400: #b8c0c9;
  --gray-600: #5b6b78;
  --gray-800: #29323a;
  --white: #ffffff;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-label {
  font-family: var(--font-head);
  color: var(--safety-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.section-label.light { color: #ffb37a; }

.section h2 {
  font-size: 2.1rem;
  margin-bottom: 24px;
  max-width: 700px;
}

.section h2.center { max-width: 720px; margin-left: auto; margin-right: auto; }

.section h2.light { color: var(--white); }

.lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 16px;
}

.lead.light { color: #dfe8ee; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--safety-orange);
  color: var(--white);
  padding: 14px 28px;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(242, 113, 28, 0.35);
}

.btn-primary:hover {
  background: var(--safety-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(242, 113, 28, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-xl { padding: 20px 44px; font-size: 1.1rem; }

.header-cta { padding: 10px 22px; font-size: 0.85rem; }

/* ===== Header ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

img.brand-mark {
  background: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-head);
  color: var(--white);
  letter-spacing: 1px;
  font-size: 1rem;
}

.brand-name strong { color: var(--gray-400); font-weight: 500; }

.footer-logo { width: 40px; height: 40px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,41,0.75) 0%, rgba(10,26,41,0.55) 45%, rgba(10,26,41,0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-head);
  color: var(--safety-orange);
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.hero h1 {
  color: var(--white);
  font-size: 3.4rem;
  line-height: 1.05;
  margin-bottom: 10px;
}

.hero h2 {
  color: #ffd8b0;
  font-weight: 500;
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: 0.2px;
  margin-bottom: 30px;
  font-family: var(--font-body);
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-meta li {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
}

.hero-meta i { color: var(--safety-orange); }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Two-column sections ===== */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.two-col.reverse { grid-template-columns: 0.9fr 1.1fr; }
.two-col.reverse .col-image { order: 1; }
.two-col.reverse .col-text { order: 2; }

.col-image img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(15, 36, 56, 0.18);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.col-text p { color: var(--gray-600); margin-bottom: 16px; }

.about-section { background: var(--white); }

/* ===== Overview stats ===== */
.overview-section { background: var(--gray-100); }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.stat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 34px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15,36,56,0.06);
  border-top: 4px solid var(--safety-orange);
}

.stat-card i {
  font-size: 1.8rem;
  color: var(--steel-blue);
  margin-bottom: 14px;
}

.stat-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.stat-card p { color: var(--gray-600); font-size: 0.92rem; }

/* ===== Responsibilities checklist ===== */
.responsibilities-section { background: var(--white); }

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.checklist { list-style: none; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
}

.checklist li i {
  color: var(--white);
  background: var(--steel-blue);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 3px;
}

/* ===== Project types ===== */
.project-types-section { background: var(--navy); }
.project-types-section .section-label { color: var(--safety-orange); }
.project-types-section h2 { color: var(--white); }

.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.tag-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e6ecf1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tag-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

.tag-card i { color: var(--safety-orange); font-size: 1.3rem; min-width: 26px; }
.tag-card span { font-weight: 500; font-size: 0.95rem; }

/* ===== Qualifications ===== */
.qualifications-section { background: var(--gray-100); }

.simple-list { list-style: none; }

.simple-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--gray-600);
  font-size: 0.96rem;
}

.simple-list li::before {
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--safety-orange);
  position: absolute;
  left: 0;
  top: 10px;
}

/* ===== Ideal candidate ===== */
.ideal-section { background: var(--white); }

.trait-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.trait-card {
  background: var(--gray-100);
  border-radius: 10px;
  padding: 30px 18px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trait-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(15,36,56,0.1);
}

.trait-card i {
  font-size: 1.6rem;
  color: var(--steel-blue);
  margin-bottom: 14px;
}

.trait-card p { font-size: 0.9rem; color: var(--gray-800); font-weight: 500; }

/* ===== Location ===== */
.location-section {
  position: relative;
  padding: 100px 0;
  color: var(--white);
  overflow: hidden;
}

.location-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,36,56,0.88), rgba(15,36,56,0.75));
}

.location-content { position: relative; z-index: 2; }

/* ===== Apply section ===== */
.apply-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
}

.apply-section .section-label { color: var(--safety-orange); }
.apply-section h2 { color: var(--white); }
.apply-section .lead { color: #cfd9e0; }

.apply-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.apply-summary-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.apply-summary-item i { color: var(--safety-orange); }

.apply-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: var(--gray-400);
  padding: 40px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer a { color: var(--safety-orange); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ===== Floating Apply Button ===== */
.floating-apply {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--safety-orange);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 40px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 26px rgba(242,113,28,0.45);
  z-index: 200;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.floating-apply.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-apply:hover { background: var(--safety-orange-dark); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .two-col, .two-col.reverse {
    grid-template-columns: 1fr;
  }
  .two-col.reverse .col-image,
  .two-col.reverse .col-text { order: initial; }
  .col-image img { height: 300px; }
  .stat-cards { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; gap: 0; }
  .tag-grid { grid-template-columns: 1fr 1fr; }
  .trait-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .hero h2 { font-size: 1.1rem; }
  .section { padding: 60px 0; }
}

@media (max-width: 560px) {
  .tag-grid { grid-template-columns: 1fr; }
  .trait-grid { grid-template-columns: 1fr; }
  .top-bar-inner { font-size: 0.72rem; gap: 8px; }
  .hero-content { padding: 40px 20px; }
  .hero h1 { font-size: 2rem; }
  .btn-xl { padding: 16px 28px; font-size: 0.95rem; width: 100%; justify-content: center; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
}
