/* === base styles (merged from former index.css) === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a1456;
  --navy-dark: #0e1a34;
  --black: #000000;
  --white: #ffffff;
  --off-white: #f2f4f8;
  --text-body: #1a2240;
  --text-muted: #4a5478;
  --shadow: 0 8px 40px rgba(10, 20, 86, 0.13);
}

body {
  font-family: 'Cal Sans', sans-serif;
  font-size: 16px;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  text-align: justify;
}

nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 0px;
  background: rgba(14, 26, 52, 0.60);
  backdrop-filter: blur(10px);
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-left: 72px;   padding-right: 74px;}
@media (max-width: 768px) {
  .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none;  }
}
.nav-logo-icon { width: 36px; height: 36px; background: var(--white); border-radius: 6px; display: flex; align-items: center; justify-content: center; }

.nav-logo-text { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { text-decoration: none; color: rgba(255, 255, 255, 0.80); font-size: 14px; font-weight: 500; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--white) !important; color: var(--navy) !important;margin-right: 70px !important; padding: 10px 22px; border-radius: 5px; font-weight: 600 !important; font-size: 14px; transition: background 0.2s, color 0.2s !important; }
.nav-cta:hover { background: var(--off-white) !important; color: var(--navy-dark) !important; }
 
.hero { position: relative; height: 740px; display: flex; align-items: center; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background-image: url('/static/images/what-we-do.jpg'); background-size: cover; background-position: center 30%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 86, 0.92) 0%, rgba(14, 26, 52, 0.75) 55%, rgba(14, 26, 52, 0.30) 100%); }
.hero-content { position: relative; z-index: 2; padding: 0 60px; max-width: 680px; margin-top: 40px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.35); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 3px; margin-bottom: 22px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--white); border-radius: 50%; }
.hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 70px; font-weight: 800; color: var(--white); line-height: 1.0; text-transform: uppercase; letter-spacing: -0.5px; margin-bottom: 20px; }
.hero h1 span { color: var(--white); -webkit-text-stroke: 2px rgba(255,255,255,0.5); text-shadow: none;}
.hero p { color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.75; max-width: 1200px; margin-bottom: 36px; text-align: center; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--navy); font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 5px; text-decoration: none; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--off-white); transform: translateY(-1px); color: var(--navy-dark); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--white); font-size: 15px; font-weight: 600; padding: 13px 28px; border-radius: 5px; text-decoration: none; border: 1.5px solid rgba(255,255,255,0.50); transition: border-color 0.2s, background 0.2s; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.10); }

.stats-bar { background: var(--black); padding: 24px 60px; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-item span { font-size: 12px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; }

.services { padding: 80px 60px; background: var(--off-white); }
.section-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; opacity: 1; }
.section-title { text-align: center; font-family: 'Barlow Condensed', sans-serif; font-size: 42px; font-weight: 800; text-transform: uppercase; color: var(--black); margin-bottom: 12px; letter-spacing: 0.3px; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 520px; margin: 0 auto 52px; font-size: 15px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.service-card { background: var(--white); border-radius: 10px; padding: 36px 28px; box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; border-top: 4px solid transparent; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 50px rgba(10, 20, 86, 0.18); border-top-color: var(--navy); }
.service-icon { width: 56px; height: 56px; background: rgba(10,20,86,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--black); margin-bottom: 12px; letter-spacing: 0.3px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }
.btn-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; text-transform: uppercase; letter-spacing: 0.8px; border-bottom: 2px solid var(--navy); padding-bottom: 2px; transition: opacity 0.2s; }
.btn-link:hover { opacity: 0.65; }

.estimate-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.estimate-content { background: var(--navy); padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; }

.estimate-content .section-title {
  text-align: left;
  color: var(--white);
}

.estimate-content p { color: rgba(255,255,255,0.65); font-size: 15px; max-width: 380px; margin-bottom: 34px; line-height: 1.8; }
.estimate-image { position: relative; overflow: hidden; }
.estimate-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.estimate-image::after { content: ''; position: absolute; inset: 0; background: rgba(10,20,86,0.20); }

.features { padding: 80px 60px; background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.feature-card { background: var(--off-white); border-radius: 10px; padding: 34px 26px; border: 1.5px solid transparent; transition: border-color 0.2s, background 0.2s; }
.feature-card:hover { border-color: var(--navy); background: #eef0f8; }
.feature-icon { width: 52px; height: 52px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--black); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }

.cta-section { background: var(--navy-dark); padding: 60px 60px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(10,20,86,0.45) 0%, transparent 70%); pointer-events: none; }
.cta-section .section-label { color: rgb(255, 255, 255); opacity: 1; }
.cta-section .section-title { color: var(--white) !important; font-size: 46px; }
.cta-section p { color: rgb(255, 255, 255); font-size: 15px; }

/* Contact Form Section */
.contact-form-section { padding: 80px 60px; background: var(--off-white); }
.contact-form { max-width: 700px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text-body); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea { padding: 14px 16px; border: 1.5px solid rgba(10, 20, 86, 0.15); border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text-body); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10, 20, 86, 0.05); }
.form-group textarea { resize: vertical; }
.contact-form .btn-primary { grid-column: 1 / -1; width: fit-content; margin: 12px auto 0; }

footer { background: #e8eaf0; padding: 50px 60px 28px; color: var(--text-muted); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); margin-top: 14px; font-size: 13px; line-height: 1.75; }
.footer-col h4 { font-family: inherit; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-body); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { text-decoration: none; color: var(--muted); font-size: 13px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(10, 20, 86, 0.10); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.footer-bottom a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--navy); }

.divider-accent { width: 48px; height: 3px; background: var(--navy); margin: 0 auto 20px; border-radius: 2px; }
.estimate-content .divider-accent { background: var(--white); margin: 0 0 20px; }
.cta-section .divider-accent { background: rgb(255, 255, 255); }
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;

  /* Deep navy glass effect (key change) */
  background: rgba(10, 20, 86, 0.75); /* stronger navy tint */
  
  /* Frosted glass blur */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  /* subtle depth + separation */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);

  z-index: 1000;
  transition: var(--transition-rigid);
}/* =====================
   SCROLL ANIMATIONS
===================== */

[data-animate] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-left"]  { transform: translateX(-40px); }
[data-animate="fade-right"] { transform: translateX(40px); }
[data-animate="scale-in"]   { transform: scale(0.93); }

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children (add data-stagger to parent) */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 80ms; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 160ms; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 240ms; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 320ms; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 400ms; }

/* =====================
   HERO TEXT ANIMATIONS
===================== */

.hero-badge {
  animation: badge-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.hero h1 {
  animation: hero-title-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.hero p {
  animation: hero-sub-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}
.hero-buttons {
  animation: hero-sub-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes badge-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-title-in {
  from { opacity: 0; transform: translateY(32px) skewY(1.5deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-sub-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Hero image parallax-feel zoom */
.hero-image {
  animation: hero-img-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes hero-img-in {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Estimate image reveal */
.estimate-image img {
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}
.estimate-image[data-animate="scale-in"].is-visible img {
  transform: scale(1);
}

/* Stats bar number count feel */
.stats-bar {
  animation: none;
}
.stat-item strong {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stats-bar.is-visible .stat-item strong { opacity: 1; transform: none; }
.stats-bar.is-visible .stat-item:nth-child(1) strong { transition-delay: 0ms; }
.stats-bar.is-visible .stat-item:nth-child(2) strong { transition-delay: 100ms; }
.stats-bar.is-visible .stat-item:nth-child(3) strong { transition-delay: 200ms; }
.stats-bar.is-visible .stat-item:nth-child(4) strong { transition-delay: 300ms; }
.faq-question {
    text-transform: uppercase;
}
/* === component & layout styles === */
:root {
  /* Premium Corporate Color Palette */
  --navy: #0a1456;
  --navy-dark: #070d36;
  --gold-accent: #ffffff;
  /* Added classic private-banking gold tone */
  --black: #111111;
  --white: #ffffff;
  --surface: #a4a4a4;
  --surface-hover: #f1f3f7;
  --border-color: #e2e8f0;
  --text: #1a202c;
  --muted: #4a5568;

  /* Corporate Timing: Fast, high-density damping. 
     No bounce, instantaneous but incredibly smooth perception.
  */
  --transition-rigid: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* Swapped to Inter/System stack for clean, institutional data legibility */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;

}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-rigid);
}

/* LAYOUT */
.page-shell {
  padding: 64px 24px 96px;
  max-width: 1000px;
  margin: 0 auto;
}

/* HERO */
.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 44px;
}

/* CORPORATE CARDS */
.page-card {
  background: var(--white);
  /* Sharp, geometric corners replace the soft, startup-like 20px radius */
  border-radius: 4px;
  border: 1px solid var(--border-color);
  /* Institutional-grade subtle elevation shadow */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02),
    0 1px 3px rgba(0, 0, 0, 0.03);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-rigid);
}

/* Premium micro-interaction: Subtle border highlight instead of floating up */
.page-card:hover {
  border-color: var(--navy);
  box-shadow: 0 10px 30px rgba(10, 20, 86, 0.05);
}

/* TYPOGRAPHY */
.page-eyebrow,
.faq-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  /* Widened for editorial authority */
  color: var(--gold-accent);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-title {
  /* Editorial, structural serif for legacy institution feel */
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--navy);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 8px 0 20px;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 52ch;
}

/* FAQ Section */
.faq-section {
  padding: 80px 60px;
  background: var(--white);
  border-top: 2px solid var(--navy);
}

.faq-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.faq-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}

.faq-rule {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  position: relative;
  transition: transform 0.25s ease;
  transform-origin: left center;
}

.faq-item:first-of-type {
  border-top: 1px solid var(--border-color);
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--navy);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.faq-item:hover {
  transform: scale(1.012);
}

.faq-item:hover::before {
  transform: scaleY(1);
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 8px 22px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin: 0;
  transition: color 0.2s ease, font-size 0.25s ease;
  line-height: 1.4;
}

.faq-btn:hover .faq-question,
.faq-btn[aria-expanded="true"] .faq-question {
  color: var(--navy);
  font-size: 1.13rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--navy);
  transition: transform 0.25s ease, background 0.2s ease;
  line-height: 1;
}

.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--surface);
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-answer {
  padding: 0 16px 22px;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

.faq-answer a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 24px;
  }
}

/* APPROACH SECTION */
.approach-section {
  padding: 120px 4%;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 4px;
}

.approach-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.approach-section .section-sub {
  max-width: 1100px;
  margin-top: 1.25rem;
  color: var(--muted);
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 980px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-shell {
    padding: 48px 24px 64px;
  }

  .page-card {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding: 32px 16px 48px;
  }

  .page-hero {
    margin-bottom: 40px;
  }

  .page-card {
    padding: 24px;
  }

  .page-title {
    font-size: 2.25rem;
  }

  .faq-heading {
    font-size: 2rem;
  }

  .faq-item:hover {
    padding-left: 14px;
  }

  .approach-section {
    padding: 80px 24px;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding: 24px 16px;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-card {
    padding: 20px;
  }

  .approach-section {
    padding: 60px 16px;
  }
}
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;

  background: rgba(10,20,86,.46);
  backdrop-filter: blur(12px);
  z-index: 1000;
}

.nav-inner {
  height: 100%;
    max-width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  width: 1100px;
  /* Institutional semi-transparent navy */
  background: rgba(10, 20, 86, 0.92);
  /* High-end frosted glass refraction */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: var(--transition-rigid);
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 10px auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {

  height: 40px;
  width: auto;
  display: block;
  padding-top: 6px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
}

/* Micro-interaction: Crisp accent line instead of fade */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* =========================
   UPDATED LAYOUT WRAPPERS 
   (Replaces previous .page-shell & .page-hero rules)
========================= */
.page-shell {
  /* Top padding accounts exactly for the fixed 72px navbar + clean 24px buffer */
  padding: 96px 24px 96px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  /* Completely flushed top bounds */
  margin-top: 0;
  margin-bottom: 64px;
}


/* =========================
   RESPONSIVE OVERRIDES
========================= */
@media (max-width: 768px) {
  .nav-bar {
    height: 64px;
  }

  .page-shell {
    /* Lower offset buffer for condensed mobile header heights */
    padding-top: 88px;
    padding-bottom: 48px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.8rem;
  }
}



/* =========================
   OUR PURPOSE
========================= */

.purpose-section {
  padding: 120px 4%;
  background: var(--white);
}

.purpose-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Title aligned with content width */
.purpose-header {
  max-width: 1100px;
  margin: 0 auto 70px;
  text-align: center;
}

.purpose-header .section-title {
  max-width: 900px;
  margin: 0 auto;
}

/* Text + image */
.purpose-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.purpose-text {
  max-width: 100%;
}

.purpose-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 28px;
}

.purpose-image {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  align-self: stretch;
}

.purpose-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tablet */
@media (max-width: 980px) {

  .purpose-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .purpose-header .section-title {
    max-width: 100%;
  }

  .purpose-image img {
    height: 450px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .purpose-section {
    padding: 80px 44px;
  }

  .purpose-header {
    margin-bottom: 50px;
  }

  .purpose-content {
    gap: 80px;
  }

  .purpose-image img {
    height: 280px;
  }
}

/* PRINCIPLES GRID */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 90%;
  max-width: 1100px;
  margin: 0 40px;
  padding-top: 16px;
  
}

.principle-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
}

.principle-icon {
  width: 52px;
  height: 52px;
  background: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.principle-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
}

.principle-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 10px;
}

.principle-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;

}


.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 1100px;
  max-width: 100%;
  margin: auto;
  padding-top: 16px;

}


.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border-top:1px solid var(--navy);
  width:auto;
  max-width: 94%;
  margin: 0 auto;
  position: relative;
  right:10px;
}

/* ASSOCIATED COMPANIES */
.associated-section {
  padding: 80px 60px;
  background: var(--navy);
}

.associated-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.associated-text {
  max-width: 700px;
  margin-bottom: 40px;
}

.associated-text .section-label {
  color: rgb(255, 255, 255);
  text-align: left;
}

.associated-text .section-title {
  color: var(--white);
  text-align: left;
}

.associated-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.8;
}

.associated-text .divider-accent {
  background: var(--white);
  margin: 0 0 20px;
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition-rigid);
}

.industry-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.40);
}

/* =========================
   RECRUITMENT SECTION
========================= */

.recruitment-section {
  padding: 120px 4%;
  background: var(--white);
}

.recruitment-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Title at top */
.recruitment-header {
  margin-bottom: 70px;
  text-align: center;
}

.recruitment-header .section-title {
  max-width: 900px;
  margin: 0 auto;
}

/* Text + image */
.recruitment-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.recruitment-text p {
  margin-bottom: 1.75rem;
}

.recruitment-image {
  overflow: hidden;
  border-radius: 8px;
}

.recruitment-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 980px) {

  .recruitment-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .recruitment-header .section-title {
    max-width: 100%;
  }

  .recruitment-image img {
    height: 420px;
  }
}

@media (max-width: 768px) {

  .recruitment-section {
    padding: 80px 24px;
  }

  .recruitment-header {
    margin-bottom: 50px;
  }

  .recruitment-content {
    gap: 40px;
  }

  .recruitment-image img {
    height: 300px;
  }
}

/* CONTACT CHANNELS */
.contact-channels {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 48px;
  max-width: 700px;
}

.contact-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-channel-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.contact-channel a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.contact-channel a:hover {
  opacity: 0.65;
}

/* RESPONSIVE */
@media (max-width: 980px) {

  .purpose-inner,
  .recruitment-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .purpose-section,
  .associated-section,
  .recruitment-section {
    padding: 60px 24px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .contact-channels {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================
   ABOUT SECTION
========================= */

.about-section {
  padding: 120px 4%;
  background: var(--white);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 56px;
}

.about-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 8px;
}

.about-content {
  max-width: 1100px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 24px;
}

.about-card {
  margin-top: 48px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition-rigid);
}

.about-card:hover {
  border-color: var(--navy);
  box-shadow: 0 10px 30px rgba(10, 20, 86, 0.05);
}

.about-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/* =========================
   APPROACH SECTION — UPDATED
========================= */

.approach-section {
  padding: 100px 60px;
  background: var(--off-white);
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  text-align: center;
}

.approach-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  /* matches the principles grid width */
  margin: 0 auto 56px;
}

.approach-content .section-title {
  max-width: 100%;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  /* optional: scale with viewport */
}

.approach-section .section-sub {
  max-width: 620px;
  margin-top: 1.25rem;
  color: var(--text-muted);
  text-align: center;
}

/* Wider grid — full bleed within section padding */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 1100px;
  max-width: 98%;
  margin: 0 auto;
  padding: 0;
}

.principle-icon {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }
}

.principle-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  background: var(--white);
  border-radius: 8px;
  padding: 40px 32px;

  border: 1px solid var(--border-color);
  border-top: 3px solid var(--navy);

  box-shadow: 0 2px 12px rgba(10, 20, 86, 0.06);
  transition: var(--transition-rigid);
}

.principle-card:hover {
  border-top-color: var(--navy);
  box-shadow: 0 8px 32px rgba(10, 20, 86, 0.10);
  transform: translateY(-3px);
}


.principle-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
}

.principle-card h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 14px;
}

.principle-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .approach-section {
    padding: 80px 40px;
  }
}

@media (max-width: 600px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .approach-section {
    padding: 60px 24px;
  }

  .principle-card {
    padding: 32px 24px;
  }
}

/* ========================================
   GLOBAL TYPOGRAPHY SYSTEM
======================================== */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.9;
  font-size: 1.05rem;
  letter-spacing: 0;
}

/* Consistent body text throughout site */
p,
li,
input,
textarea,
label,
.section-sub,
.contact-channel a,
.faq-answer,
.service-card p,
.principle-card p,
.about-content p,
.purpose-text p,
.recruitment-text p,
.associated-text p {
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.9;
  letter-spacing: 0;
  color: var(--muted);
}

/* Consistent paragraph spacing */
p {
  margin-top: 0;
  margin-bottom: 1.75rem;
}

/* Lists */
ul,
ol {
  line-height: 1.9;
}

/* Links inside text */
p a,
li a {
  color: var(--navy);
}

/* Section labels remain smaller */
.section-label,
.page-eyebrow,
.faq-label,
.contact-channel-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Main section headings */
.section-title,
.page-title {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Card headings */
.principle-card h3,
.service-card h3,
.about-card h3 {
  line-height: 1.3;
}

/* Form controls */
input,
textarea {
  font-size: 1.05rem;
  line-height: 1.9;
}

/* Responsive text */
@media (max-width: 768px) {

  body,
  p,
  li,
  input,
  textarea,
  label,
  .section-sub,
  .faq-answer,
  .service-card p,
  .principle-card p,
  .about-content p,
  .purpose-text p,
  .recruitment-text p,
  .associated-text p {
    font-size: 1rem;
    line-height: 1.85;
  }
}

/* HERO CONTENT */
.hero-content {
  max-width: 880px;
  /* increase by 100px if currently 800px */
}

/* HERO TITLE */
.hero-content h1 {
  max-width: 1000px;
  /* wider title area */
  width: 100%;
  margin: 0 auto 24px;
  line-height: 1.1;
  text-align: left;
}


.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42pt;
  font-weight: 700;
  line-height: 1.15;
}

.hero-content p {
  max-width: 88%;
  width: 100%;
}


body {
   /* increase /zooom in */
    zoom: 1;
}
@media (max-width: 900px) {
  body {
    zoom: 1;
  }
  .hero-content .para, .hero-content h1 {
    text-align: center;
  }
  
}
#purpose,
#about,
#approach,
#services,
#careers,
#contact {
    scroll-margin-top: 40px;
}
.purpose-text .section-title,
.about-header .section-title,
.approach-content .section-title,
.cta-section .section-title,
.services .section-title,
.associated-text .section-title,
.estimate-content .section-title,
.recruitment-text .section-title,
.contact-form-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36pt;
  font-weight: 700;

}

.principle-card h3,
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center !important;


}

.principle-card p {
  text-align: center !important;
}


.btn-primary,
.btn-link {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card .btn-link {
  margin-top: auto;
  display: block;
  text-align: center;
}

.principle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.principle-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#services .service-icon {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  background: none !important;
  border-radius: 0 !important;
}

#services .service-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* ========================================
   HAMBURGER BUTTON — hidden on desktop
======================================== */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   MOBILE ONLY — max-width: 900px
   Nothing below affects desktop
======================================== */
@media (max-width: 900px) {

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: flex !important;
    flex-direction: column !important;

    position: fixed;
    top: 72px;
    left: 0;
    right: 0;

    width: 100%;
    height: calc(100vh - 72px);

    background: var(--navy-dark);
    padding: 20px;
    margin: 0;

    overflow-y: auto;

    transform: translateX(100%);
    transition: transform .3s ease;

    z-index: 1050;
  }

  .nav-links.nav-open {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a,
  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 0;
    color: #fff;
  }

  .nav-cta {
    display: inline-block;
    padding: 12px 20px !important;
    background: var(--gold-accent);
    color: var(--navy-dark) !important;
    border-radius: 4px;
    margin-top: 12px;
  }
}

@media (max-width: 768px) {

  /* Hero */
  .hero-content h1 {
    font-size: 24pt !important;
    line-height: 1.2;
  }

  .cta-section p {
    width: 100% !important;
  }

  /* Grids → single column */
  .purpose-content,
  .recruitment-content {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .principles-grid,
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Images */
  .purpose-image img,
  .recruitment-image img {
    height: 240px !important;
  }

  /* Cards */
  .principle-card,
  .service-card {
    align-items: center;
    text-align: center;
  }

  .service-icon,
  .principle-icon {
    margin: 0 auto 16px;
  }

  /* Section padding */
  .purpose-section,
  .about-section,
  .approach-section,
  .services,
  .cta-section,
  .recruitment-section,
  .contact-form-section {
    padding: 20px 20px !important;
  }

  /* Contact */
  .contact-channels {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
    padding: 10px 20px;
  }

  /* Buttons */
  .recruitment-text .btn-primary {
    display: block;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 480px) {

  .hero-content h1 {
    font-size: 20pt !important;
  }

  .section-title {
    font-size: 22pt !important;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {

  @media (max-width: 768px) {

    form input,
    form textarea {
      padding: 4px 24px !important;
    }
  }

  form {
    padding: 0 !important;
  }

  .contact-form-section {
    padding: 60px 20px !important;
  }

  button[type="submit"],
  .btn-primary {
    width: 100% !important;
  }
}

.service-card h3 {
  width: 320px;
}

.recruitment-content .btn-primary {
  font-size: 20px;
  font-weight: 600;
  border: 2px solid #070d36;
  /* thin navy blue border */
  width: 50%;

}


.recruitment-content .btn-primary:hover {
  font-size: 20px;
  font-weight: 600;
  background: var(--navy);
  color: var(--white);
  border: 2px solid #ffffff;
  /* thin navy blue border */

}

.btn-primary:hover {
  font-size: 20px;
  font-weight: 600;
  background: var(--navy);
  color: var(--white);
  border: 2px solid #ffffff;
  /* thin navy blue border */

}

footer h4 {
  font-family: inherit;
}

.footer-col ul li,
.footer-col ul li a {
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.8;
}

/* =====================================
   COMMUNICATION BANNER
===================================== */

.contact-banner-section {
  padding: 40px 4px;
  background: var(--navy-dark);
  text-align: center;

}

.contact-banner-section .divider-accent {
  background: var(--white);
  margin: 0 auto 20px;
  /* auto left/right centres a block element */
  width: 60px;
  /* give it an explicit width */
  height: 3px;
  /* make sure it's visible */
  /* subtle effect */
}

.contact-banner-section .section-label {
  color: rgb(255, 255, 255);
}

.contact-banner-section .section-title {
  color: var(--white);
}

.contact-banner-section .section-sub {
  max-width: 750px;
  margin: 24px auto 50px;
  color: rgba(255, 255, 255);
}

.contact-banner-section .contact-channels {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: nowrap;
  /* prevent wrapping on desktop & tablet */
  max-width: 100%;
  /* remove the 700px cap that was forcing a wrap */

}

.contact-banner-section .contact-channel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-banner-section .contact-channel-label {
  color: white;
}

.contact-banner-section .contact-channel a {
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}


/* =====================================
   CONTACT FORM SECTION
===================================== */

.contact-us-section {
  padding: 60px 4%;
  background: var(--white);
}

.contact-form-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-size: 0.78rem;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px 11px;
  font-size: 0.82rem;
  border: 1px solid var(--black);
  border-radius: 4px;
  background: #ffffff;

  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea {
  /* replaces rows: 5 */
  resize: vertical;
  height: 90px;
  min-height: 90px;
}

.full-width {
  grid-column: 1 / -1;
}

.contact-form .btn-primary {
  grid-column: 1 / -1;
  background: var(--navy);
  color: var(--white);
  width: fit-content;
  margin: 20px auto 0;
}

.contact-form .btn-primary:hover {
  background: var(--white);
  color: var(--navy);
  opacity: 1;
  border: solid 1px var(--navy);
  font-size: inherit;
}

/* =====================================
   MOBILE
===================================== */

@media (max-width:768px) {

  .contact-banner-section,
  .contact-us-section {
    padding: 70px 20px;
  }

  .contact-banner-section .contact-channels {
    flex-direction: column;
    gap: 28px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: auto;
  }

  .contact-form .btn-primary {
    width: 100%;
  }
}

.contact-us-section btn-primary {

  font-weight: 600;
  border: 2px solid var(--navy);

}

/* Submit button states */
#submit-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  transition: all 0.3s ease;
}

/* Spinner — hidden by default */
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Loading state */
#submit-btn.is-loading .btn-spinner {
  display: inline-block;
}

#submit-btn.is-loading .btn-text {
  opacity: 0.75;
}

#submit-btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

/* Success state */
#submit-btn.is-success {
  background: #1a7a4a;
  border-color: #1a7a4a;
  pointer-events: none;
}

/* Error state */
#submit-btn.is-error {
  background: #b91c1c;
  border-color: #b91c1c;
  animation: shake 0.4s ease;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  75% {
    transform: translateX(6px);
  }
}

/* ========================================
   LEGAL PAGES — Privacy Policy / Cookie Policy
   Static, no animations, clean reading layout
======================================== */

.legal-section {
  padding: 80px 24px 100px;
  background: var(--white);
}

.legal-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Meta row — label + rule */
.legal-inner .faq-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.legal-inner .faq-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}

.legal-inner .faq-rule {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

/* Page heading */
.legal-inner .faq-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.2;
}

/* Effective date line */
.legal-date {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 48px;
  display: block;
}

/* Each section block */
.legal-inner .faq-item {
  border-top: 1px solid var(--border-color);
  padding: 32px 0;
}

.legal-inner .faq-item:last-child {
  border-bottom: 1px solid var(--border-color);
}

/* Remove hover effects from base faq-item */
.legal-inner .faq-item:hover {
  transform: none;
}

.legal-inner .faq-item::before {
  display: none;
}

/* Section heading */
.legal-inner .faq-question {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

/* Hide the accordion button chrome — render as plain heading */
.legal-inner .faq-btn {
  all: unset;
  display: block;
  width: 100%;
  cursor: default;
  pointer-events: none;
}

.legal-inner .faq-icon {
  display: none;
}

/* Always show body */
.legal-inner .faq-body {
  max-height: none;
  overflow: visible;
}

/* Body text */
.legal-inner .faq-answer {
  font-size: 0.975rem;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 14px;
  padding: 0;
}

.legal-inner .faq-answer:last-child {
  margin-bottom: 0;
}

/* Links inside answers */
.legal-inner .faq-answer a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-inner .faq-answer a:hover {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-section {
    padding: 60px 20px 80px;
  }

  .legal-inner .faq-item {
    padding: 24px 0;
  }
}


@media (max-width: 768px) {
  .hero-content p {
    text-align: left;
  }
}

@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
}

.principle-icon img,
.service-icon img {
  width: auto;
  height: 44px;
  object-fit: contain;
}

/* Page heading — matches hero h1 */
.legal-inner .faq-heading {
  font-family: 'Playfair Display', serif;
  font-size: 42pt;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.15;
}

/* Section subheadings — matches section-title */
.legal-inner .faq-question {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

/* ========================================
   SPACING & TYPOGRAPHY CORRECTIONS
======================================== */

/* Reduce section vertical padding by ~half */
.purpose-section,
.about-section,
.approach-section,
.services,
.recruitment-section,
.contact-form-section,
.contact-us-section,
.contact-banner-section,
.associated-section {
  padding-top: 20px;
  padding-bottom: 20px;

}

/* Tighten inter-section rhythm on desktop */
@media (min-width: 769px) {
  .purpose-section {
    padding: 60px 4%;
  }

  .about-section {
    padding: 60px 4%;
  }

  .approach-section {
    padding: 60px 60px;
  }

  .services {
    padding: 60px 4%;
  }

  .recruitment-section {
    padding: 60px 4%;
  }

  .contact-us-section {
    padding: 60px 24px;
  }

  .contact-banner-section {
    padding: 40px 24px;
  }

  /* already tight, keep as is */
  .associated-section {
    padding: 60px 60px;
  }
}

/* Normalise line-height site-wide */
body,
p,
li,
input,
textarea,
label,
.section-sub,
.faq-answer,
.about-content p,
.purpose-text p,
.recruitment-text p,
.associated-text p,
.service-card p,
.principle-card p {
  line-height: 1.95;
  /* was 1.75 */
  word-spacing: 0.01em;
  letter-spacing: 0;
}

/* Headings — keep compact */
.section-title,
.page-title,
.hero-content h1,
.faq-question,
.about-card h3,
.principle-card h3,
.service-card h3 {
  line-height: 1.25;
  /* was 1.15 */
  word-spacing: 0.08em;
  letter-spacing: 0.02em;
}

/* Paragraph bottom margin — slightly tighter */
p {
  margin-bottom: 1.25rem;
  /* was 1.75rem */
}

/* Section internal header margin — tighten */
.purpose-header,
.recruitment-header,
.about-header {
  margin-bottom: 40px;
  /* was 70px */
}

/* Mobile overrides */
@media (max-width: 768px) {

  .purpose-section,
  .about-section,
  .approach-section,
  .services,
  .recruitment-section,
  .contact-us-section,
  .associated-section,
  .cta-section {
    padding: 20px 20px !important;
  }

  p {
    margin-bottom: 1rem;
  }
}

footer h4,
footer .footer-col h4 {
  font-family: inherit !important;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

/* In your index.css */

.recruitment-content {
  align-items: stretch;
  /* was: center — this lets both columns fill to same height */
}

.recruitment-image {
  overflow: hidden;
  border-radius: 8px;
  align-self: stretch;
  /* stretch to match text column height */
}

.recruitment-image img {
  width: 100%;
  height: 100%;
  /* fill the full container height */
  object-fit: cover;
  display: block;
  min-height: 300px;
  /* fallback so it never collapses */
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  padding-top: 0;
}

.footer-brand img {
  height: auto;
  width: 180px;
  max-width: 100%;
  margin: 0;
  display: block;
  position: relative;
  left: -40px;
}

.contact-us-section {
  padding: 60px 4%;
  background: var(--white);
}

.contact-form-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  border: 1px solid var(--black);
  border-radius: 4px;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form-wrapper .section-sub {
  font-size: 1.2rem;
  max-width: 100%;
}

.service-card h3 {
  color: var(--navy);
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 24px;
  }
}

.faq-question {
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }



  .footer-col {
    padding-right: 46px;
  }
}

.section-title {
  width: 100%;
  color: var(--navy);
  font-size: 36pt;
  font-family: 'Playfair Display', serif;

}

footer {
  background: var(--navy-dark);
  color: var(--white);
}

footer p,
footer li,
footer a,
footer h4,
footer .footer-col,
footer .footer-col ul li,
footer .footer-col ul li a {
  color: var(--white) !important;
}

.hero {
  position: relative;
  min-height: 60vh;
  /* full screen hero */
  display: flex;
  align-items: center;
  /* vertical center */
  overflow: hidden;
  padding: 0 24px;
}

@media (max-width: 900px) {
  .hero h1{
    text-align: center;
  }

  .nav-bar {
    height: 64px;
  }

  .nav-container {
    height: 64px;
    margin: 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-logo img {
    height: 28px;
    width: auto;
    padding-top: 0;
  }

  .nav-hamburger {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
    padding: 0 24px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .hero-content h1,
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 24px;
    text-align: center;
  }

  .hero-content p {
    max-width: 100%;
    font-size: 1.1rem;
    line-height: 1.8;
  }
}

.footer-col h4 {
  font-family: inherit;
}

.footer-col ul li,
.footer-col ul a,
.footer-brand p,
.footer-bottom,
.footer-bottom a {
  font-family: inherit;
}

@media (max-width: 768px) {
  


  .footer {
    text-align: left;
  }
}

nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;

  background: rgba(14, 26, 52, 0.60);
  backdrop-filter: blur(10px);
}

.nav-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px;
  box-sizing: border-box;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.hero-content h1{
  text-align: center;
}
/* FOOTER LINK HOVER EFFECT */
.footer-col a,
.footer-bottom a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.footer-col a::after,
.footer-bottom a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-col a:hover::after,
.footer-bottom a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.contact-channel a[href^="mailto:"],
.footer a[href^="mailto:"] {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer a[href^="mailto:"] {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}