@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..600;1,9..40,100..600&family=Inter:ital,opsz,wght@0,14..32,100..600;1,14..32,100..600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Radley:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400&display=swap');

* {
  box-sizing: border-box;
}

:root {
  /* font-size: calc(1rem + 0.3vw); */
  font-size: clamp(100%, 1rem + 0.2vw, 20px);
  --color-light: #ffffff;
  --color-dark: #193a56;
  --testimonial-bg: rgb(91, 141, 83);
  --border-thin: 0.25px;
  --text-padding: 1rem;
  --link-color: #000000;
}

/* Set the font family of body and a fixed width */
body {
  font-family: 'DM Sans', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
}

a {
  text-decoration: none;
  color: #fdfafa;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul {
  padding-inline-start: 0;
}

li {
  list-style-type: none;
}

#top-quote-container, #top-quote {
  text-align: center;
  padding-bottom: 0px;
}

#about, #approach, #welcome {
  font-size: 1.2rem;
}

#insights {
  margin-bottom: 0px !important;
  width:100%;
}

#mission {
  /* cool gradient from edge to edge */
  color: var(--color-light);
  background: rgb(2,0,36);
  background-image:linear-gradient(180deg, rgba(26, 33, 45, 0.7) 1%, rgba(36, 48, 66, 0.74) 15.14%, rgba(46, 64, 88, 0.79) 29.29%, rgba(55, 80, 112, 0.83) 43.43%, rgba(62, 97, 138, 0.87) 57.57%, rgba(67, 115, 166, 0.91) 71.71%, #4299e1 100%), linear-gradient(56deg, #a0aec0 0%, #97b3c8 14.29%, #90b7cb 28.57%, #87bccc 42.86%, #7dc1cd 57.14%, #71c6cc 71.43%, #4fd1c5 100%), linear-gradient(209deg, #22543d 0%, #235a26 14.29%, #445a25 28.57%, #575b27 42.86%, #695b29 57.14%, #7c5a2b 71.43%, #c53030 100%);
}

#mission > * {
  font-size: calc(1rem + 0.3vw) !important;
}

.pill > li {
  background-color:rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  border-color: white;
  border-width: 1px;
  border-style: solid;
  padding: 0px 10px;
  margin: 10px;
}

.contactpill {
  /* background-color: var(--testimonial-bg); */
  font-family: 'DM Sans', Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  border-radius: 50px;
  border-color: white;
  border-width: 1px;
  border-style: solid;
  padding: 10px 10px;
  margin: 5px;
  text-align: center;
}

.contactpill-text {
  display: block;
  border-radius: 50px;
  border-color: var(--color-dark);
  border-width: 1px;
  border-style: solid;
  padding: 10px 10px;
  margin: 5px;
  text-align: center;
}

.footer-pill {
  background-color: var(--testimonial-bg);
  border-radius: 50px;
  border-color: white;
  border-width: 1px;
  border-style: solid;
  padding: 10px 20px;
  margin: 10px;
}

.menu-items li {
  font-size: 1.2rem;
  font-weight: bold;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
  display: inline;
  padding: 0px 12px;
  margin: 0px;
  color: #fdfafa;
  text-decoration: none;
}

.menu-items {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: right !important;
}

.top-cluster {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space, 0.5rem);
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
}

.top-cluster img {
  height: 60px;
  width: 100px;
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  margin: 5px;
}

.logo-items {
  list-style-type: none;
  display: inline;
  padding: 10px;
  margin: 10px;
}

.logo-items > li > img {
  height: 50px;
}

.footer {
  background-color: var(--color-dark);
  color: #ffffff;
  padding: 1rem !important;
  position: relative;
  width: 100%;
}

.footer > div {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.footer-items {
  display: inline;
  padding: 10px;
}

.copyright {
  font-size: 0.8rem;
  color: rgb(105, 104, 104);
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url("3962w.jpeg");
  height: 90vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  top: 0;
}

/* Place text in the middle of the image */
.hero-text {
  font-family: 'Bodoni Moda', Helvetica, Arial, sans-serif;
  text-align: left;
  position: absolute;
  bottom: 5%;
  left: 5%;
  /* transform: translate(-32%, -50%); */
  color: white;
  font-size: calc(0.7rem + 0.5vw);
}

.hero-text h1 {
  margin: 0.2rem;
}

.waterfall-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("waterfallcoverphoto.jpg");
  /* height: 50vh; */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.scale-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url("aurora.jpg");
  height: 50vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  color: white;
}

.gradient-fade {
  height: 200px;
  background-image: linear-gradient(
    180deg,
    rgba(5, 2, 19, 0.3) 0%,
    rgba(41, 21, 119, 0.2) 35%,
    rgba(83, 49, 156, 0.1) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  position: absolute;
  top: calc(90vh - 0vh);
  left: 0;
  right: 0;
  z-index: 1;
}

.card-text {
  padding: var(--text-padding);
  padding-top: 0;
  font-weight: bold;
  position: relative;
  /* min-height: 100%; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.link-text {
  color: var(--link-color) !important;
  font-weight: normal;
  font-variant-caps: all-small-caps;
  margin-top: auto;
  position: absolute;
  bottom: 5px;
  left: var(--text-padding);
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.wrapper {
  border-width: var(--border-thick);
  border: var(--border-thick) solid;
  padding: var(--padding);
}

.testimonial {
  /* background-color: var(--testimonial-bg); */
  transition: height 1s ease-in-out;
  padding-top: 2em !important;
  padding-bottom: 2em !important;
}

.testimonial > * {
  color: white;
  text-align: center;
  padding-left: 4em;
  padding-right: 4em;
  font-size: calc(0.8rem + 0.5vw);
}

.testimonial .stack {
  min-height: calc(500px - 12vw);
}

.testimonial-nav-center {
  box-sizing: content-box;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80ch;
  padding-top: 0em;
  padding-bottom: 0em;
  position: absolute;
  left: calc(50% - 82px);
  bottom: 0;

}

.testimonial-nav-left {
  color: white;
  box-sizing: content-box;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80ch;
  padding-top: 0em;
  padding-bottom: 0em;
  position: absolute;
  left: 0;
  bottom: calc(50% - 40px);
}

.testimonial-nav-right {
  color: white;
  box-sizing: content-box;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80ch;
  padding-top: 0em;
  padding-bottom: 0em;
  position: absolute;
  right: 0px;
  bottom: calc(50% - 40px);
}

.testimonial-text {
  text-align: center;
  position: absolute;
  top: 87%;
  left: 41%;
  transform: translate(-32%, -50%);
  color: white;
  font-size: calc(1rem + 0.5vw);
}

#quote-text, #quote-who {
  opacity: 0; /* Start at 0 opacity */
  transition: opacity 1s ease-in-out;
}

.box {
  border-color: var(--color-dark);
  outline-color: var(--color-dark);
  outline-style: solid;
  outline-width: var(--border-thin);
  position: relative;
}

.box * {
  color: inherit;
}

.box.invert {
  color: var(--color-light);
  background-color: var(--color-dark);
  font-size: x-large;
  outline-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.3em;
}

.box.light {
  color: var(--color-dark);
  background-color: var(--color-light);
  outline-width: 0;
  }

.box.dark {
  color: var(--color-light);
  background-color: var(--color-dark);
}

.truncated > * {
  display: none;
}

.truncated > p:first-child,
.truncated > p:nth-child(2),
.truncated > p:nth-child(3) {
  display: block;
}

/* Style the More button */
.truncated > .more-button {
  display: block;
  border-radius: 50px;
  border-color: var(--color-dark);
  border-width: 1px;
  border-style: solid;
  padding: 10px 10px;
  margin: 5px;
  text-align: center;
}

.stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  --space: 1rem;
}

.stack > * + * {
  margin-top: var(--space);
}

.center {
  box-sizing: content-box;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80ch;
  padding-top: 1em;
  padding-bottom: 1em;
  /* ↓ Intrinsic Centering: That is, centering elements based on their natural, content-based widths. */
  /* display: flex;
  flex-direction: column;
  align-items: center; */
  /* ↓ Gutters (i.e. 1em) */
  /* padding-left: 1em;
  padding-right: 1em; */
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space, 0.5rem);
  justify-content: flex-start;
  align-items: center;
}

.logo-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space, 2rem);
  justify-content: center;
  align-items: center;
}

/* ↓ targets the intermediary wrapper */
.sidebar {
  overflow: hidden;
  --space: 1em;
  --side-width: 15rem;
  --content-min: 50%;
}

.sidebar > * {
  display: flex;
  flex-wrap: wrap;
  margin: calc((var(--space) / 2) * -1);
}

.sidebar > * > * {
  flex-basis: var(--side-width);
  flex-grow: 1;
  /* ↓ applies to both elements */
  margin: calc((var(--space) / 2));
}

/* ↓ if is a right sidebar (side: right) -> :first-child */
.sidebar > * > :last-child {
  /* ↓ grow from nothing */
  flex-basis: 0;
  flex-grow: 999;
  min-width: calc(var(--content-min) - var(--space));
}

.switcher {
  --threshold: 30rem;
  --space: 1rem;
  --large: calc(1 + 7 / 10);
}

.switcher > * {
  display: flex;
  flex-wrap: wrap;
  /* ↓ Multiply by -1 to make negative */
  margin: calc(var(--space) / 2 * -1);
}

.switcher > * > * {
  flex-grow: 1;
  flex-basis: calc((var(--threshold) - (100% - var(--space))) * 999);
  /* ↓ Half the value to each element, combining to make the whole */
  margin: calc(var(--space) / 2);
}

/* .switcher > * > :nth-child(1) {
  flex-grow: var(--large);
} */

.switcher > * > :nth-last-child(n + 4),
.switcher > * > :nth-last-child(n + 4) ~ * {
  flex-basis: 100%;
}

.cover {
  display: flex;
  flex-direction: column;
  /* min-block-size: 40vh; */
  padding: 1rem;
  margin: 2rem 0;
  transition: height 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  opacity: 0;
}

.cover > * {
  margin-block: 0rem;
  max-width: 900px;
}

.cover > :first-child:not(h1) {
  margin-block-start: 0;
}

.cover > :last-child:not(h1) {
  margin-block-end: 0;
}

.cover > h1 {
  margin-block: auto;
}
.cover[data-visible="true"] {
  opacity: 1;
}

#welcome-container, #welcome {
  padding-top: 0;
  padding-bottom: 0;
}

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

@supports (width: min(300px, 100%)) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  }
}

.frame {
  --n: 16;
  --d: 9;
  aspect-ratio: var(--n) / var(--d);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.frame > img,
.frame > video, 
.frame > iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel {
  display: flex;
  block-size: auto;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #fff #000;
}

.reel::-webkit-scrollbar {
  block-size: 1rem;
}

.reel::-webkit-scrollbar-track {
  background-color: #000;
}

.reel::-webkit-scrollbar-thumb {
  background-color: #000;
  background-image: linear-gradient(#000 0, #000 0.25rem, #fff 0.25rem, #fff 0.75rem, #000 0.75rem);
}

.reel > * {
  flex: 0 0 auto;
}

.reel > img {
  block-size: 100%;
  flex-basis: auto;
  width: auto;
}

.reel > * + * {
  margin-inline-start: 1rem;
}

.reel.overflowing {
  padding-block-end: 1rem;
}

.shadow {
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.2s ease-in-out;
}

/* .shadow:hover {
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.6);
} */

table {
  border-collapse: collapse;
  width: 100%;
}

td {
  /* border-right: 1px solid #dddddd; */
  border-left: 1px solid #dddddd;
  padding-bottom: 4px;
  padding-left: 4px;
  padding-right: 16px;

}

th {
  /* border-right: 1px solid #dddddd; */
  border-left: 1px solid #dddddd;
  padding-bottom: 8px;
  padding-left: 4px;
  padding-right: 16px;
  text-align: left;
}

.logo-heading {
  font-variant-caps: all-small-caps;
  padding-bottom: 0px;
}

.logo-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    max-width: none;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);

}

.logo-cluster {
    display: flex;
    animation: scroll 25s linear infinite;
    width: max-content;
}

.logo-items {
    flex-shrink: 0;
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
}

.logo-items li {
    max-width: 150px; 
}

.logo-items img {
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-transform: translateZ(0);
}

.cert-cluster {
    display: flex;
}

.cert-items {
    flex-shrink: 0;
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
}

.cert-items li {
    max-width: 120px; 
}

@keyframes scroll {
  0% { 
      transform: translateX(calc(0%));
  }
  100% { 
      transform: translateX(calc(-50% - 1rem)); /* Half of total width plus half of gap */
  }
}

header {
  --thickness: 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  /*
    Very opaque, for unsupported browsers.
    Overwritten in the feature queries below.
  */
  background: hsl(0deg 0% 100% / 0.95);
}

.header-content {
  position: relative;
  z-index: 3; /* Higher than the backdrop */
}

/*
  This code gets applied for folks using
  browsers that support backdrop-filter.
*/
@supports
  (backdrop-filter: blur(16px)) or
  (-webkit-backdrop-filter: blur(16px))
{
  header {
    background: hsla(0, 0%, 36%, 0);
  }

  .backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    /*
      These prefixed properties are usually
      added automatically by tooling:
    */
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: linear-gradient(
      to bottom,
      hsl(0deg 0% 95%),
      transparent 0%
    );
    pointer-events: none;
  }

  .backdrop-edge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--thickness);
    background: hsl(0deg 0% 100% / 0.1);
    -webkit-backdrop-filter: blur(12px) brightness(0.96);
    backdrop-filter: blur(12px) brightness(0.96);
    transform: translateY(100%);
    pointer-events: none;
  }
}

/*
  This code gets applied for folks using
  browsers that support mask-image. This
  adds the "consider near elements"
  optimization discussed in this article.
*/
@supports
  (mask-image: none) or
  (-webkit-mask-image: none)
{
  .backdrop {
    height: 200%;
    z-index: 1;
    -webkit-mask-image: linear-gradient(
      to bottom left,
      black 0% 20%,
      transparent 40% 0%
    );
    mask-image: linear-gradient(
      to bottom left,
      black 0% 20%,
      transparent 40% 0%
    );
  }
  .backdrop-edge {
    height: 100%;
    inset: 0;
    -webkit-mask-image: linear-gradient(
      to bottom,
      black 0,
      black var(--thickness),
      transparent var(--thickness)
    );
    mask-image: linear-gradient(
      to bottom,
      black 0,
      black var(--thickness),
      transparent var(--thickness)
    );
  }
}
