:root {
  --bg: #0b1020;
  --surf: #ffffff;
  --text: #0e1320;
  --muted: #5b6475;
  --brand: #1f3c88;
  --brand-2: #c7a258;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.08);
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: #f4f6fb;
  line-height: 1.6;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--brand-2);
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  margin: 0;
}

p {
  margin: 0;
  color: var(--muted);
}

.container {
  width: min(92%, 1200px);
  margin-inline: auto;
}

:where(.hero, section, footer)[id] {
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  z-index: 999;
}

.skip-link:focus {
  left: 50%;
  top: 1rem;
  width: auto;
  height: auto;
  transform: translateX(-50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  transition: box-shadow 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 999px;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--brand);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-toggle-line {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.site-nav {
  position: absolute;
  top: calc(var(--header-height) - 0.5rem);
  right: 1rem;
  min-width: min(260px, calc(100vw - 2rem));
  background: var(--surf);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  transform: translateY(-1rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.nav-link:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--brand-2);
  color: #fff;
  outline: none;
}

.hero {
  position: relative;
  min-height: clamp(520px, 70vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.2);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 16, 32, 0.85), rgba(31, 60, 136, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(4rem, 8vw, 6rem);
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 520px;
  display: grid;
  gap: 1.25rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.1;
  color: #fff;
}

.hero-subheading {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  text-align: center;
  min-width: 180px;
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
  border: none;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-2);
  color: #fff;
  transform: translateY(-2px);
}

.button-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.section {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.section-content {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 760px;
  margin-inline: auto;
  line-height: 1.8;
}

.section-content p + p {
  margin-top: 1.25rem;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: var(--surf);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  background: rgba(31, 60, 136, 0.1);
  border-radius: 50%;
}

.card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: var(--brand);
}

.card-title {
  font-size: 1.3rem;
}

.card-text {
  color: var(--muted);
  font-size: 1rem;
}

.cta {
  background: linear-gradient(120deg, var(--brand), rgba(31, 60, 136, 0.85));
  color: #fff;
}

.cta-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.cta-content h2 {
  color: #fff;
  font-size: clamp(2.1rem, 3.5vw, 2.75rem);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.site-footer {
  background: var(--bg);
  color: #fff;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-top {
  display: grid;
  gap: 2.5rem;
}

.footer-column {
  display: grid;
  gap: 1rem;
}

.footer-brand {
  gap: 1.5rem;
}

.footer-brand-copy p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.footer-title {
  color: #fff;
  font-size: 1.6rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-list a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--brand-2);
}

.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.footer-social a,
.footer-social .social-static {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer-social svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.site-logo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
  display: block;
}

.site-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-static span {
  color: rgba(255, 255, 255, 0.85);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

@media (min-width: 680px) {
  .site-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    padding: 0;
    min-width: auto;
    margin-left: auto;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.25rem;
  }

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

  .nav-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

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

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    text-align: left;
  }
}

@media (min-width: 900px) {
  .header-bar { gap: 2rem; }
  .brand-name { font-size: 1.2rem; }

  /* keep your existing rules here... */
  .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-content { padding-block: clamp(5rem, 10vw, 7.5rem); }
}
/* ≥1280px: 4 columns */
@media (min-width: 1280px) {
  .container { width: min(92%, 1280px); }   /* optional wider container */
  .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;                               /* optional tighter gap */
  }
  .card { min-width: 0; }                    /* prevent overflow forcing wrap */
}


@media (max-width: 680px) {
  .site-logo-wrap {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ===== Footer polish – tighter, more aligned ===== */
.site-footer { padding-top: 3rem; padding-bottom: 1.5rem; }

.footer-top {
  row-gap: 1.5rem;            /* less vertical air */
  column-gap: 2rem;           /* closer columns */
  align-items: start;         /* align headings/bullets to the top */
}

.footer-column h3 {
  margin: 0 0 .6rem;          /* tighter heading spacing */
  font-size: 1.05rem;
}

.footer-list { gap: .4rem; }  /* tighter list spacing */
.footer-list li { line-height: 1.5; }

.footer-brand-copy { max-width: 48ch; } /* keep long paragraph from stretching too wide */

.footer-social { gap: .6rem; }
.footer-social a svg { width: 1.25rem; height: 1.25rem; }

/* Optional: subtle vertical separators between columns on desktop */
@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.2fr .9fr .9fr .8fr; /* balances widths */
  }
  .footer-column:not(:first-child) {
    border-left: 1px solid rgba(255,255,255,.08);
    padding-left: 1.25rem;
  }
}

/* Optional: slightly smaller footer copy on wide screens */
@media (min-width: 1280px) {
  .footer-brand-copy p { font-size: .98rem; }
}
/* Footer credit badge */
.footer-bottom__row{
  display:flex;
  align-items:center;
  justify-content:center;   /* centered line */
  gap:.75rem;
  flex-wrap:wrap;
}

.credit-badge{
  display:inline-flex;
  align-items:center;
  opacity:.9;
  transition:opacity .2s ease, transform .2s ease;
}

.credit-badge:hover,
.credit-badge:focus-visible{
  opacity:1;
  transform:translateY(-1px);
  outline:none;
}

/* Tweak the logo size only */
.credit-badge img{
  height:15-21px;              /* try 18–24px if you want bigger/smaller */
  width:auto;
  display:block;
}
details.card summary { cursor: pointer; list-style: none; }
details.card summary::-webkit-details-marker { display: none; }
details.card[open] { box-shadow: var(--shadow); }
/* FAQ accordion */
.faq-accordion {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surf);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  margin-left: auto;
  font-weight: 700;
  color: var(--brand);
  transition: transform .2s ease;
}

.faq-question[aria-expanded="true"]::after {
  content: "–";
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 1.25rem 1rem;
  border-top: 1px solid rgba(15,23,42,.08);
  color: var(--muted);
}

.faq-item[open],
.faq-item:has(.faq-question[aria-expanded="true"]) {
  box-shadow: var(--shadow);
}
/* Partners / logos strip */
.partners {
  background: #fff;
}

.partners .section-sub {
  color: var(--muted);
  margin-top: .5rem;
}

.logo-grid {
  --min: 150px; /* minimum card width per logo */
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  align-items: center;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surf);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.5rem;
  min-height: 96px;
}

.logo-item img {
  max-width: 100%;
  height: auto;
  max-height: 48px;           /* keep a consistent row height */
  filter: grayscale(0%);
  opacity: .95;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.logo-item:hover img,
.logo-item:focus-within img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* tighten on very small screens */
@media (max-width: 480px) {
  .logo-grid { --min: 130px; }
  .logo-item img { max-height: 42px; }
}