/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.3;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #002147;
  --bs-secondary: #FFD700;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-font-sans-serif: 'Lora', 'Crimson Text', Georgia, serif, system-ui, -apple-system;
  --bs-font-monospace: 'JetBrains Mono', 'Courier New', monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));

  --finance-blue: linear-gradient(135deg, rgba(0, 33, 71, 0.85), rgba(255, 215, 0, 0.35));
  --header-height: 120px;
  --hero-parallax-y: 0px;
  --hero-bg-image: url("/img/hero.webp"), linear-gradient(135deg, rgba(0, 33, 71, 0.85), rgba(255, 255, 255, 0.35));
}

html, body {
  min-height: 100vh;
  min-width: 100vw;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  height: 100%;
  min-width: 100vw;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-rows: 120px 1fr 50px;
  gap: 0;
  grid-auto-flow: row;
  grid-template-areas:
    "  header  "
    "  main  "
    "  footer  ";
}

.content-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper--narrow {
  max-width: 800px;
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 0 10px;
    max-width: 90%;
  }
  .content-wrapper--narrow {
    max-width: 75%;
  }
}

.main-content {
  font-family: var(--bs-font-sans-serif);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.25;
  color: var(--bs-primary);
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

/*background-color: var(--bs-primary)*/
.header { grid-area: header;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;}
/*.header nav {*/
/*  background-color: var(--bs-primary);*/
/*}*/
.main {
  min-height: 0;
  grid-area: main; height: 100%;
}

.footer { grid-area: footer; background-color: var(--bs-primary); color: white; }


.spacer {
  flex: 1 1 auto;
}



header {
  max-width: 1280px;
  padding: 0 20px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  header {
    max-width: 80%;
  }
}

.logo img {
  height: 80px;
  position: relative;
  padding: 10px 0;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex: 1;
}

.menu li {
  margin: 0 15px;
}

.menu a {
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  padding: 10px;
  display: block;
  font-size: 0.9rem;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  transform: scaleX(1);
}


.cta button {
  background-color: var(--bs-primary);
  color: white;
  text-transform: uppercase;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;

  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Added: link styled like the old button */
.cta__link {
  background-color: var(--bs-primary);
  color: white;
  text-transform: uppercase;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
}

/* keep existing icon sizing */
.cta__icon {
  display: inline-flex;
  width: 28px;   /* large icon */
  height: 28px;  /* large icon */
}

/* hover now applies to the link */
.cta__link:hover {
  background-color: var(--bs-secondary);
  color: var(--bs-primary);
}

/* Optional: accessible focus ring */
.cta__link:focus-visible {
  outline: 3px solid rgba(255, 215, 0, 0.9);
  outline-offset: 3px;
}

.cta__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

.cta button:hover {
  background-color: var(--bs-secondary);
  color: var(--bs-primary);
}

/* Mobile responsiveness */
@media (max-width: 1140px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  .menu {
    display: none;
  }

  .cta {
    display: none;
  }


  .cta button {
    background-color: var(--bs-primary);
    color: white;
    text-transform: uppercase;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;

    display: inline-flex;
    align-items: center;
    gap: 12px;
  }

  /* Added: link styled like the old button */
  .cta__link {
    font-size: 12px;
    padding: 10px;
    gap: 6px;

  }

  /* keep existing icon sizing */
  .cta__icon {
    width: 14px;   /* large icon */
    height: 14px;  /* large icon */
  }

  /*.menu ul {*/
  /*  flex-direction: column;*/
  /*  margin-top: 10px;*/
  /*}*/

  /*.menu li {*/
  /*  margin: 5px 0;*/
  /*}*/

  /*.cta {*/
  /*  margin-top: 10px;*/
  /*}*/
}

.shadow {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;

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

  max-width: 100vw;

  /* Added: create a predictable stacking context */
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: var(
    --hero-bg-image,
    linear-gradient(135deg, rgba(0, 33, 71, 0.85), rgba(255, 215, 0, 0.35))
  );
  background-size: cover;
  background-position: center;

  transform: translate3d(0, var(--hero-parallax-y), 0) scale(1.08);
  will-change: transform;

  /* Added: don't block clicks/hover */
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  padding: 0;
  margin: 0;
  /* Added: don't block clicks/hover */
  pointer-events: none;
  z-index: 0;
}


.hero > * {
  position: relative;
  z-index: 1;
}


.hero__overlay {
  width: min(1100px, calc(100% - 48px));
  text-align: left;
  padding: 32px 38px;
  border-radius: 16px;

  background: rgba(0, 33, 71, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media(max-width: 1140px) {
  .hero__overlay {
    width: min(600px, calc(100% - 48px));
    padding: 22px;
  }
}

.hero__slogan {
  margin: 0;
  color: #fff;
  font-family: var(--bs-font-sans-serif), ui-sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;

  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

/* Added: new hero content styles */
.hero__title {
  margin: 0 0 12px 0;
  color: #fff;
  font-family: var(--bs-font-sans-serif), ui-sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
}

.hero__subtitle {
  margin: 0 0 18px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.25;
  max-width: 60ch;
}

.hero__bullets {
  margin: 0 0 22px 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.hero__bullets li + li {
  margin-top: 8px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;
  border-radius: 10px;

  background: var(--bs-secondary);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;

  /* Added: ensure it behaves like a real clickable button */
  cursor: pointer;
  user-select: none;

  /* Added: hover/press animation */
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.hero__cta:hover {
  transform: translateY(-2px);
  filter: brightness(0.98);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.hero__cta:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.hero__cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

/* Added: disable motion for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__cta {
    transition: none;
  }
  .hero__cta:hover,
  .hero__cta:active {
    transform: none;
  }
}

@media (max-width: 1280px) {
  .hero__overlay {
    text-align: left;
    padding: 26px 30px;
    max-width: 70%;
  }
}

/* small screens: center and tighten spacing */
@media (max-width: 768px) {
  .hero__overlay {
    text-align: center;
    padding: 26px 30px;
    max-width: 70%;
    margin-left: -10px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__bullets {
    text-align: left;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }
}


@media(max-width: 768px) {
  .hero {
    height: 200px;
    background-attachment: scroll;
  }
  .hero__slogan {
    font-weight: 500;
    font-size: clamp(1.2rem, 2vw, 2.2rem);
  }
}
/* Added: smooth scrolling is already enabled; this makes anchor jumps account for sticky header */
[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

/* Added: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero::before {
    transform: none;
  }
}


.menu-title {
  text-align: center;
  color: var(--bs-primary);
}













.card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 32px 16px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .card-wrapper {
    padding: 32px 0;
    grid-template-columns: minmax(140px, 0.9fr);
    grid-template-rows: repeat(auto-fit, minmax(140px, 1fr));
    align-content: center;
  }
}

.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  position: relative;
  overflow: hidden;

  /* Subtle base border */
  border: 1px solid #E5E8EB;

  /* Distinct accent: soft left gradient border */
  border-left: 4px solid var(--bs-primary);
  background: linear-gradient(to right, #f8fcff 0%, #ffffff 10%, #ffffff 100%);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  border-color: var(--bs-secondary);
  border-left-width: 6px; /* Slightly thicker accent on hover */
}

.card__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f7fa;
  border-radius: 50%;
  padding: 16px;
}

.card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 12px;
}

.card__text {
  font-size: 1rem;
  color: #54697E;
  line-height: 1.6;
  max-width: 280px;
}


.section {
  padding: 32px 0;
}

.section__title {
  margin-top: 0;
  margin-bottom: 16px;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bs-primary);
}

.section p {
  margin: 48px 0 -20px;
}

.content-section {
  padding: 80px 20px;
  background: #ffffff; /* Or #f9fbfc for subtle contrast */
  max-width: 1400px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); /* ~50% width per block */
  gap: 40px;
}

.content-grid-v {
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(420px, 1fr)); /* ~50% width per block */
  gap: 40px;
}

.content-block {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;

  /* Subtle border + accent matching your cards */
  border: 1px solid #E5E8EB;
  border-left: 4px solid var(--bs-primary);
  background: linear-gradient(to right, #f8fcff 0%, #ffffff 12%, #ffffff 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.content-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  border-left-width: 6px;
  border-color: var(--bs-secondary);
}

.content-block__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 20px;
  line-height: 1.25;
}

.content-block__text {
  font-size: 1.1rem;
  color: var(--bs-dark);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-block {
    padding: 32px 24px;
    text-align: center; /* Optional: center on mobile */
  }

  .content-block__title {
    font-size: 1.5rem;
  }
}


.main-content h2 {
  margin-bottom: -2rem;
}


.faq-container {
  margin-top: 3em;
}



.faq-item {
  margin-bottom: 15px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-question {
  background-color: #ffffff;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--bs-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f1f3f5;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--bs-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background-color: #f8f9fa;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* Adjust if content is longer */
  padding: 20px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: var(--bs-dark);
  font-size: 1rem;
}


.form-container {
  max-width: 600px;
  margin: 4em auto 0;
  width: 100%;
}

.form-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, var(--bs-primary), #2D5F94);
  color: white;
  padding: 30px;
  text-align: center;
}

.form-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.form-header p {
  margin: 10px 0 0;
  opacity: 0.95;
  font-size: 1.05rem;
}

.form-body {
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--bs-dark);
  font-size: 0.95rem;
}

.required::after {
  content: " *";
  color: var(--bs-danger);
}

select,option,
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--bs-primary);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background-color: white;
}

select:focus,option:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--bs-primary);
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background-color: var(--bs-secondary);
  color: var(--bs-primary);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .form-body {
    padding: 30px 20px;
  }

  .form-header {
    padding: 25px;
  }

  .form-header h1 {
    font-size: 1.5rem;
  }
}


footer {
  display: flex;
  flex-direction: row;
  margin: 10px auto;
  align-items: center;
  justify-content: center;
}

footer a, footer a:hover,  footer a:visited {
  color: white;
  margin-right: 10px;
}

.footer-links {
  margin: 0 50px;
}

header .mobile .cta__link {
  display: none;
}

@media (max-width: 1140px) {

  .container {
    grid-template-rows: 80px 1fr 50px;
  }

  header {
    padding: 0 10px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    box-sizing: border-box;
    flex-direction: row;
  }

  .logo img {
    height: 55px;
    float: left;
  }

  header .mobile .cta__link {
    display: block;
    font-size: 1rem;
  }
  header .mobile .cta__link span {
    vertical-align: middle;
  }
}


/*.team-image {*/
/*  flex: 1;*/
/*  min-width: 0;*/
/*  position: relative;*/
/*  overflow: hidden;*/
/*  background: linear-gradient(135deg, var(--bs-primary), var(--finance-blue));*/
/*}*/

/*.team-image img {*/
/*  width: 240px;*/
/*  height: auto;*/
/*  max-width: 80%;*/
/*  object-fit: cover;*/
/*  transition: transform 0.5s ease;*/
/*}*/

/*.team-card:hover .team-image img {*/
/*  transform: scale(1.08);*/
/*}*/

/*.team-content {*/
/*  flex: 1;*/
/*  padding: 48px;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  justify-content: center;*/
/*  border-left: 5px solid var(--finance-blue);*/
/*}*/

/*.team-content h3 {*/
/*  font-size: 1.8rem;*/
/*  font-weight: 600;*/
/*  color: var(--finance-blue);*/
/*  margin-bottom: 8px;*/
/*}*/

/*.team-content .role {*/
/*  font-size: 1.2rem;*/
/*  font-weight: 500;*/
/*  color: var(--bs-primary);*/
/*  margin-bottom: 20px;*/
/*}*/

/*.team-content p {*/
/*  color: var(--bs-gray);*/
/*  margin-bottom: 32px;*/
/*  flex-grow: 1;*/
/*}*/

/*.contact-info p {*/
/*  margin-bottom: 10px;*/
/*  font-size: 0.95rem;*/
/*  color: var(--bs-gray);*/
/*}*/

/*.contact-info a {*/
/*  color: var(--finance-blue);*/
/*  text-decoration: none;*/
/*  transition: color 0.3s ease;*/
/*}*/

/*.contact-info a:hover {*/
/*  color: var(--bs-primary);*/
/*}*/

/*.contact-info i {*/
/*  color: var(--bs-primary);*/
/*  margin-right: 10px;*/
/*  width: 18px;*/
/*  text-align: center;*/
/*}*/

/*!* Mobile responsiveness *!*/
/*@media (max-width: 768px) {*/
/*  .team-card {*/
/*    flex-direction: column;*/
/*  }*/

/*  .team-image {*/
/*    height: 280px;*/
/*  }*/

/*  .team-content {*/
/*    padding: 40px;*/
/*    border-left: none;*/
/*    border-top: 5px solid var(--finance-blue);*/
/*  }*/

/*  .team-content h3 {*/
/*    font-size: 1.6rem;*/
/*  }*/
/*}*/

/*@media (max-width: 480px) {*/
/*  .team-content {*/
/*    padding: 32px 24px;*/
/*  }*/

/*  .team-content h3 {*/
/*    font-size: 1.5rem;*/
/*  }*/
/*}*/


/* Individual team member row */
.team-member {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  background: white;
  border-radius: 12px;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-4px);
  /*box-shadow: 0 16px 32px rgba(0, 48, 135, 0.12);*/
}

.team-image {
  flex: 0 0 150px;          /* Fixed 150px width */
  height: 100%;
  border-radius: 24px;        /* Circular headshot */
  overflow: hidden;
  border: 4px solid var(--finance-blue);
  margin-right: 32px;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-member:hover .team-image img {
  transform: scale(1.1);
}

.team-description {
  flex: 1;                   /* Takes the remaining space */
  display: flex;
  flex-direction: column;
}

.team-description .title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--finance-blue);
  margin-bottom: 8px;
}

.team-description .role {
  font-size: 1rem;
  color: var(--bs-primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.team-description .desc {
  margin-bottom: 20px;
  flex-grow: 1;
}

.team-description .contact {
  font-size: 1.2rem;
}

.team-description .contact a {
  color: var(--finance-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.team-description .contact a:hover {
  color: var(--bs-primary);
}

.team-description .contact span {
  color: var(--bs-primary);
  margin-right: 8px;
}

/* Responsive: stack vertically on mobile */
@media (max-width: 768px) {
  .team-member {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }

  .team-image {
    margin-right: 0;
    margin-bottom: 14px;
    aspect-ratio: 0.6;
  }
}

@media (max-width: 480px) {
  .team-image {
    flex: 0 0 120px;
    height: 120px;
  }

  .team-description .title {
    font-size: 1.25rem;
  }
}


.team-description .contact svg {
  width: 1em;           /* Scales with font size */
  height: 1em;          /* Matches line height */
  margin-right: 0.5em;  /* Space between icon and text */
  color: var(--bs-primary);
  /*vertical-align: -0.125em;  !* Slight adjustment for perfect baseline alignment *!*/
  flex-shrink: 0;       /* Prevents shrinking in flex contexts */
}

.team-section .content-block {
  background: white;
}

@media(max-width: 768px) {
  ul, ol {
    list-style-type: none !important;
  }

  .content-block {
    margin-left: -1em;
    margin-right: 0.5em;
    padding-right: 3em;
  }

}



/*.form-message {*/
/*  margin-top: 15px;*/
/*  padding: 10px;*/
/*  border-radius: 4px;*/
/*  font-size: 14px;*/
/*!*}*!*/
/*.form-message.success {*/
/*  color: var(--bs-success);*/
/*  border: 1px solid #c3e6cb;*/
/*}*/
/*.form-message.error {*/
/*  color: var(--bs-danger);*/
/*  border: 1px solid #f5c6cb;*/
/*}*/

#formHeader {
  transition: background-color 0.3s ease;

}
.form-header.success {
  background: linear-gradient(135deg, var(--bs-success), var(--bs-secondary));
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.form-message {
  transition: opacity 0.3s ease;
}


.form-header.error {
  background: linear-gradient(135deg, var(--bs-danger), var(--bs-dark));
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


/* Professional pop-in animation for hero slogan */
@keyframes popIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.05); /* Slight overshoot for pop effect */
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero__slogan {
  margin: 0.25em auto 1em;
}

.hero__slogan_1 {
  animation: popIn 1.7s ease-out;
}

.hero__slogan_2 {
  animation: popIn 1.7s ease-out 0.4s both; /* Staggered delay */
}

.hero__slogan_3 {
  animation: popIn 1.7s ease-out 0.7s both; /* Further staggered delay */
}

.references .card-wrapper {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

.references .card-wrapper .card {
  padding: 0;
  text-align: left;
}

.references .card-wrapper .card .card__title em {
  font-size: 0.8em;
}


.references .card-wrapper .card .card__text {
  max-width: 80%;
  padding-bottom: 2em;
  text-align: center;
  font-style: italic;
  font-size: 1em;
}

@media (max-width: 768px) {
  .references .card-wrapper {
    padding: 32px 0;
    grid-template-columns: minmax(140px, 0.9fr);
    grid-template-rows: repeat(auto-fit, minmax(140px, 1fr));
    align-content: center;
  }

  .references .card-wrapper .card {
    padding: 0 20px;
  }

  .references .card-wrapper .card h4, .references .card-wrapper .card h3 {
    font-size: 1.2rem;
  }

  .references .card-wrapper .card .card__text {
    max-width: 90%;
  }
}


.hamburger {
  display: none; /* Hidden by default (desktop) */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--bs-primary); /* Adjust color to match your theme */
  font-size: 24px;
}


/*!* Mobile menu styles *!*/
@media (max-width: 1140px) {
  .hamburger {
    display: block; /* Show on mobile */
    width: 48px;
    height: 48px;
  }
}


/* Mobile menu overlay (backdrop) */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent backdrop to block content */
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile menu panel (slides in from left) */
.mobile-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px; /* Fixed width for the sliding panel */
  height: 100%;
  background: #fff;
  transform: translateX(-100%); /* Start off-screen */
  transition: transform 0.3s ease;
  padding: 0 20px 20px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.mobile-menu-overlay.active .mobile-menu {
  transform: translateX(0); /* Slide in */
}

/* Close button */
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 0 15px 15px;
  font-size: 24px;
  color: var(--bs-primary);
  /*position: absolute;*/
  width: 36px;
  height: 36px;
}

.mobile-menu img {
  max-width: 80%;
}

.mobile-nav {
  margin: 0 auto;
  text-align: left;
}

/* Mobile nav styles */
.mobile-nav .mobile-menu-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--bs-primary);
}


.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.mobile-nav li {
  margin: 15px 0;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--bs-primary);
  font-size: 20px;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--bs-dark); /* Example hover color; adjust to match theme */
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}


.menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
}

.menu-row {
  display: flex;
  justify-content: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary {
  color: var(--bs-primary);
}

.secondary {
  color: var(--bs-secondary);
}


.main-content.slim h1 {
  margin-bottom: -0.5em;
}

h2 small {
  font-size: 0.7em;
}
