/* Import the Outfit font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {

	/* Font Family */
	--global--font-primary: "Outfit", sans-serif;
  	--global--font-secondary: "Outfit", sans-serif;
  	--font-headings: "Outfit", sans-serif;
  	--font-base: "Outfit", sans-serif;

	/* Colors */
	--global--color-7: #4E6986;
	--global--color-6: #587491;
	--global--color-5: #ABB9C8;
	--global--color-4: #D4DBE3;
	--global--color-3: #E5E9EE;
	--global--color-2: #F2F4F6;
	--global--color-1: #ffffff;
	
	/* Site Layout */
	--global--spacing-horizontal: 2rem; /* side padding */
 	--content--max-width: 1200px;       /* same as alignwide width */
}

@media (max-width: 768px) {
  .site-logo--large {
    display: none;
  }
}

body {
  font-family: var(--global--font-primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
}


/* Button */
button {
  background: var(--global--color-7);
  border: 2px none ;
	color: #fff;
  border-radius: 24px;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
}


/* === Base Layout === */
:root {
  --content--max-width: 1200px;
  --spacing--horizontal: 2rem;
  --spacing--vertical: 2rem;
  --header--height: 90px;
  --footer--padding: 3rem;
  --font-family-base: "Outfit", sans-serif;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-base);
  line-height: 1.6;
  background: #fff;
  color: #222;
}

/* === Header === */
.site-header {
  background: var(--global--color-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
	padding-left: 8rem;
	padding-right: 8rem;
  height: var(--header--height);
}

/* Logo area (left) */
.site-header .site-branding {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
}

/* Navigation area (right) */
.site-header .primary-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  margin: 0;
  color: var(--global--color-6);
}

/* Keep logo from stretching */
.site-logo img,
.custom-logo {
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Navigation layout */
.primary-navigation ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

/* Menu links: exact text width, full header height, blue text */
.primary-navigation a {
  position: relative;
  display: flex;                    /* vertical centering */
  align-items: center;
  height: var(--header--height);    /* full header height */
  line-height: 1;
  padding: 0;                       /* width == text width */
  text-decoration: none;
  color: var(--global--color-6);
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}
.primary-navigation a:hover,
.primary-navigation a:focus {
  color: var(--global--color-7);    /* optional hover text color */
}
/* Keep menu items inline with spacing between their boxes */
.primary-navigation ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;      /* distance between the “boxes” (anchors) */
  margin: 0;
  padding: 0;
}

/* Animated bottom progress bar */
.primary-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;                          /* bottom border */
  height: 3px;                        /* thickness of the bar */
  width: 100%;
  background: var(--global--color-7); /* blue bar */
  transform: scaleX(0);
  transform-origin: left center;      /* grow L→R */
  transition: transform 300ms ease;
}

/* On hover/focus: grow the bar to full width */
.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
  transform: scaleX(1);
}

/* Keep underline for current page */
.primary-navigation .current-menu-item > a::after,
.primary-navigation .current-page-ancestor > a::after {
  transform: scaleX(1);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .primary-navigation a::after {
    transition: none;
  }
}


/* === Footer === */
.site-footer {
  background: var(--global--color-6);
  color: #fff;
  font-family: var(--global--font-primary);
}

/* --- Main footer area --- */
.footer-main {
  max-width: var(--content--max-width);
  margin: 0 auto;
  padding: var(--footer--padding) var(--global--spacing-horizontal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer23{
	max-width: var(--content--max-width);
}

/* Left logo (1/3) */
.footer-logo {
  flex: 1 1 33%;
  display: flex;
  align-items: center;
}

.footer-logo img {
  object-fit: contain;     
  display: inline-block;
  vertical-align: middle;
}

/* Right content (headline top, text left, button right) */
.footer-content {
  flex: 1 1 67%;
  display: grid;
  grid-template-columns: 1fr auto; /* text | button */
  grid-template-rows: auto 1fr;    /* h3 | (p + button row) */
  align-items: center;             /* vertically center p + button */
  gap: 1rem 1rem;
  text-align: left;
}

.footer-content h3 {
  grid-column: 1 / -1;   /* span both columns */
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.footer-content p {
  grid-column: 1 / 2;    /* left column */
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  margin: 0;
  max-width: 500px;
  width: auto !important;        /* override the inline width="200%" */
  text-align: left !important;   /* ensure left-aligned like the heading */
}

.footer-button {
  grid-column: 2 / 3;    /* right column */
  align-self: start;     /* align to top of the row */
  background: var(--global--color-7);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 0.6rem 1.4rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}
.footer-button:hover {
  background: var(--global--color-1);
  color: var(--global--color-6);
}

/* --- Bottom stripe --- */
.footer-bottom {
  background: var(--global--color-7);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 1rem var(--global--spacing-horizontal);
  font-size: 0.9rem;
}

.footer-legal a {
  color: var(--global--color-2);
  text-decoration: none;
  margin-left: 1rem;
}

.footer-legal a:hover {
  color: var(--global--color-1);
}

/* --- Responsive behavior --- */
@media (max-width: 1024px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-logo {
    flex: none;
  }

  .footer-content {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .footer-content h3,
  .footer-content p {
    max-width: none;
  }

  .footer-button {
    align-self: flex-start;
  }
}

@media (max-width: 700px) {
  .footer-content {
    grid-template-columns: 1fr;   /* single column */
    grid-template-rows: auto auto auto;
  }
  .footer-button {
    grid-column: 1 / -1;
    justify-self: start;          /* left-aligned under the text */
    margin-top: 0.5rem;
  }
}

@media (max-width: 600px) {
  .footer-main {
    padding: 2rem var(--global--spacing-horizontal);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-legal a {
    margin: 0 0.5rem;
  }
}

/* === Navigation Menu Button === */
#primary-mobile-menu {
  display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
  #primary-mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    background: var(--global--color-6);
    color: #fff;
  }

  /* Hide normal desktop menu on mobile */
  .primary-navigation .primary-menu-container {
    display: none;
  }
}

:root {
  --header--height-large: 90px;
  --header--height-small: 64px;
}

/* Sticky + smooth height transition */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--header--height-large);
  background: var(--global--color-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.25s ease;
}

/* Shrink on scroll */
body.header-shrink .site-header {
  height: var(--header--height-small);
}

/* Menu height adjusts so underline stays aligned */
.primary-navigation a {
  height: var(--header--height-large);
  transition: height 0.25s ease;
}
body.header-shrink .primary-navigation a {
  height: var(--header--height-small);
}

/* Logo behavior */
.site-logo-link {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

.site-logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 64px;
  object-fit: contain;
  position: absolute;
  left: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Default state (large logo visible) */
.site-logo--large {
  opacity: 1;
  transform: translateY(0);
}
.site-logo--small {
  opacity: 0;
  transform: translateY(-6px);
}

/* Sticky state (swap logos) */
body.header-shrink .site-logo--large {
  opacity: 0;
  transform: translateY(6px);
}
body.header-shrink .site-logo--small {
  opacity: 1;
  transform: translateY(0);
  position: static;
  max-height: 48px;
}

