@import url("https://fonts.cdnfonts.com/css/satoshi");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

body {
  margin: 0;
  padding: 0;
  background-color: #040114;
  color: white;
  font-family: Satoshi, Roboto;
  background-image: radial-gradient(
    85.64% 44.64% at 104% 22%,
    rgba(23, 164, 219, 0.3) 0%,
    rgba(21, 163, 218, 0) 154%
  );
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1 {
  font-size: 48px;
  margin: 20px 0;
}

h2 {
  font-size: 20px;
  font-weight: 500;
}

p {
  font-size: 14px;
  font-weight: 350;
}

a {
  color: white;
  text-decoration: none;
}

section {
  padding: 0 7%;
}

svg {
  border: 1px solid white;
  padding: 4px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.navbar .logo {
  width: 160px;
}

.navbar-links {
  display: flex;
  gap: 30px;
  padding-right: 30px;
}

.bar-icon {
  display: none;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #333;
  transition: all 0.3s ease;
}

.side-menu a {
  display: block;
  padding: 20px;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.section-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-1 div {
  width: 500px;
}

.section-1 h1,
.section-1 p {
  text-align: center;
}

.team-members {
  margin: 70px 0;
}

.section-2 div .section-2-h2-1 {
  flex: 2;
}

.section-2 div .section-2-h2-2 {
  flex: 1;
}

.section-2-headingline-2 {
  display: flex;
  gap: 50px;
}

.section-2-headingline-2 h2 {
  flex: 1;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 35px;
  /* display: grid;
  grid-column-gap: 26px;
  grid-template-columns: repeat(6, 1fr); */
}

.team-memebers-containers {
  display: flex;
  /* width:30%; */
  gap: 20px;
}

.team-memebers-data {
  display: grid;
  align-items: end;
  /* width: 30%;   */
}

.team-member-image {
  width: 238px;
  height: 250px;
  border-radius: 30px;
}

.team-member-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 275px;
  width: 275px;
  overflow-wrap: break-word;
  overflow: auto;
}

.team-member-info p,
a {
  opacity: 0.7;
}

footer {
  margin-top: 50px;
}

.footer-line-1,
.footer-line-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

.footer-line-1 div,
.footer-line-2 div {
  display: flex;
  justify-content: flex-end;
  flex-flow: wrap;
  gap: 20px;
  padding: 0;
}

.footer-line-2 p {
  color: whitesmoke;
  font-size: 13px;
}

.footer-logo {
  height: 60px;
}

h1 span {
  background-image: linear-gradient(90deg, #099ccf 0%, #00ffff 123.36%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media (max-width: 900px) {
  .team-members {
    grid-template-columns: repeat(4, 1fr);
  }
  .navbar-links a {
    display: none;
  }

  .bar-icon {
    display: block;
  }
}

@media (max-width: 750px) {
  .team-members {
    grid-template-columns: repeat(2, 1fr);
  }

  footer a {
    font-size: 12px;
  }

  footer p {
    font-size: 11px;
  }
}

@media (max-width: 530px) {
  .team-members {
    grid-template-columns: repeat(1, 1fr);
  }

  .navbar-links a {
    display: none;
  }

  .bar-icon {
    display: block;
  }
}

@media (max-width: 500px) {
  .section-1 p {
    display: none;
  }
  .section-1 {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .team-memebers-containers {
    display: grid;
    justify-items: center;
    width: 100%;
  }

  .team-memebers-data {
    margin: auto;
    width: 312px;
  }

  .team-memebers-data h2 {
    font-size: 14px;
  }

  .team-member-image {
    width: 100%;
    height: auto;
  }

  .team-member-name {
    font-size: 32px;
  }
  .section-1 h1,
  .section-1 p {
    font-size: 40px !important;
  }
  .section-1 div {
    width: auto;
  }

  .team-member-info p {
    margin: 3px;
  }
}

.row-break {
    flex-basis: 100%;
    width: 100%;
    height: 0;
}

/* ============================================================
   2025 Consortium redesign
   ============================================================ */

/* Company grouping: each company is its own full-width row,
   members flow + wrap beneath its header. */
.consortium {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin: 60px 0;
}

.company-header {
  margin-bottom: 34px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(8, 247, 246, 0.18);
}
.company-name {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}
.company-tag {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  background-image: linear-gradient(90deg, #099ccf 0%, #00ffff 123.36%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.company-members {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 50px;
}

/* Member card: circular photo + info, side by side */
.member-card {
  flex: 0 1 380px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.member-photo-wrap {
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(9, 157, 208, 0.6) 0%,
    rgba(8, 247, 246, 0.08) 68%,
    transparent 100%
  );
}
.member-photo {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b1326;
}
.member-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.member-name {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.member-role {
  margin: 0;
  font-weight: 600;
  color: #cfeaf2;
  opacity: 1;
}
.member-expertise {
  margin: 0 0 8px;
  font-size: 13px;
  color: #79b8c9;
  opacity: 1;
}
.member-email {
  margin: 0 0 8px;
}
.member-email a {
  color: #9fb9c2;
  opacity: 1;
}
.member-email a:hover {
  color: #08f7f6;
}
.member-linkedin {
  font-size: 15px;
  color: #eaf7fb;
  opacity: 1;
}
.member-linkedin:hover {
  color: #08f7f6;
}

/* ── Member testimonial: badge + hover/tap reveal ── */
.member-card.has-quote {
  position: relative;
  cursor: pointer;
  outline: none;
}
.member-card.has-quote:focus-visible {
  box-shadow: 0 0 0 2px rgba(8, 247, 246, 0.6);
  border-radius: 18px;
}

/* Discoverability badge (a quotation mark) */
.member-quote-badge {
  position: absolute;
  top: -6px;
  left: 96px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
  padding-top: 10px;
  color: #011a1f;
  background: linear-gradient(135deg, #08f7f6, #099dd0);
  box-shadow: 0 4px 14px -4px rgba(8, 247, 246, 0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 3;
}
.member-card.has-quote:hover .member-quote-badge {
  transform: scale(1.1);
}

/* The quote overlay, hidden until hover / focus / tap */
.member-quote-overlay {
  position: absolute;
  top: -14px;
  left: -16px;
  right: -16px;
  bottom: -14px;
  margin: 0;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(4, 16, 26, 0.96), rgba(9, 40, 56, 0.96));
  border: 1px solid rgba(8, 247, 246, 0.35);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 4;
  overflow: auto;
}
.member-quote-overlay p {
  margin: 0;
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: #eaf7fb;
}
.member-quote-overlay cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: #79b8c9;
}

/* Reveal triggers: desktop hover, keyboard focus, and tap (.is-open) */
.member-card.has-quote:hover .member-quote-overlay,
.member-card.has-quote:focus-within .member-quote-overlay,
.member-card.has-quote.is-open .member-quote-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.member-card.has-quote:hover .member-quote-badge,
.member-card.has-quote.is-open .member-quote-badge {
  opacity: 0;
}

@media (max-width: 1100px) {
  .member-card {
    flex-basis: 340px;
  }
}
@media (max-width: 600px) {
  .company-members {
    gap: 30px;
  }
  .member-card {
    flex: 1 1 100%;
    gap: 20px;
  }
  .member-photo-wrap {
    width: 120px;
    height: 120px;
  }
  .member-photo {
    width: 110px;
    height: 110px;
  }
}

/* ── Legacy per-member layout (kept for safety, no longer emitted) ── */

/* Per-member role + expertise */
.team-member-role {
  font-weight: 600;
  opacity: 1 !important;
  margin: 2px 0;
}
.team-member-expertise {
  font-size: 13px;
  color: #79b8c9;
  opacity: 1 !important;
  margin: 2px 0 6px;
}

/* Team & Stories testimonials */
.section-stories {
  padding: 40px 7% 20px;
}
.stories-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}
.stories-subtitle {
  font-size: 16px;
  color: #cfeaf2;
  line-height: 1.6;
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.story-card {
  margin: 0;
  padding: 30px;
  border-radius: 24px;
  background-color: #03daed0d;
  border: 1px solid rgba(8, 247, 246, 0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.story-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 247, 246, 0.4);
  box-shadow: 0 22px 55px -25px rgba(9, 157, 208, 0.5);
}
.story-quote {
  margin: 0;
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: #eaf7fb;
  position: relative;
  padding-left: 22px;
}
.story-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 34px;
  line-height: 1;
  color: #08f7f6;
}
.story-meta {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}
.story-name {
  font-weight: 600;
}
.story-affiliation {
  font-size: 13px;
  color: #79b8c9;
}
