@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%
  );
}

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

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

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

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

.cover-container {
  background-image: url("../assets/cover.png");
  background-color: white;
  background-size: cover;
  background-repeat: no-repeat;
}

.shadow-layer {
  background: linear-gradient(0deg, #020514 5%, rgba(2, 5, 20, 0) 90.45%);
  height: 100vh;
}

.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 {
  height: 80vh;
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10%;
}

.section-2 {
  display: flex;
  padding: 0 10%;
  align-items: center;
  margin: 42px 0;
  background: radial-gradient(
    16.64% 25.64% at 75% 76%,
    rgba(23, 164, 219, 0.4) 25%,
    rgba(21, 163, 218, 0) 145%
  );
}

.section-2-content {
  display: flex;
  gap: 20px;
}

.section-2 img {
  width: 40%;
}

.section-3 {
  display: flex;
  align-items: center;
  padding: 5%;
  margin: 0 5%;
  border-radius: 45px;
  background-color: #03daed0d;
  column-gap: 40px;
}

.section-3-content {
  flex: 1;
}

.section-3-image-container {
  background-image: url("../assets/flag.png");
  /* object-fit: contain; */
  background-size: cover;
  border-radius: 39px;
  background-repeat: no-repeat;
  flex: 1;
  /* background-color: #15a3da; */
  position: relative;
  border: none;
  /* border-radius: 30px; */
  /* padding: 60px; */
}
.section-3-image-container > .blur {
  /* background: rgba(255, 255, 255, 0.2);  */
  background-color: #d9d9d966;

  backdrop-filter: blur(60px);
  border: 1px solid transparent;
  border-radius: 39px;
  height: 408px;
  width: auto;
}

.section-3-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 90%;
}

.section-4 {
  display: flex;
  align-items: center;
  padding: 5%;
  margin: 0 5%;
  border-radius: 45px;
  background-color: #03daed0d;
  column-gap: 40px;
}

.section-4-content {
  flex: 1;
}

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;
}

/* ============================================================
   2025 Home redesign — new sections
   Brand palette: #099ab8 #099DD0 #08F7F6 #518892 #011a1f #fff
   ============================================================ */

/* Scroll-reveal animation (added by IntersectionObserver in page-home.php) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Value blocks: Ethical / Accurate / Efficient ── */
.section-valueprops {
  padding: 40px 10%;
  margin: 42px 0;
}
.valueprops-title {
  text-align: center;
  margin-bottom: 40px;
}
.valueprops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.valueprop {
  background-color: #03daed0d;
  border: 1px solid rgba(8, 247, 246, 0.12);
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.valueprop:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 247, 246, 0.4);
  box-shadow: 0 20px 50px -20px rgba(9, 157, 208, 0.5);
}
.valueprop-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(8, 247, 246, 0.25),
    rgba(9, 157, 208, 0.08)
  );
}
.valueprop-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.valueprop h3 {
  font-size: 22px;
  margin: 0 0 10px;
  background-image: linear-gradient(90deg, #099ccf 0%, #00ffff 123.36%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.valueprop p {
  margin: 0;
  color: #cfeaf2;
}

/* ── Why we're excited bullet list ── */
.excited-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.excited-points li {
  position: relative;
  padding-left: 34px;
  font-size: 18px;
  line-height: 1.5;
}
.excited-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #08f7f6, #099dd0);
  box-shadow: 0 0 12px rgba(8, 247, 246, 0.6);
}

/* ── Meet the Researchers teaser ── */
.section-team {
  padding: 60px 10%;
  margin: 42px 0;
}
.section-team-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}
.section-team-subtitle {
  color: #cfeaf2;
  font-size: 18px;
}
.team-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.team-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  scrollbar-width: none;
}
.team-track::-webkit-scrollbar {
  display: none;
}
.researcher-card {
  scroll-snap-align: center;
  flex: 0 0 340px;
  max-width: 340px;
  margin: 0;
  background-color: #03daed0d;
  border: 1px solid rgba(8, 247, 246, 0.12);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.researcher-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(8, 247, 246, 0.4);
}
.researcher-quote {
  margin: 0;
  font-style: italic;
  color: #eaf7fb;
  line-height: 1.5;
}
.researcher-meta {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}
.researcher-name {
  font-weight: 600;
}
.researcher-role {
  font-size: 14px;
  color: #79b8c9;
}
.team-nav {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(8, 247, 246, 0.3);
  background: rgba(1, 26, 31, 0.6);
  color: #08f7f6;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.team-nav:hover {
  background: rgba(9, 157, 208, 0.35);
  transform: scale(1.08);
}
.section-team-cta {
  text-align: center;
  margin-top: 40px;
}

/* Shared brand button */
.qt-button {
  display: inline-block;
  padding: 14px 38px;
  border-radius: 999px;
  font-weight: 600;
  color: #011a1f;
  background: linear-gradient(90deg, #08f7f6 0%, #099dd0 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.qt-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -14px rgba(8, 247, 246, 0.7);
  color: #011a1f;
}

/* ── Supported by (logo strip) ── */
.section-supporters {
  padding: 50px 10%;
  text-align: center;
}
.supporters-title {
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #79b8c9;
  margin-bottom: 30px;
}
.supporters-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.supporter img {
  max-height: 64px;
  width: auto;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.supporter img:hover {
  filter: none;
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .valueprops-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}
@media (max-width: 750px) {
  .section-valueprops,
  .section-team,
  .section-supporters {
    padding-left: 6%;
    padding-right: 6%;
  }
  .researcher-card {
    flex-basis: 80vw;
    max-width: 80vw;
  }
  .team-nav {
    display: none;
  }
  .supporters-strip {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .cover-container {
    background-position: right;
  }

  .shadow-layer {
    background: linear-gradient(#00000050, #040114);
  }

  .navbar-links a {
    display: none;
  }

  .bar-icon {
    display: block;
  }
}

@media (max-width: 750px) {
  h1 {
    text-align: center;
  }

  .section-1 p {
    text-align: center;
    padding: 25px;
  }

  .section-1 {
    width: 100%;
    padding-left: 0;
    flex-direction: column;
    justify-content: end;
    align-items: center;
  }

  .section-2 {
    flex-direction: column;
    background: radial-gradient(
      42.64% 13.64% at 47% 86%,
      rgba(23, 164, 219, 0.4) 25%,
      rgba(21, 163, 218, 0) 145%
    );
  }

  .section-2-content {
    flex-direction: column;
  }

  .section-2 img {
    width: 100%;
  }

  .section-3 {
    flex-direction: column;
    row-gap: 40px;
    padding: 2%;
  }

  .section-3 p {
    text-align: center;
    margin-top: 32px;
  }

  .section-3-image-container {
    /* padding: 50px 35px; */
    width: 100%;
  }
  .section-3-image-container > .blur {
    height: 188px;
    width: auto;
  }
	
  .section-4 {
    flex-direction: column;
    background: radial-gradient(
      42.64% 13.64% at 47% 86%,
      rgba(23, 164, 219, 0.4) 25%,
      rgba(21, 163, 218, 0) 145%
    );
  }

  .section-4-content {
    flex-direction: column;
  }

  footer a {
    font-size: 12px;
  }

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

@media (max-width: 530px) {
  .navbar-links a {
    display: none;
  }

  .bar-icon {
    display: block;
  }
}

@media (max-width: 500px) {
  .section-2 {
    background: radial-gradient(
      42.64% 13.64% at 47% 86%,
      rgba(23, 164, 219, 0.4) 25%,
      rgba(21, 163, 218, 0) 145%
    );
  }
}