* {
  box-sizing: border-box;
}

body {
  font-family: Helvetica Neue Bold, Helvetica Neue, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: #f6f6f6 !important;
  color: #333;
  font-size: 18px;
  letter-spacing: 0.8px;
}

div {
  display: inline-block;
}

#nav-menu-wrapper {
  position: fixed;
  width: 100%;
  max-width: 900px;
  top: 0;
  height: 50px;
  text-align: center;
  z-index: 9;
  padding: 0;
  text-align: right;
  display: inline-block;
}

#menu-trigger {
  display: inline-block;
}

#popout-menu {
  text-align: left;
  padding: 10px 0px 10px 0px;
  font-size: 17px;
  top: 0;
  right: 0;
  width: 100%;
  background: #f0f0f0;
  z-index: 10;
  display: none;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px 0px;
}

#popout-menu a {
  text-decoration: none;
}

#navMenu {
  margin-top: 0px;
  margin-bottom: 0px;
}

#navMenu ul {
  list-style-type: none;
  margin-top: 0px;
}

.content {
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  padding-left: 24px;
  margin-top: 20px;
  margin-bottom: 2px;
}

h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

div.section, section.section {
  text-align: left;
  margin-bottom: 20px;
  width: 100%;
  vertical-align: text-top;
}

div.section header, section.section header {
  padding: 0px 24px 15px 24px;
  font-size: 24px;
  font-weight: bold;
  width: 100%;
}

div.section-body, section.section-body {
  padding: 0px 24px 6px 24px;
  font-size: medium;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px 0px;
  width: 100%;
}

p {
  line-height: 30px;
}

span {
  line-height: 30px;
}

ul {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
  line-height: 32px;
}

ul li {
  padding-left: 1.3em;
  position: relative;
  margin-bottom: 5px;
}

#executive-snapshot-list li {
  margin-bottom: 3px;
}

.section ul li::before {
  content: "\2022";
  position: absolute;
  left: 6px;
  color: rgb(193, 193, 193);
}

hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

div.download-button {
  border-radius: 6px;
  margin-top: 30px;
  padding: 5px 10px 5px 10px;
  margin-bottom: 20px;
  background-color: rgb(211, 211, 211);
  font-size: 18px;
}

#download-cloud {
  height: 40px;
  width: auto;
}

div.download-button a:link {
  text-decoration: none;
}

a {
  color: #3c4550;
}

a:visited {
  text-decoration: none;
  color: #3c4550;
}

a:hover {
  text-decoration: none;
  color: #3c4550;
}

a:active {
  text-decoration: none;
}

div.certs img {
  width: 11%;
  height: auto;
  margin: 10px 3px 10px 3px;
}

.collapsible {
  cursor: pointer;
  padding: 4px;
  width: 100%;
  /* border: none; */
  /* text-align: left; */
  /* outline: none; */
  /* font-size: 15px; */
}

.active, .collapsible:hover {
  background-color: #f0f0f0;
}

.content-wrapper {
  display: none;
  overflow: hidden;
}

.arrow-right {
  display: inline-block;
  margin-left: 5px;
  transform: rotate(0deg);
  transition: transform 0.3s;
}

.arrow-down {
  transform: rotate(90deg);
}

.carousel {
  display: block;
  margin-top: 12px;
}

.carousel div {
  display: flex;
}

.carousel-cell {
  /* display: flex; */
  align-items: center;
  margin-right: 34px;  /* Space between cells */
  overflow: hidden; /* Keeps images within the cell dimensions */
  /* display: block; */
  /* border: 1px solid black; */
  height: 50px;
  /* width: 180px; */
  /* align-items: center; */
  text-align: center;
  justify-content: center; 
  margin-bottom: 7px;
}

.carousel-cell img {
  max-width: 180px;
  transition: filter 0.3s ease;
  filter: grayscale(100%) brightness(120%);
}

.carousel-cell img:hover,
.carousel-cell img.is-center {
  filter: none; /* Original colors */
}

/* ================================
   iFrame
=================================== */
iframe {
  width: 100%;
  height: 500px;
  border: none;
  padding-top: 10px;
  padding-bottom: 10px;
}

.video-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.video-container iframe {
  width: 100%;
  height: 500px; /* adjust as needed */
  border: none;
}

.flag-buttons {
  position: absolute;
  bottom: 30px;   /* 👈 changed from top to bottom */
  right: 20px;
  display: flex;
  gap: 10px;
}

.flag-buttons button {
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 2px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.flag-buttons button:hover {
  opacity: 1;
}

.flag-buttons img {
  width: 30px;
  height: 22px;
  display: block;
}

.flyer-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,.88);
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.flyer-modal.show {
    display: flex;
}

.flyer-image {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0,0,0,.5);
}

.flyer-close {
    position: absolute;
    top: 18px;
    right: 28px;
    font-size: 42px;
    color: white;
    cursor: pointer;
    user-select: none;
}

.flyer-image{
    max-width:95vw;
    max-height:95vh;
    border-radius:8px;
    transform:scale(.92);
    opacity:0;
    transition:.25s ease;
}

.flyer-modal.show .flyer-image{
    transform:scale(1);
    opacity:1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.85);

    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 92%;
    max-height: 92%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,.45);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 28px;
    color: white;
    font-size: 42px;
    cursor: pointer;
    user-select: none;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;               /* Space between tags */
    margin-top: 12px;
}

.tags span {
    display: inline-flex;
    align-items: center;
    padding: 0px 10px;
    border-radius: 3px;    /* Makes perfect pills */
    background: #eef4ff;
    color: #7c89b0;
    border: 1px solid #c7d8ff;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: nowrap;
    transition: all .2s ease;
}

.tags span:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}