html {
  max-width: 100vw;
  overflow-x: hidden;
  min-height: 100%;
}

body {
  background: #131c27;
  margin: 0;
  overflow-x: hidden;
  color: white;
}
.flex-center-image {
  display: flex;          /* Make the container a flex container */
  justify-content: center; /* Center flex items horizontally */
  align-items: center;    /* Optional: Center flex items vertically if container has height */
}
.background {
  position: absolute;
  width: 100vw;
  height: 60vh;
  top: 0;
  left: 0;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.landing-color {
  position: absolute;
  width: 100vw;
  height: 60vh;
  z-index: 0;
  background: linear-gradient(180deg, rgb(45 56 70 / 40%) 58%, #8196a28a 100%);
}

.landing-gradient {
  position: absolute;
  width: 100vw;
  height: 60vh;
  z-index: -1;
  background: linear-gradient(180deg, #0e1724db 80% 58%, #00000099 100%);
}

nav {
  position: absolute;
  width: 99vw;
  height: 77px;
  left: 2vw;
  top: 2vh;
}

li.nav-item.dropdown {
  margin-left: 3vw;
  font-family: "Source Sans Pro", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #ccd0d4
}
a.dropdown-item.active {
  background: linear-gradient(105deg, #5592dc 0%, #343a40 89.44%);
}
.navbar-nav .dropdown-menu {
  position: absolute;
  right: 0px;
}

#navbarNav {
  padding-top: 0 !important;
}

/* Nav link styling */
.navbar-nav > a.nav-link {
  color: #ccd0d4;
  margin-left: 3vw;

  font-family: "Source Sans Pro", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Change color of active nav links */
.navbar-nav > a.active {
  color: #000;
}

@media (min-width: 991px) {
  .nav-contact-btn {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    padding: 13px 40px !important;
  }
}

.offcanvas {
  background-color: #0b0f19 !important;
  backdrop-filter: blur(5px);
  padding-top: 18px;
  padding-left: 30px;
  padding-right: 50px;
  width: 350px;
}

.offcanvas-header {
  padding-top: 40px;
}

.text-gradient-primary {
  background: linear-gradient(120deg, #5856c3, #b53fca);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-section {
  justify-content: center;
  align-items: center;
  margin-top: 15vh;
  z-index: 10;
  position: relative;
}

.urine-title {
  font-family: "Inter", sans-serif;
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(143, 168, 199, 0.9) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 3vh;
}

.subtitle {
  font-family: "Source Sans Pro", sans-serif;
  font-style: normal;
  font-weight: 350;
  font-size: 22px;
  line-height: 23px;
  display: block; /* Display the subtitle as a block element */
  text-align: center;
  color: #fff;
}

.arrow-icon {
  position: absolute;
  bottom: 50vh;
  left: 50vw;
  transform: translateX(-50%);
  color: rgba(239, 243, 247, 0.9);
  font-size: 20px;
  -webkit-text-stroke: 2px;
  cursor: pointer;
}

.sections {
  position: absolute;
  top: 60vh;
  left: 0;
  border-top: 6px solid #506782;
}

.our-story {
  justify-content: space-evenly;
  padding: 3.5vw;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

.left-half {
  width: 35%;
}

.section-title {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: max(min(7vw, 50px), 35px);
  color: #cedae9;
}

.section-subtext {
  font-family: "Source Sans Pro", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #99abc5;
  margin-bottom: 5vh;
}

.contact-button {
  padding: 12px 30px;
  margin-right: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;

  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 15px;
  display: flex;
  align-items: center;
  text-align: center;

  color: rgba(255, 255, 255, 0.95);
}

.right-half {
  width: 36%;
}

.block {
  margin-bottom: 40px;
}

.block-title {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.31;
  background: linear-gradient(105deg, #5592dc 0%, #ffffff 89.44%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 1.5vh;
}

.block-subtext {
  font-family: "Source Sans Pro", sans-serif;
  font-style: normal;
  font-weight: 350;
  font-size: 17px;
  line-height: 1.4;
  color: #99abc5;
  margin-bottom: 2vh;
}

.concave-section {
  position: relative;
  width: 100vw;
  background: linear-gradient(180deg, #0e1824 0%, #05090f 100%);
  overflow: hidden;
  margin-top: -5vh;
  padding-bottom: 30vh;
  text-align: center;
}

.oval {
  width: 120vw;
  height: 20vw;
  background-color: #131c27;
  border: 2px solid rgba(89, 114, 144, 0.3);
  border-radius: 50%;
  position: absolute;
  top: -10vw;
  left: -10vw;
}

.concave-title {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 50px;
  line-height: 61px;
  margin-top: 30vh;
  color: #c4d2e3;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.01);
}

.content-wrapper {
  position: relative;
  justify-content: center;
  align-items: center;
  margin-top: 10vh;
}

.ceo-left-half {
  width: 50%;
  text-align: center;
  margin-right: 40vw;
}

.sub-title {
  margin-bottom: 8vh;

  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 35px;
  line-height: 42px;

  color: #b7c3d1;
}

.minor-sub-title-text {
  font-weight: 400;
  font-size: 30px;
  line-height: 36px;
}

.body-text {
  margin: 0 auto;
  text-align: justify;

  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;

  color: #b7c3d1;
  width: 80%;
}

.ceo-image {
  position: absolute;
  bottom: -10vh;
  right: 10vw;
  width: 40%;
}

.container-box {
  width: 90vw;
  height: 20vw;
  background: #0f1219;
  border: 1px solid rgba(183, 195, 209, 0.6);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.container-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  margin-top: 10vh;
  width: 90vw;
  height: 160px;
  background: #0f1219;
  border: 1px solid rgba(183, 195, 209, 0.6);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container {
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container-title {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 50px;
  line-height: 61px;
  color: #b7c3d1;
  margin-bottom: 10px;
}

.container-text {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #b7c3d1;
  margin-bottom: 0;
}

.container-minor-text {
  font-weight: 300;
  font-size: 15px;
  line-height: 17px;
}

.team-bios {
  display: flex;
  width: 100%;
  background: #05090f;
  padding-bottom: 20vh;
}

.team-bio-left {
  position: relative;
  width: 36%;
  height: 42vw;
  background: url("./assets/team-member-1.jpg");
  opacity: 90%;
  background-size: cover !important;
  border: 2px solid #5e6570;
  border-radius: 3px;
  margin-left: 3vw;
  margin-bottom: 5vw;
}

.linkedin-profile {
  position: absolute;
  bottom: min(max(-8vw, -60px), -35px);
  display: flex;
  justify-content: center;
  color: #b7c3d1;
  width: 100%;
  z-index: 999;
}

.linkedin-profile:hover {
  color: rgba(255, 255, 255, 0.95);
}

.linkedin-logo {
  width: max(min(4.5vw, 35px), 20px);
  height: max(min(4.5vw, 35px), 20px);
  margin-right: 5px;
}

.linkedin-text {
  font-weight: 500;
  line-height: max(min(4.5vw, 35px), 20px);
  font-size: max(min(3.5vw, 19px), 14px);
}

.linkedin-url {
  margin-left: 5px;
}

.team-bio-right {
  width: 54%;
  padding: 30px;
  text-align: center;
  margin-left: 5vw;
  margin-right: 3.5vw;
}

.team-bio-title {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 35px;
  line-height: 130%;
  color: #b7c3d1;
  margin: 0 auto;
  margin-top: -1vw;
  margin-bottom: 3vw;
}

.blue-gradient {
  display: inline-block;
  background: linear-gradient(133.37deg, #3c7fd2, #7da0ca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.team-bio-body-text {
  text-align: left;
  font-family: "Source Sans Pro", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 147.5%;
  color: #b7c3d1;
  margin-bottom: 3vw;
  text-align: justify;
}

.minor-team-bio-title {
  font-weight: 300;
  font-size: 28px;
}

.team-bio-container {
  display: flex;
  width: 100%;
  margin-top: 20px;
}

.team-bio-container div {
  padding-right: 0;
  margin: 0;
  flex-basis: 50%;
}

.sab-section {
  position: relative;
  height: 100%;
}

.triangle-background {
  position: absolute;
  background-color: #212c3d;
  width: 100vw;
  height: min(30vw, 30vh);
}

.bottom-triangle {
  position: absolute;
  top: 3px;
  width: 0;
  height: 0;
  background-color: #131c27;
  border-bottom: min(30vw, 30vh) solid transparent;
  border-right: 100vw solid #212c3d;
  border-left: 0;
  border-top: 0;
  border-style: solid;
}

.top-triangle {
  position: absolute;
  top: 0px;
  width: 0;
  height: 0;
  background-color: transparent;
  border-top: min(30vw, 30vh) solid #05090f;
  border-left: 100vw solid transparent;
  border-right: 0;
  border-bottom: 0;
  border-style: solid;
}

.sab-title {
  position: absolute;
  top: min(15vw, 15vh);
  left: 50%;
  transform: translate(-50%, -50%);

  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-size: max(min(8vw, 50px), 35px);
  line-height: max(min(13vw, 61px), 45px);
  display: flex;
  align-items: center;
  text-align: center;

  color: #c4d2e3;

  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.01);
}

.card-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12vh;
}

.card {
  width: 27vw;
  height: 36vw;
  position: relative;
  border: 1px solid #666e78;
  border-radius: 6px;
  filter: drop-shadow(0px 0px 50px rgba(255, 255, 255, 0.05));
}

.card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.card-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 65px;
  padding-top: 0;
  padding-bottom: 0;
  background: #1b242e;
  outline: 1px solid #666e78;
}

.card-footer-heading {
  width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.card-text {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 23px;
  display: flex;
  align-items: center;
  margin-left: 0.8vw;

  color: rgba(255, 255, 255, 0.7);
}

.card-icon {
  margin-left: auto;
  color: #b4beca;
  font-size: 15px;
  -webkit-text-stroke: 1.25px;
  margin-right: 1vw;
}

.cards-container {
  padding-top: min(50vw, 50vh);
  padding-left: 5vw;
  padding-right: 5vw;
  padding-bottom: 10vh;
}

.card-footer {
  /* Existing CSS */
  overflow: hidden;
  transition: height 0.3s ease;
  height: 65px;
}

.card-footer.collapsed {
  height: 65px;
}

.card-footer.expanded {
  height: 100%;
  border-radius: 5px;
}

.card-body {
  position: relative;
  color: transparent;
  transition-delay: 0.2;
  transition: color 0.1s ease;
  font-size: 16px;
  font-family: "Source Sans Pro";
}

.card-footer.expanded .card-body {
  color: rgba(255, 255, 255, 0.9);
}

.card-body-content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.read-more {
  position: absolute;
  bottom: -23px;
  right: 0;
  margin: 10px;
  background-color: transparent;
  outline: none;
  border: none;
  color: #969697;
}

.footer {
  height: 100px;
  background-color: #141d28;
  border-top: 3px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin: 0 15px;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-level1 {
  margin: auto;
}

.footer-level1 p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;

  font-family: "Source Sans Pro", sans-serif;
  font-weight: 300;
}

.footer-line {
  width: 98%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  margin: 0 auto;
}

.footer-level2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.8);
  margin: auto;
}

.footer-level2 p {
  font-size: 14px;
  margin: 0;

  font-family: "Source Sans Pro", sans-serif;
  font-weight: 300;
}

.footer-copyright {
  text-align: right;
}

@media (max-width: 1360px) {
  .extra-large-only {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .large-only {
    display: none !important;
  }
}

@media (min-width: 1361px) {
  .medium-only {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .small-only {
    display: none !important;
  }
}

/* When above medium */
@media (min-width: 1361px) {
  .content-wrapper {
    display: flex;
  }

  /* Make image appear */
  .team-bio-left {
    display: block;
  }

  /* Make mobile image disappear */
  .mini-team-bio {
    display: none;
  }
}

/* When Above Small */
@media (min-width: 992px) {
  .our-story {
    display: flex;
    align-items: center;
  }
}

/* When Medium */
@media (max-width: 1360px) {
  .concave-title {
    font-size: max(min(8vw, 50px), 35px);
  }

  .content-wrapper {
    margin-top: 6vh;
  }

  .ceo-left-half {
    width: 85vw;
    margin-left: 7.5vw;
    margin-right: 0;
  }

  .ceo-image-container {
    position: relative;
    display: inline-block;
  }

  .small-ceo-image {
    width: 50vw;
    margin-bottom: 8vh;
    border: 1px solid #666e78;
    border-radius: 5px;
    filter: drop-shadow(0px 0px 50px rgba(255, 255, 255, 0.05));
    padding-top: 4vh;
    background-color: #0c141f;
  }

  .ceo-image-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 8vh);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
  }

  .sub-title {
    font-size: max(min(6.5vw, 38px), 20px);
    margin-bottom: 4vh;
  }

  .minor-sub-title-text {
    font-size: max(min(5.5vw, 34px), 17px);
  }

  .body-text {
    width: 85vw;
    margin: 0 auto;
    font-size: max(min(4vw, 18px), 13px);
    line-height: 1.5;
    font-weight: 300;
  }

  .team-bios {
    display: block;
    width: 100vw;
    overflow-x: hidden;
  }

  .team-bio-right {
    width: 100vw;
    margin: 0;
    margin-left: 0 !important;
  }

  /* Make image disappear */
  .team-bio-left {
    display: none;
  }

  /* Make mobile image appear */
  .mini-team-bio {
    display: block;
    width: 40vw;
    height: 50vw;
    margin: 0 auto;
    margin-bottom: max(15vw, 55px);
  }

  .team-bio-title {
    font-size: max(min(6.5vw, 38px), 20px);
    margin-bottom: 4vw;
  }

  .minor-team-bio-title {
    font-size: max(min(5.5vw, 34px), 16px);
  }

  .team-bio-body-text {
    width: 85vw;
    margin: 0 auto !important;
    font-size: max(min(4vw, 18px), 13px);
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 8vw !important;
  }
}

/* When Small */
@media (max-width: 991px) {
  .about-title {
    font-size: max(min(6vw, 65px), 40px);
  }

  .subtitle {
    width: 90vw;
    margin: 0 auto;
    font-size: max(min(4.25vw, 18px), 14px);
  }

  .left-half {
    text-align: center;
    width: 80vw;
    margin: 0 auto;
  }

  .section-title {
    display: flex;
    justify-content: center;
    margin-bottom: 2vh;
  }

  .section-subtext {
    font-size: max(min(4vw, 20px), 14px);
    font-weight: 300;
  }

  .contact-button {
    margin: 0 auto;
  }

  .right-half {
    width: 80vw;
    margin: 0 auto;
    margin-top: 12vh;
    margin-bottom: 15vh;
  }

  .sab-title {
    width: 70vw;
  }
}

/* Tiny */
@media (max-width: 648px) {
  .concave-title {
    margin-top: 15vh;
  }

  .container-title {
    font-size: max(min(8vw, 50px), 35px);
    margin-bottom: calc(3vw - 22px);
  }

  .container-text {
    font-size: max(min(3vw, 20px), 14px);
    margin-bottom: 4vw;
  }

  .container-minor-text {
    font-size: max(min(2.5vw, 15px), 12px);
  }

  .box {
    width: 80vw;
    display: block;
    height: 100%;
    padding: 20px 0;
    margin-top: 5vh;
    box-shadow: 0px 0px 100px rgba(255, 255, 255, 0.1);
  }

  .team-bios {
    padding-bottom: 10vh;
  }

  .mini-team-bio {
    width: 65vw;
    height: 80vw;
  }

  .card-row {
    display: block;
    margin-bottom: 0;
  }

  .card {
    width: 80vw;
    height: 100vw;
    margin: 8vw auto;
  }

  .small-ceo-image {
    width: 80vw;
  }
}
