/* Site Header */
#site-header {
  box-sizing: border-box;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

/* Navigation styles */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  
  
  /* Match app's blue color */
  color: white;
  z-index: 1000;
  font-family:'Public Sans', sans-serif;
  scrollbar-gutter: stable;
}

/* Navigation text styles */
.site-header a,
.site-header__logo,
.site-header__logo-text,
.site-header__nav-link-item a,
.site-header__nav-link-item--large a {
  color: white;
}

.site-header__wrapper {
  box-sizing: border-box;
  margin: 0 auto;
  scrollbar-gutter: stable;
  padding: 20px;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  will-change: transform;
  width: 100%;
  transition: background-color 0.5s ease;
  z-index: 2000;
  padding: 20px;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  /*position:absolute;
  top:20px;*/
}

.site-header__logo-mark {
  height: 100px;
  transition: height 1s ease;
}

.site-header__logo-mark.logo-small {
  height: 60px;
}

.site-header__nav--large {
  display: none;

}

.site-header__nav-links--large {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding-right: 15px;
  gap: 1.5rem;
  font-family: 'StabilGrotesk-bold';
  font-size: 18pt;
}

.site-header__nav-link-item--large a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
}

.site-header__nav-link-item--large a:hover {
  border-bottom: 2px solid white;
}

.site-header__nav-link-item--large.current-page a {
  border-bottom: 2px solid white;
}

/* Collapsible nav toggle button */
.site-header__nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 35px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.site-header__nav-toggle-icon,
.site-header__nav-toggle-icon::before,
.site-header__nav-toggle-icon::after {
  display: block;
  width: 35px;
  height: 3px;
  background-color: white;
  position: relative;
  border-radius: 3px;
  transition: all 0.3s linear;
}

.site-header__nav-toggle-icon::before,
.site-header__nav-toggle-icon::after {
  content: "";
  position: absolute;
}

.site-header__nav-toggle-icon::before {
  transform: translateY(-8px);
}

.site-header__nav-toggle-icon::after {
  transform: translateY(8px);
}

/* Toggle button animation */
.site-header__nav-toggle.active .site-header__nav-toggle-icon {
  background: transparent;
}

.site-header__nav-toggle.active .site-header__nav-toggle-icon::before {
  transform: rotate(45deg);
}

.site-header__nav-toggle.active .site-header__nav-toggle-icon::after {
  transform: rotate(-45deg);
}

/* Collapsible navigation menu */
.site-header__nav-wrapper {
  display: block;
  /* Match app's blue color */
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  background-color:var(--color--fas-blue);
  color:white;
}

.site-header__nav--large{
  margin-left: auto;
}

.site-header__nav-wrapper.active {
  max-height: 100vh;
}

.site-header__nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-top:100px;
}

.site-header__nav-link-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__nav-link-item a {
  display: block;
  padding: 1rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.site-header__nav-link-item.current-page a {
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}



header .hamburger-menu.menu-open .site-nav {
  display: block;
}

header .hamburger-menu .site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

header .hamburger-menu .site-nav li {
  padding: 0;
  margin: 0;
}

header .hamburger-menu .site-nav a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--blue);
}

header .hamburger-menu .site-nav a:hover,
header .hamburger-menu .site-nav a.active {
  background-color: #f5f5f5;
  color: var(--red);
}

/* Mobile styles */
@media (max-width: 768px) {
  header .hamburger-menu .site-nav {
    width: 100%;
    max-width: 100vw;
    position: fixed;
    top: 60px;
    /* Adjust based on your header height */
    left: 0;
    right: 0;
    text-align: center;
    box-sizing: border-box;
    overflow-x: hidden;
    z-index: 1000;
    background-color: white;
  }

  header .hamburger-menu .site-nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  header .hamburger-menu .site-nav li {
    margin: 0;
    width: 100%;
  }

  header .hamburger-menu .site-nav a {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Styles for large screens */
@media (max-width: 1250px){
  .site-header__nav-links--large a{
    font-size:20px;
  }
}
@media (max-width: 1195px){
  .site-header__nav-links--large a{
    
    padding-bottom:5px;
    line-height: 25px;
  }
}

@media (max-width: 1100px){
  .site-header__nav-links--large a{
    font-size:16px;
    padding-bottom:5px;
    line-height: 25px;
  }
  .site-header__logo-mark{
    height:80px;
  }
}

@media (max-width: 970px){
  .site-header__nav-links--large a{
    font-size:15px;
    
  }
}


@media (min-width: 910px) {
  .site-header__nav-toggle {
    display: none;
  }

  .site-header__nav--large {
    display: block;
  }

  .site-header__nav-wrapper {
    display: none;
  }
}

/* Make sure hamburger menu is visible on mobile */
@media (max-width: 910px) {
  .site-header__nav-toggle {
    display: flex;
  }

  .site-header__nav--large {
    display: none;
  }
}

.logo-container {
  display: flex;
  align-items: center;
}

#logo {
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Hide the original navigation - we're using the hamburger menu instead */
#site-header>.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  margin: 0 1rem;
}

.site-nav a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
}

.site-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--red);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  #site-header {
    padding: 0.75rem;
  }

  #logo {
    max-height: 40px;
  }

  .site-nav {
    display: none;
    /* Hide navigation on mobile - can be replaced with a mobile menu */
  }
}

#header {
  background: #f5f5f5;
  width: 100%;
  z-index: 0;
  text-align: center;
}

footer{
  width:100%;
}

#citations {
  background-color: var(--color--fas-blue);
  color:white;

  color: var(--color--gray-dark, #484848);
  text-align: center;
  font-size: 0.8em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:25px;
  gap:20px;
}

#citations a {
  color:white;
}

#citations a:hover {
  color:rgb(225, 223, 223);
}

.citation {
  max-width: 1440px;
  margin: 1em auto;
  font-family: 'Public Sans', sans-serif;;
  font-size: 0.8em;
  font-weight: 400;
  color:white;
}

.citation h3 {
  font-weight: 700;
  color:white;
}
.copyright{
  color:white;
}
.footer__img{
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
}
.footer__img img{
  height:40px;
}

.footer__img hr{
  width:1px;
  height:35px;
  border:0px;
  background-color: white;
}



@media(max-width:820px){
    .footer__img img{
    height:35px;
  }
}

@media(max-width:620px){
    .footer__img img{
    height:25px;
  }
}