.hamburger,
.lang-switch,
.side-nav a,
.sticky-logo.visible {
  pointer-events: auto;
}


.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
}

.lang-separator {
  opacity: 0.25;
  font-size: 13px;
}

.detail-content.active,
.reveal-on-scroll.visible,
.sticky-logo.visible {
  transform: translateY(0);
  opacity: 1;
}

#eco-image,
#imm-image,
.bg-img,
.independent-bg,
.timeline-img {
  object-fit: cover;
}

.hotspot-label,
.imm-title {
  text-transform: uppercase;
  white-space: nowrap;
}

body {
  margin: 0;
  font-family: Alata, sans-serif;
  background: linear-gradient(to bottom, #35455B 75%, #03989e 100%);
  color: #fff;
  overflow-x: hidden;
}

h1 {
  font-size: 58px;
  margin-bottom: 28px;
  line-height: 1.1;
}

h2 {
  font-size: 34px;
  margin-bottom: 23px;
  color: #03989e;
  text-shadow: 1px 1px 2px #000;
}

p {
  font-size: 24px;
  margin-bottom: 20px;
  line-height: 1.6;
}

html[lang="en"] .lang-fr { display: none !important;}
html[lang="fr"] .lang-en { display: none !important;}

.hamburger {
  display: none;
  cursor: pointer;
}

.nav-links,
.side-nav,
section {
  display: flex;
}

.bg-img,
.ecosystem-title,
.side-nav,
.sticky-logo {
  pointer-events: none;
}

.sticky-logo {
  position: fixed;
  top: 5%;
  right: 3%;
  width: 60px;
  z-index: 100;
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.4s;
}

.sticky-logo img {
  width: 100%;
  display: block;
}

.side-nav {
  position: absolute;
  top: 40px;
  right: 5%;
  width: 90%;
  z-index: 1000;
  justify-content: space-between;
}

.side-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 1px;
  transition: 0.3s;
  position: relative;
  opacity: 0.9;
}

.nav-links {
  gap: 40px;
  align-items: center;
}

.side-nav a:hover {
  opacity: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.side-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #03989e;
  transition: width 0.3s;
}

.side-nav a:hover::after {
  width: 100%;
}

.top_logo_video {
  width: 85%;
  margin-top: 165px;
  max-width: 780px;
  height: auto;
  opacity: 0.75;
  border-radius: 20px;
  z-index: -100;
}

.video-mask-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none; /* Pour ne pas bloquer les clics sur le texte */

  /* Masque : Transparent en haut, Noir au milieu, Transparent en bas */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,     /* La vidéo devient totalement visible à 15% du haut */
    black 85%,     /* Elle commence à disparaître à 85% */
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Gardez l'opacité basse pour le style */
}

/* Assurez-vous que la section contient bien la vidéo sans déborder */
#sparrow {
  position: relative;
  overflow: hidden; 
}
/* Ensure the section holding the video acts as a container boundary */
#comparison {
  position: relative;
  overflow: hidden; 
}
.intro-box {
  margin-top: 165px;
  color: #fff;
  font-size: clamp(24px, 5vw, 56px);
  font-weight: 700;
  text-align: center;
  padding: 55px 45px;
  border-radius: 8px;
  width: 95%;
  max-width: 1400px;
  text-shadow: 0 0 15px rgba(3, 152, 158, 0.6), 0 0 30px rgba(3, 152, 158, 0.4);
}

#mission_statement {
  min-height: auto !important;
  justify-content: flex-start !important;
}

#mission_statement .text-block {
  background: 0 0;
  backdrop-filter: none;
  padding: 0;
  box-shadow: none;
  margin-top: 0;
  text-align: center;
}

#mission_statement h1 {
  display: inline-block;
  position: relative;
  margin-bottom: 40px;
}

#mission_statement h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease-out;
}

.sparrow-link .first-letter {
  color: #03989e !important;
  font-size: 1.1em;
  margin-right: -1px;
}

section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.content-wrapper,
.wide-wrapper {
  width: 95%;
  max-width: 1600px;
}

.content-wrapper {
  z-index: 2;
  position: relative;
}

.text-block {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(2px);
  width: 100%;
  box-sizing: border-box;
}

.section-hero {
  min-height: 100vh;
  justify-content: flex-start;
  padding-top: 50px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.scroll-indicator {
  margin-top: 60px;
  text-align: center;
  cursor: pointer;
  opacity: 0.8;
}

.scroll-indicator span {
  display: block;
  color: #fff;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  margin: 0 auto;
  transform: rotate(45deg);
  animation: 2s infinite bounce;
}

@keyframes bounce {
  0%, 100%, 20%, 50%, 80% {
    transform: rotate(45deg) translate(0, 0);
  }
  40% {
    transform: rotate(45deg) translate(-10px, -10px);
  }
  60% {
    transform: rotate(45deg) translate(-5px, -5px);
  }
}

.independent-bg {
  position: absolute;
  top: 100vh;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  margin-top: 120px;
}

.sky-pic {
  opacity: 0.15;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  z-index: 1;
}
.atctower-pic {
  margin-top: 100px;
  opacity: 0.15;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}
.sparrow-pic {
  margin-top: -10px;
  opacity: 0.15;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}
.AVground-pic {
  margin-top: 15px;
  opacity: 0.15;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.bar {
  display: block;
  width: 30px;
  height: 3px;
  margin: 5px auto;
  transition: 0.3s ease-in-out;
  background-color: #fff;
  border-radius: 3px;
}

html {
  scroll-behavior: smooth;
}

.lang-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  opacity: 0.38;
  transition: opacity 0.25s, transform 0.25s, filter 0.25s;
  padding: 0 2px;
}

.lang-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.email-link,
.scroll-top-btn {
  transition: 0.3s;
  text-decoration: none;
}

html.fr-mode .lang-btn[data-lang=fr],
html:not(.fr-mode) .lang-btn[data-lang=en] {
  opacity: 0.9;
  filter: drop-shadow(0 0 4px rgba(3, 152, 158, 0.55));
  text-decoration: none;
}

.main-footer {
  position: relative;
  overflow: hidden; /* <--- ADD THIS LINE! Extremely important */
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.footer-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* <--- THIS puts it in the background */
  opacity: 0.15; /* Adjust between 0.1 and 1.0 depending on how dark your sky video is */
  pointer-events: none; /* Ensures you can still click the links on top of it */
}

.clickable-item,
.timeline-img {
  background: rgba(255, 255, 255, 0.05);
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  max-width: 1600px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
}

.left-col {
  text-align: left;
}

.contact-title {
  font-size: 32px;
  color: #03989e;
  text-shadow: None;
}

.email-link {
  font-size: 18px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-block;
  margin-bottom: 10px;
}

.email-link:hover {
  color: #03989e;
  border-color: #03989e;
}

.linkedin-icon-link img {
  width: 150px;
  height: auto;
  transition: transform 0.3s;
}

.linkedin-icon-link:hover img {
  transform: scale(1.1);
}

.mid-col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.scroll-top-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
}

.scroll-top-btn:hover {
  border-color: #03989e;
  background: rgba(3, 152, 158, 0.1);
}

.arrow-up {
  border: solid #fff;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 6px;
  transform: rotate(-135deg);
  margin-top: 8px;
}

.right-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-logo {
  width: 90px;
  height: auto;
  margin-bottom: 10px;
  cursor: pointer;
}

.scroll-link {
  text-decoration: none;
  display: block;
}

.footer-logo-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s;
}

.footer-logo-link:hover {
  transform: scale(1.05);
}

.footer-tagline {
  font-size: 22px;
  opacity: 0.9;
  max-width: 280px;
  line-height: 1.4;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 20px auto 0;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.6;
  width: 95%;
  max-width: 1600px;
}

.timeline-img {
  display: block;
  width: 95%;
  max-width: 1600px;
  height: 350px;
  object-position: center;
  margin: 10px auto;
  padding: 10px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.timeline-img:hover {
  transform: scale(1.01);
}

.split-left {
  flex: 1;
  text-align: left;
  padding-right: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.3s;
}

.split-right {
  flex: 1;
  height: auto;
  position: relative;
}

.interaction-hint {
  text-align: center;
  color: #03989e;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  font-weight: 700;
  opacity: 0.9;
  animation: 2s infinite pulse-hint;
}

@keyframes pulse-hint {
  0%, 100% {
    opacity: 0.6;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

.scrolling-window {
  width: 100%;
  height: auto;
  overflow: visible;
}

#eco-image,
.viewport {
  width: 100%;
  height: 100%;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.clickable-item {
  padding: 15px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid transparent;
}

.clickable-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.clickable-item.active-selected {
  background: rgba(3, 152, 158, 0.2);
  border-color: #03989e;
  box-shadow: 0 0 15px rgba(3, 152, 158, 0.3);
}

.item-title {
  font-size: 20px;
  font-weight: 700;
  display: block;
}

.spec-list strong,
.step-content h3 {
  font-weight: 600;
  color: #fff;
}

.details-content {
  display: none;
}

.close-hint,
.imm-details-box,
.imm-modal-overlay,
.immersive-viewport,
.modal-overlay {
  display: flex;
}

#interactive-ecosystem {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 60px auto;
  aspect-ratio: 1250/978;
  height: auto;
  overflow: hidden;
  border-radius: 16px;
  background: #0a0a0a;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

#interactive-ecosystem .bg-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.ecosystem-title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #fff;
  font-family: Orbitron, sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 242, 255, 0.5);
  transition: opacity 0.5s;
}

#interactive-ecosystem.active-view .ecosystem-title {
  opacity: 0;
}

.viewport {
  position: relative;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center center;
}

.eco-hotspot,
.eco-hotspot::after {
  transform: translate(-50%, -50%);
  position: absolute;
}

#eco-image {
  transition: filter 0.8s;
}

.viewport.zoomed #eco-image {
  filter: blur(5px) brightness(0.4);
  transform: scale(1.02);
}

.eco-hotspot {
  width: 30px;
  height: 30px;
  background: rgba(0, 242, 255, 0.2);
  border: 2px solid #00f2ff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  transition: 0.3s;
}

.eco-hotspot::after {
  content: '';
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #00f2ff;
  animation: 2s infinite pulse-ring;
}

@keyframes pulse-ring {
  0% {
    width: 30px;
    height: 30px;
    opacity: 1;
  }
  100% {
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

.hotspot-label {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #00f2ff;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.eco-hotspot:hover {
  background: #00f2ff;
  box-shadow: 0 0 20px #00f2ff;
}

.eco-hotspot:hover .hotspot-label {
  opacity: 1;
}

.modal-overlay,
.viewport.zoomed .eco-hotspot,
.zoomed .imm-hotspot {
  opacity: 0;
  pointer-events: none;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
  padding-right: 5%;
  transition: 0.6s 0.2s;
  z-index: 20;
}

.imm-modal-overlay.active,
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.glass-panel {
  background: rgba(13, 20, 28, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 242, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;
  max-width: 450px;
  text-align: left;
  transform: translateX(50px);
  transition: transform 0.6s ease-out;
}

.modal-overlay.active .glass-panel {
  transform: translateX(0);
}

.modal-content h3 {
  margin-top: 0;
  color: #00f2ff;
  font-size: 1.8rem;
  font-family: Orbitron, sans-serif;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 242, 255, 0.2);
  padding-bottom: 10px;
}

.modal-body-content p {
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.close-hint {
  margin-top: 30px;
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-items: center;
}

.close-hint::before {
  content: '←';
  margin-right: 10px;
  color: #00f2ff;
}

.section-title-overlay {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  font-family: Alata, sans-serif;
  font-size: 3.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
  pointer-events: none;
}

.imm-hotspot,
.imm-hotspot::after {
  transform: translate(-50%, -50%);
  position: absolute;
}

#imm-modal-title,
.imm-title {
  color: #00f2ff;
}

#for-whom-immersive {
  position: relative;
  width: 100vw;
  height: 850px;
  overflow: hidden;
}

.immersive-viewport {
  opacity: 0.95;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

#imm-image {
  width: 100%;
  height: 100%;
  opacity: 0.7;
  transition: filter 0.8s, opacity 0.8s;
}

.imm-hotspot {
  width: 20px;
  height: 20px;
  background: #00f2ff;
  border-radius: 50%;
  opacity: 0.95;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 15px #00f2ff;
}

.imm-hotspot[data-target=institutions] {
  top: 74%;
  left: 18%;
}

.imm-hotspot[data-target=ats] {
  top: 40%;
  left: 50%;
}

.imm-hotspot[data-target=academia] {
  top: 75%;
  left: 80.5%;
}

.imm-hotspot[data-target=labs] {
  top: 79.5%;
  left: 88.3%;
}

.imm-hotspot::after {
  content: '';
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid #00f2ff;
  border-radius: 50%;
  animation: 2s infinite imm-pulse;
}

@keyframes imm-pulse {
  0% {
    width: 20px;
    height: 20px;
    opacity: 1;
  }
  100% {
    width: 150px;
    height: 150px;
    opacity: 0;
  }
}

.imm-details-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  min-height: 120px;
  z-index: 20;
  pointer-events: none;
  justify-content: center;
  align-items: center;
}

.detail-content,
.imm-modal-overlay {
  width: 100%;
  opacity: 0;
  position: absolute;
}

.detail-content {
  transform: translateY(10px);
  transition: 0.4s;
  text-align: center;
}

.imm-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.imm-desc {
  backdrop-filter: blur(8px);
  padding: 5px 25px 5px 15px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  line-height: 1.4;
  text-align: left;
  border-left: 3px solid #00f2ff;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  border-radius: 0 4px 4px 0;
}

.imm-hotspot:hover .imm-label {
  opacity: 1;
  transform: translateX(-50%) translateY(10px);
}

.zoomed #imm-image {
  filter: blur(8px) brightness(0.3);
  opacity: 0.5;
}

.imm-modal-overlay {
  align-items: center;
  justify-content: center;
  pointer-events: none;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: opacity 0.4s;
  z-index: 200;
}

.imm-modal-content {
  backdrop-filter: blur(20px);
  text-align: left;
  background: rgba(20, 30, 40, 0.7);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 242, 255, 0.3);
  padding: 30px;
  border-radius: 10px;
  max-width: 450px;
  width: 80%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.4s;
}

#sparrow h1,
.sparrow-intro,
.timeline-step {
  text-align: center;
}

.imm-modal-content h3 {
  color: #00f2ff;
  font-size: 2rem;
  margin-bottom: 20px;
}

.imm-modal-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #eee;
}

#imm-modal-title,
.spec-card h3 {
  font-size: 1.8rem;
  margin-top: 0;
  text-transform: uppercase;
}

.imm-close-hint {
  cursor: pointer;
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.imm-modal-overlay.active .imm-modal-content {
  transform: translateY(0);
}

#imm-modal-body {
  color: #fff;
  line-height: 1.5;
  font-size: 1.1rem;
}

#sparrow {
  padding-bottom: 80px;
}

#sparrow h1::first-letter {
  color: #03989e;
}

#sparrow .description-container {
  text-align: center;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.sparrow-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #e0e0e0;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #03989e;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.spec-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.spec-card:hover {
  transform: translateY(-5px);
}

.spec-card.is-sparrow {
  border: 1px solid rgba(3, 152, 158, 0.3);
  box-shadow: 0 10px 30px rgba(3, 152, 158, 0.1);
  position: relative;
}

.spec-card.is-sparrow h3 {
  color: #03989e;
  border-bottom: 2px solid #03989e;
}

.spec-card.is-not-sparrow {
  border: 1px solid rgba(255, 87, 87, 0.3);
  box-shadow: 0 10px 30px rgba(255, 87, 87, 0.1);
}

.spec-card.is-not-sparrow h3 {
  color: #ff6b6b;
  border-bottom: 2px solid #ff6b6b;
}

.spec-card h3 {
  padding-bottom: 15px;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: #dcdcdc;
}

.spec-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.is-sparrow .spec-list li::before {
  content: "✓";
  color: #03989e;
}

.is-not-sparrow .spec-list li::before {
  content: "×";
  color: #ff6b6b;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: static;
}

.step-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  border: 2px solid #03989e;
  box-shadow: 0 0 15px rgba(3, 152, 158, 0.2);
  transition: transform 0.3s, background 0.3s;
  cursor: pointer;
}

.timeline-step:hover .step-icon {
  transform: scale(1.1);
  background: rgba(3, 152, 158, 0.2);
  box-shadow: 0 0 25px rgba(3, 152, 158, 0.4);
}

.step-icon svg,
.step-icon img {
  width: 35px;
  height: 35px;
  color: #fff;
}

.step-icon img {
  display: block;
}
.step-svg {
  display: block;
  width: 35px;
  height: 35px;
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-content h3 {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.3;
}

.timeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #03989e;
  padding-top: 15px;
  font-weight: 700;
  opacity: 0.8;
}

.sparrow-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0.15;
  filter: brightness(0) saturate(100%) invert(39%) sepia(98%) saturate(1598%) hue-rotate(152deg) brightness(99%) contrast(101%);
  z-index: -1;
  pointer-events: none;
}

/* --- Classic "For Whom" Grid Styling --- */

.classic-grid {
  display: grid;
  /* Automatically fits as many columns as possible, down to 1 column on mobile */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.classic-card {
  background: rgba(255, 255, 255, 0.05); /* matches your timeline-img and clickable-item backgrounds */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.classic-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: #03989e;
}

.card-icon {
  font-size: 50px;
  margin-bottom: 20px;
  /* Optional: Adds a subtle teal glow behind the icon */
  text-shadow: 0 0 15px rgba(3, 152, 158, 0.4); 
}

.classic-card h3 {
  color: #03989e;
  font-size: 26px;
  margin-bottom: 15px;
  font-weight: 700;
}

.classic-card p {
  font-size: 18px; /* Slightly smaller than your default 24px paragraphs for better card reading */
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0;
}


/* Style spécifique pour l'image de fond de "For Whom" */
#for-whom-bg {
  /* On s'assure qu'elle couvre toute la section */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Place l'image derrière le texte et les cartes */
  opacity: 0.4; /* Optionnel : réduit l'opacité pour que le texte reste bien lisible */
}

/* On s'assure que la section elle-même est en position relative */
#for_whom {
  position: relative;
  overflow: hidden;
  padding: 100px 0; /* Un peu d'espace en haut et en bas */
}

/* Ajustement des cartes pour qu'elles ressortent bien sur l'image */
.classic-card {
  background: rgba(15, 23, 42, 0.8); /* Un fond sombre légèrement transparent */
  backdrop-filter: blur(10px); /* Un effet de flou moderne (optionnel) */
  border: 1px solid rgba(3, 152, 158, 0.3);
}


@media (min-width: 901px) {
  .top_logo_video {
    margin-top: 55px !important;
  }
  .intro-box {
    margin-top: 65px;
  }
  #mission_statement {
    margin-top: -80px;
  }
  .step-detail {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 120px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #03989e;
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .timeline-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 30px 160px;
  }
  .step-detail p {
    font-size: 1.1rem;
    color: #e0f7fa;
    margin: 0;
    text-align: center;
    max-width: 100%;
  }
  .split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-height: 400px;
  }
  .timeline-step:hover .step-detail {
    opacity: 1;
  }
}

@media (max-width: 1025px) {
  #mission_statement {
    margin-top: -90px;
  }
  .sticky-logo {
    top: 4%;
    right: 5%;
    width: 55px;
  }
  .imm-hotspot[data-target=institutions] {
    top: 71%;
  }
  .imm-hotspot[data-target=ats] {
    top: 43%;
  }
  .imm-hotspot[data-target=academia] {
    top: 73%;
  }
  .imm-hotspot[data-target=labs] {
    top: 76.5%;
  }
}

@media (max-width: 990px) {
  .top_logo_video {
    margin-top: 125px !important;
  }
  .imm-hotspot[data-target=academia],
  .imm-hotspot[data-target=institutions] {
    top: 65%;
  }
  .imm-hotspot[data-target=ats] {
    top: 46%;
  }
  .imm-hotspot[data-target=labs] {
    top: 68.5%;
  }
}

@media (max-width: 900px) {
  .imm-hotspot[data-target=institutions] {
    top: 64%;
  }
  .imm-hotspot[data-target=ats] {
    top: 47%;
  }
  .imm-hotspot[data-target=academia] {
    top: 67%;
  }
  .imm-hotspot[data-target=labs] {
    top: 69%;
  }
  .top_logo_video {
    margin-top: 95px !important;
  }
  .sticky-logo {
    top: 3%;
    right: 8%;
    width: 30px;
  }
  #mission_statement {
    margin-top: -350px;
  }
  .footer-flex {
    text-align: center;
    gap: 40px;
  }
  .left-col,
  .right-col {
    text-align: center;
    align-items: center;
  }
  .mid-col {
    order: 3;
  }
  .timeline-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    margin: 0;
    gap: 10px;
  }
  .timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    box-sizing: border-box;
  }
  .step-icon {
    margin-right: 0;
    margin-bottom: 15px;
    flex-shrink: 0;
  }
  .step-content {
    width: 100%;
  }
  .timeline-arrow {
    transform: rotate(90deg);
    font-size: 2rem;
    margin: 10px 0;
    color: #03989e;
    display: block;
    text-align: center;
  }
  .step-detail {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s;
    opacity: 0;
  }
  .timeline-step:active .step-detail,
  .timeline-step:hover .step-detail {
    max-height: 500px;
    opacity: 1;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .lang-switch {
    gap: 4px;
  }
  .lang-btn {
    font-size: 15px;
    padding: 0 1px;
  }
  .lang-separator {
    font-size: 12px;
  }

  .nav-links a,
  .sparrow-link .first-letter {
    color: #fff !important;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 28px;
  }
  .contact-title,
  p {
    font-size: 18px;
  }
  .side-nav {
    top: 25px;
  }
  .spec-card {
    padding: 20px 15px !important;
    width: 100%;
    box-sizing: border-box;
  }
  .spec-list li {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .text-block {
    padding: 20px 15px;
  }
  .hamburger {
    display: block;
    z-index: 2001;
    margin-left: auto;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:first-child {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-links {
    position: fixed;
    top: 90px;
    right: 5%;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: 0.3s;
  }
  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    background-color: #03989e;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 18px;
    width: fit-content;
  }
  #mission_statement {
    margin-top: -250px !important;
  }
  .section-hero {
    min-height: 80vh !important;
    padding-top: 20px !important;
  }
  .intro-box {
    margin-top: 90px !important;
    padding: 30px 20px !important;
  }
  .top_logo_video {
    margin-top: 70px !important;
  }
  .scroll-indicator {
    margin-top: 30px !important;
  }
  .independent-bg {
    top: 80vh !important;
    margin-top: 40px !important;
  }
  .timeline-img {
    padding: 10px;
    margin-top: 25px;
  }
  .sparrow-link {
    font-size: 24px !important;
  }
  .imm-details-box {
    bottom: 20px;
  }
  .imm-title {
    font-size: 1.3rem;
  }
  .imm-desc {
    font-size: 1rem;
    padding: 10px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }
  .split-left,
  .split-right {
    width: 100%;
    padding: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .imm-hotspot[data-target=institutions],
  .imm-hotspot[data-target=labs] {
    top: 62%;
  }
  .imm-hotspot[data-target=ats] {
    top: 49.2%;
  }
  .imm-hotspot[data-target=academia] {
    top: 61.8%;
  }
  .imm-hotspot {
    width: 10px;
    height: 10px;
  }
  .footer-logo {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
  }
  .scroll-top-btn {
    width: 20px;
    height: 20px;
  }
  .email-link {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .linkedin-icon-link img {
    width: 40px;
    height: auto;
    transition: transform 0.3s;
  }
  .footer-tagline {
    font-size: 0px;
  }
}

@media (max-width: 580px) {
  #mission_statement {
    margin-top: -280px !important;
  }
}

@media (max-width: 380px) {
  #mission_statement {
    margin-top: -170px !important;
  }
}

@media (max-width: 360px) {
  #mission_statement {
    margin-top: -220px !important;
  }
}

.target-lines-container {
  max-width: 80%;
  margin: 0 auto;
  padding: 20px;
}

.target-line {
  display: flex;
  align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px solid rgba(3, 152, 158, 0.2); /* Ligne fine de séparation */
  transition: all 0.4s ease;
}

.target-line:last-child {
  border-bottom: none;
}

/* Effet au survol : on met légèrement en avant la ligne */
.target-line:hover {
  background: rgba(3, 152, 158, 0.05);
  padding-left: 20px; /* Petit décalage vers la droite */
}

.line-content h3 {
  color: #03989e;
  font-size: 1.4rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.line-content p {
  color: #eee;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.line-link {
  display: inline-block;
  margin-top: 15px;
  color: #03989e;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.line-link:hover {
  border-bottom: 1px solid #03989e;
}

/* Responsive */
@media (max-width: 768px) {
  .target-line {
    flex-direction: column;
    padding-left: 10px;
  }
  .line-icon {
    margin-bottom: 15px;
  }
}

/* ==========================================================================
   Partner banner
   ========================================================================== */

.partner-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 46px;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 9px 24px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.4px;
  background:
    linear-gradient(90deg,
      rgba(3, 152, 158, 0.08),
      rgba(3, 152, 158, 0.28),
      rgba(255, 255, 255, 0.08),
      rgba(3, 152, 158, 0.28),
      rgba(3, 152, 158, 0.08)
    );
  border-bottom: 1px solid rgba(3, 152, 158, 0.45);
  box-shadow:
    0 0 18px rgba(3, 152, 158, 0.35),
    0 8px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: 0.3s ease;
}

.partner-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );
  transform: translateX(-100%);
  animation: partner-banner-sweep 5s infinite;
  pointer-events: none;
}

.partner-banner:hover {
  box-shadow:
    0 0 24px rgba(3, 152, 158, 0.55),
    0 10px 35px rgba(0, 0, 0, 0.35);
}

.partner-banner-cta {
  color: #e0f7fa;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(3, 152, 158, 0.8);
}

@keyframes partner-banner-sweep {
  0% { transform: translateX(-100%); }
  45%, 100% { transform: translateX(100%); }
}

.side-nav {
  top: 64px;
}

.scroll-indicator-link {
  text-decoration: none;
  display: block;
}

@media (max-width: 768px) {
  .partner-banner {
    min-height: 42px;
    padding: 8px 14px;
    gap: 8px;
    font-size: 12px;
    text-align: center;
  }

  .partner-banner-text {
    max-width: 68%;
    line-height: 1.25;
  }

  .partner-banner-cta {
    font-size: 12px;
  }

  .side-nav {
    top: 62px;
  }

  .nav-links {
    top: 120px;
  }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}