:root{
  --navy: #003366;
  --gold: #ffcc00;
  --muted: #f9f9f9;
  --text: #1a1a1a;
  --max-width: 1200px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --radius: 8px;
  --transition: 200ms ease;
}

/* Reset & base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: .5rem .75rem;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  z-index: 2000;
}

/* Navbar */
.navbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.logo { height: 44px; display: block; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #ddd;
  padding: .4rem .6rem;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
}
.menu-toggle:focus { outline: 3px solid rgba(0,102,204,0.25); outline-offset: 2px; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: .25rem .35rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--gold);
  background: rgba(255,204,0,0.08);
  outline: none;
}

.cta {
  background: var(--gold);
  border: none;
  padding: .5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  color: var(--navy);
  margin-bottom: var(--space-md);
}
.hero-img {
  width: 100%;
  height: clamp(320px, 40vh, 520px);
  object-fit: cover;
  display: block;
}
.hero-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: rgba(255,255,255,0.92);
  padding: calc(var(--space-md) + .5rem);
  border-radius: var(--radius);
  max-width: 760px;
  width: calc(100% - 2rem);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.hero-text h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  margin: 0 0 .5rem;
  color: var(--navy);
}
.hero-text p { margin: 0 0 1rem; color: #234; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover, .btn-primary:focus { transform: translateY(-2px); }

.btn-secondary {
  background: #fff;
  border: 1px solid #ddd;
  padding: .5rem .9rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--navy);
}

/* Sections */
.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.content-section h2 { color: var(--navy); margin-top: 0; }
.section-img {
  width: 40%;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  object-fit: cover;
}

/* Leadership grid */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.leader {
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
}
.leader-img {
  width: 100%;
  max-width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 220ms ease, filter 220ms ease;
}
.leader-img:hover { transform: translateY(-6px) scale(1.02); }
.leader h3 {
  margin: 0.5rem 0 0.25rem;
  color: var(--navy);
  font-size: 1.15rem;
}
.leader-title {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

/* Careers grid and job cards */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  width: 100%;
  margin-top: 1rem;
}

.job-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  overflow: hidden;
}

.job-card-media {
  background: #f3f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.job-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.job-card-body {
  padding: 1rem 1.25rem;
}

.job-card h3 {
  margin: 0 0 .5rem;
  color: var(--navy);
  font-size: 1.1rem;
}

.job-intro {
  margin: 0 0 .75rem;
  color: #333;
}

.job-bullets {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.job-bullets li {
  margin: .35rem 0;
  color: #333;
}

.job-cta {
  margin: 0 0 1rem;
  font-weight: 600;
  color: #123;
}

.apply-btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: .6rem .9rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
}
.apply-btn:hover, .apply-btn:focus { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }

/* Lists */
.service-list { margin: 1rem 0 0; padding-left: 1.25rem; }
.service-list li { margin: .35rem 0; }

/* Trust */
.trust-section { background: #eaf3ff; text-align: center; }
.trust-list {
  list-style: none;
  padding: 0;
  margin: 1rem auto;
  max-width: 640px;
  text-align: left;
}
.trust-list li { padding: .5rem 0; font-weight: 600; color: #123; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
blockquote {
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  margin: 0;
}
blockquote p { margin: 0 0 .5rem; }
cite { display: block; color: #666; font-size: .9rem; }

/* FAQ */
#faq details {
  background: var(--muted);
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  border: 1px solid #e6e6e6;
}
#faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

/* Footer styles (footer-middle included) */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-middle {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  background: rgba(0,0,0,0.02);
}

.corporate-info p {
  margin: 0 0 .5rem;
  color: #222;
  font-size: 0.95rem;
}

.disclosures {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.45;
}

.disclosure-note {
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--navy);
}

.disclosure-codes {
  margin-top: .75rem;
  font-size: 0.8rem;
  color: #666;
  word-break: break-word;
}

/* Footer bottom removed per request */

/* Toast */
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 2000;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 250ms ease, transform 250ms ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Accessibility focus */
a:focus, button:focus, summary:focus { outline: 3px solid rgba(0,102,204,0.25); outline-offset: 2px; }

/* Responsive */
@media (max-width: 900px) {
  .content-section { flex-direction: column; text-align: center; }
  .section-img { width: 100%; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
  .nav-links.show { display: flex; }
  .menu-toggle { display: inline-block; }
  .hero-text { padding: 1rem; width: calc(100% - 2rem); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .job-img { height: 140px; }
  .footer-middle { grid-template-columns: 1fr; padding: 1rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
