/* ===============================
   Design tokens (from index.css)
   =============================== */

:root {
  --background: #0f0f0f;
  --foreground: #ffffff;

  --card: #141414;
  --card-foreground: #ffffff;

  --popover: #1b2633;
  --popover-foreground: #ffffff;

  --primary: #529bd9;
  --primary-foreground: #ffffff;

  --secondary: #33cccc;
  --secondary-foreground: #ffffff;

  --muted: #2d3e50;
  --muted-foreground: #dedede;

  --accent: #e87a90;
  --accent-foreground: #ffffff;

  --destructive: #e62e2e;
  --destructive-foreground: #ffffff;

  --border: #36485a;
  --input: #36485a;
  --ring: #529bd9;

  --radius: 1.5rem;

  --gradient-primary: linear-gradient(
    175deg,
    var(--primary) 0%,
    var(--secondary) 100%
  );
  --gradient-hero: linear-gradient(
    90deg,
    /* left-to-right */ var(--background) 0%,
    #1f1f1f 100% /* slightly lighter dark grey */
  );
  --gradient-accent: linear-gradient(
    135deg,
    hsl(182 57% 40%) 0%,
    hsl(203 48% 22%) 100%
  );

  --shadow-soft: 0 1px 3px #0000000a, 0 1px 2px #00000008;
  --shadow-medium: 0 4px 6px #0000000a, 0 2px 4px #00000008;
  --shadow-large: 0 10px 15px #0000000d, 0 4px 6px #0000000a;
}

/* Animation definitions */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes gradient-rotate {
  0% {
    --gradient-angle: 0deg;
  }
  100% {
    --gradient-angle: 360deg;
  }
}

/* ===============================
   Base / reset
   =============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
* {
  font-family: "Open Sans", Arial, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  padding-top: 80px; /* for fixed header */
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ===============================
   Layout helpers
   =============================== */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    max-width: 70vw;
  }
  .hero .container {
    max-width: 90vw;
  }
}

.section {
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

/* ===============================
   Typography
   =============================== */

/* Headings based on your React home page */

/* Hero-sized main heading */
h1 {
  font-size: clamp(5rem, 4vw, 5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

/* Section titles ("AntiPath-ML...", "Vaccine Genomics", etc.) */
h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #23e0d8;
}

/* Feature block titles ("Precision Detection" etc.) */
h3 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

/* Smaller subheadings if you ever need them */
h4 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

/* Body text */
p {
  font-size: 1.2rem; /* base text size */
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 0 0 1rem;
}

/* Slightly larger intro/lead paragraphs (hero + section intros) */
p.lead {
  font-size: 1.1rem;
  line-height: 1.7;
}

i.fa-brands {
  font-size: 2rem;
  margin: 16px;
}

/* ==== Class-based helpers now only handle color / layout, NOT font-size ==== */

/* Gradient accent stays as-is */
.hero-title-accent {
  background: linear-gradient(180deg, #23e0d8, #23e0d8, #ff2369, #ed1c25);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.1em;
}

.our-offerings {
  border: 2px solid transparent;
  padding: 0.5rem;
  display: inline-block;
  border-radius: 42px;
  margin: 2rem;
  background: linear-gradient(#4a4545, #0f5f8a) padding-box;
  color: #59c5c7;
}
/* If your hero text is <h1 class="hero-title">, this just keeps margin behavior */
.hero-title {
  margin: 0 0 2rem;
}

/* Section title class – margin only, h2 controls typography */
.section-title {
  margin: 0 0 1rem;
}

/* Section intro paragraph – layout & color only */
.section-intro-large {
  color: var(--muted-foreground);
  max-width: 65rem;
  margin: 0 auto;
  font-size: 1.8rem;
  font-weight: 600;
}

.section-intro-large.intro-left {
  text-align: left;
  margin: 0 0 1rem 0;
}

.section-intro-small {
  color: var(--muted-foreground);
  max-width: 65rem;
  margin: 2rem auto;
  font-size: 1.3rem;
  font-weight: 400;
}

.section-intro-small.intro-left {
  text-align: left;
  margin: 1rem 0 2rem 0;
}

/* Feature title – margin only, h3 controls typography */
.feature-title {
  margin: 0 0 0.5rem;
}

/* Feature body – layout & color only */
.feature-body {
  color: var(--muted-foreground);
  margin: 0;
}

/* ===============================
   Header / Navigation
   =============================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  backdrop-filter: blur(16px);
  background-color: #0f0f0fcc;
}

/* FLEX CONTAINER */
.nav {
  display: flex;
  align-items: center;
  height: 4.5rem;
  position: relative;
  width: 100%;
}

/* LOGO – pinned left */
.nav-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.nav-logo-img {
  height: 3.6rem;
  width: auto;
}

/* NAV LINKS – pinned right on desktop */
.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-links .nav-link.active {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px; /* thinner underline */
  text-underline-offset: 4px; /* nice spacing */
  text-decoration-color: var(--primary);
  color: var(--primary); /* make selected text a primary color */
}

/* MOBILE: burger right */
.nav-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  position: relative;
  z-index: 60;
  flex-shrink: 0;
}

/* MAKE HEADER FULL-WIDTH (IMPORTANT) */
.site-header .container {
  max-width: 100%;
  margin: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.nav-toggle-checkbox {
  display: none;
}

/* Mobile menu styles */
@media (max-width: 767px) {
  .nav-toggle-checkbox:checked ~ .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -1.5rem;
    right: -1.5rem;
    width: auto;
    margin-left: 0;
    background-color: var(--background); /* #0f0f0f */
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
    z-index: 100; /* CRITICAL: Keeps it above the Hero section */
    gap: 1.5rem; /* Adds spacing between menu items */
    text-align: center;
  }

  /* Ensure individual links are visible and easy to tap */
  .nav-links .nav-link {
    font-size: 1.2rem;
    width: 100%;
    padding: 0.5rem 0;
  }
}

/* Desktop breakpoint */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* ===============================
   Buttons
   =============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.btn-lg {
  padding: 0.9rem 1.9rem;
  font-size: 1rem;
}

.btn-primary {
  border: 2px solid transparent;
  background:
    var(--gradient-primary) padding-box,
    conic-gradient(
        from var(--gradient-angle),
        var(--primary),
        var(--secondary),
        var(--accent),
        var(--primary)
      )
      border-box;
  animation: gradient-rotate 3s linear infinite;
  color: var(--background);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  box-shadow: var(--shadow-large);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid transparent;
  color: var(--foreground);
  background:
    linear-gradient(var(--background), var(--background)) padding-box,
    conic-gradient(
        from var(--gradient-angle),
        var(--primary),
        var(--secondary),
        var(--accent),
        var(--primary)
      )
      border-box;
  animation: gradient-rotate 3s linear infinite;
}

.btn-outline:hover {
  background:
    linear-gradient(#272727, #272727) padding-box,
    conic-gradient(
        from var(--gradient-angle),
        var(--primary),
        var(--secondary),
        var(--accent),
        var(--primary)
      )
      border-box;
  color: #fff;
  box-shadow: var(--shadow-medium);
}

.btn-icon {
  font-size: 1.1em;
}

/* ===============================
   Hero
   =============================== */

.hero-inner {
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  animation: fadeInUp 0.6s ease-out;
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

.hero-inner.hero-single {
  display: block;
  text-align: center;
  max-width: 60rem;
  margin: 0 auto;
}

.hero-text-content {
  flex: 1;
}

/* Hero image wrapper – matches React size but stays responsive */
.hero-media {
  margin: 0;
  max-width: 100%;
  width: 100%; /* let it shrink on smaller screens */
  flex: 1.4;
}

.about-hero-image {
  margin: 3rem auto 0;
  max-width: 56rem;
  flex: none;
}

/* Make sure the card takes full width of that wrapper */
.card-hero {
  overflow: hidden;
  border-radius: 1.1rem;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin-top: 0;
  border: 3px solid #23e0d8;
  padding: 2px;
  box-shadow: 0 0 15px #23e0d8;
}

/* Image already good, but for clarity: */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-action {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .hero-media {
    margin-top: 2rem;
  }
}

/* ===============================
   Cards & shared elements
   =============================== */

.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border-radius: 1.5rem;
  border: 1px solid #36485a80;
  box-shadow: var(--shadow-soft);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===============================
   Product / Features
   =============================== */

.our-offerings-section {
  background-color: #1c1c1c;
  padding-bottom: 80px;
  /* Ensures the fixed header doesn't cover the section title when scrolling */
  scroll-margin-top: 5rem;
}

.offerings-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.contents-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.pill-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 4.5rem;
  z-index: 40;
  padding: 1rem 0;
  will-change: transform;
}

.pill-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background-color: #1c1c1c;
  z-index: -1;
  box-shadow: 0 0 20px 10px #1c1c1c;
}

.pill-wrapper .our-offerings {
  margin: 0;
}

@media (min-width: 1024px) {
  .offerings-layout {
    display: block;
    padding-top: 3rem;
  }

  .contents-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
  }

  .section-vaccine > div {
    margin-top: 0;
  }

  .pill-wrapper {
    width: 100%;
    padding: 0;
    margin-bottom: 1rem;
    position: sticky;
    top: 6rem;
    z-index: 40;
    height: fit-content;
  }

  .pill-wrapper::before {
    top: -3rem;
  }

  .split-layout-content {
    grid-column: 1;
  }

  .split-layout-media {
    grid-column: 2;
  }
}

.section-header {
  margin-bottom: 2.5rem;
}

.our-offerings.compact {
  margin: 0 0 1.5rem 0;
}

/* ===============================
   New Features Section
   =============================== */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.feature-card {
  background-color: var(--card);
  color: var(--card-foreground);
  border-radius: 1.5rem;
  border: 1px solid #36485a80;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  text-align: left;
}

.feature-card.centered-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.features-grid.vertical {
  grid-template-columns: 1fr;
  margin-top: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* ===============================
   Vaccine Genomics
   =============================== */

.section-vaccine {
  margin-top: 30px;
}

/* ===============================
   Contact
   =============================== */

.section-contact {
  background: var(--gradient-accent);
}

.contact-action {
  margin-top: 2.5rem;
  text-align: center;
}

/* ===============================
   Footer
   =============================== */

.site-footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  padding-bottom: 2rem;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: inline-block;
}

.footer-logo-img {
  width: 8rem;
  height: auto;
}

.footer-mission {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
  max-width: 20rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-social a i {
  font-size: 1.4rem;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-text {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.footer-cookie-note {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  opacity: 0.7;
  margin-top: 30px;
  line-height: 1.5;
}

.footer-engineered {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  opacity: 0.7;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.footer-copy {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  margin: 0;
}

@media (min-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
    grid-template-rows: auto auto;
  }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 2fr 1fr;
  }
}

/* ===============================
   Animation (fade-in-up)
   =============================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   About page (add-only styles)
   =============================== */

/* Intro text on About page */
.about-intro {
  max-width: 52rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-about .section-title {
  max-width: 65rem;
  margin-left: auto;
  margin-right: auto;
}

.about-intro {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
   Milestones / Our Journey
   =============================== */

.milestones-list {
  max-width: 52rem;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.milestone-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.milestone-icon {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.ms-shape-border {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: rgba(0, 242, 255, 0.02);
  stroke: #144b6e;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.5));
}

.ms-dna-core {
  position: relative;
  width: 28px;
  height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ms-pair {
  position: relative;
  width: 100%;
  height: 1px;
}

.ms-rung {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1px;
  background: linear-gradient(90deg, #00f2ff, #008c95);
  transform: translate(-50%, -50%);
  animation: ms-rung-twist 2.5s infinite ease-in-out;
  opacity: 0.3;
}

.ms-dot {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 50%;
  top: -0.5px;
}

.ms-dot.a {
  animation: ms-twist-a 2.5s infinite ease-in-out;
  box-shadow: 0 0 4px #00f2ff;
}
.ms-dot.b {
  animation: ms-twist-b 2.5s infinite ease-in-out;
  box-shadow: 0 0 4px #008c95;
}

.milestone-content {
  flex: 1;
}

.milestone-year {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.milestone-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
}

@keyframes ms-twist-a {
  0%,
  100% {
    left: 0%;
    transform: scale(1.2);
    z-index: 2;
  }
  50% {
    left: 100%;
    transform: scale(0.8);
    z-index: 1;
    opacity: 0.4;
  }
}

@keyframes ms-twist-b {
  0%,
  100% {
    left: 100%;
    transform: scale(0.8);
    z-index: 1;
    opacity: 0.4;
  }
  50% {
    left: 0%;
    transform: scale(1.2);
    z-index: 2;
  }
}

@keyframes ms-rung-twist {
  0%,
  50%,
  100% {
    width: 100%;
  }
  25%,
  75% {
    width: 0%;
  }
}

.ms-pair.p1 .ms-dot,
.ms-pair.p1 .ms-rung {
  animation-delay: 0s;
}
.ms-pair.p2 .ms-dot,
.ms-pair.p2 .ms-rung {
  animation-delay: -0.4s;
}
.ms-pair.p3 .ms-dot,
.ms-pair.p3 .ms-rung {
  animation-delay: -0.8s;
}
.ms-pair.p4 .ms-dot,
.ms-pair.p4 .ms-rung {
  animation-delay: -1.2s;
}
.ms-pair.p5 .ms-dot,
.ms-pair.p5 .ms-rung {
  animation-delay: -1.6s;
}
.ms-pair.p6 .ms-dot,
.ms-pair.p6 .ms-rung {
  animation-delay: -2s;
}

/* ===============================
   AMR Milestone Icon
   =============================== */

.ms-scanner-container {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.ms-microbe {
  width: 10px;
  height: 20px;
  border: 1.5px solid #ffffff;
  border-radius: 10px;
  position: relative;
  animation: float-microbe 3s infinite ease-in-out;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.ms-scan-line {
  position: absolute;
  width: 120%;
  height: 1.5px;
  background: #00f2ff;
  box-shadow:
    0 0 8px #00f2ff,
    0 0 15px #00f2ff;
  z-index: 10;
  animation: laser-move 2s infinite linear;
}

.ms-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #00f2ff;
  border-radius: 50%;
  opacity: 0.5;
  animation: data-pulse 1.5s infinite;
}
.ms-particle.p1 {
  top: 15%;
  left: 15%;
}
.ms-particle.p2 {
  bottom: 15%;
  right: 15%;
  animation-delay: 0.7s;
}

@keyframes float-microbe {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(8deg);
  }
}

@keyframes laser-move {
  0% {
    top: -10%;
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

@keyframes data-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.8);
    opacity: 0.8;
  }
}

@media (max-width: 600px) {
  .milestone-icon {
    transform: scale(0.85);
  }
}

/* ===============================
   Equity Milestone Icon
   =============================== */

.ms-coin-flat {
  width: 45px;
  height: 45px;
  border: 2px solid #00f2ff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  color: #00f2ff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 26px;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
  text-shadow: 0 0 8px #00f2ff;
  animation: ms-flip-flat 4s linear infinite;
}

@keyframes ms-flip-flat {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0);
    opacity: 0.5;
  }
  100% {
    transform: scaleX(1);
  }
}

/* ===============================
   Founders & Team cards
   =============================== */

.section-founders {
  background: var(--gradient-hero);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.founder-card,
.team-card {
  padding: 1.75rem;
  text-align: center;
}

.founder-name,
.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--card-foreground);
}

.founder-role,
.team-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 0 0 0.75rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* === About page tweaks: square photos + centered single founder === */

/* Center the founders row even when there is only one card */
.section-founders .founders-grid {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .section-founders .founders-grid {
    display: grid; /* Revert to grid for 2 columns */
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Square photos for founder + team cards */
.founder-card img,
.team-card img {
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
}

.founder-card img {
  width: 11.6rem;
  height: 11.6rem;
  padding: 3px;
  background: linear-gradient(90deg, #23e0d8, #23e0d8, #ff2369, #ed1c25);
}
.team-card img {
  width: 8rem;
  height: 8rem;
  padding: 2px;
  background: #23e0d8;
}

.founder-sanjeev {
  object-position: top;
}

/* ===============================
   Split Layout
   =============================== */

.split-layout-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===============================
   DNA Animation
   =============================== */

.dna-bg-streamer {
  position: fixed;
  top: -50vh;
  left: 33rem;
  --dna-rotation: 45deg;
  transform: rotate(var(--dna-rotation, 0deg));
  width: 120px;
  height: 200vh;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
  animation: dna-zoom-out linear;
  animation-timeline: scroll();
  perspective: 800px;
  filter: brightness(1.3) saturate(1.2);
}

.dna-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  transform-style: preserve-3d;
  transform: rotateY(-30deg) rotateX(15deg);
  animation: dna-bob 4s ease-in-out infinite;
}

@media (max-width: 1024px) {
  .dna-bg-streamer {
    left: 50%;
    margin-left: -60px;
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .dna-bg-streamer {
    animation: none;
  }
  .dot.a,
  .dot.b {
    animation-play-state: paused;
  }
}

.pair {
  position: relative;
  width: 100%;
  height: 10px;
}

/* The connecting rung 
.pair::before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  background: var(--secondary);
  transform: translateY(-50%);
  animation: twist-line 6s infinite ease-in-out;
}*/

.dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  filter: drop-shadow(0 0 5px #ed1c25) drop-shadow(0 0 10px #ed1c25);
}

.dot.a {
  background: linear-gradient(135deg, #23e0d8, #ff2369);
  filter: drop-shadow(0 0 8px #23e0d8) drop-shadow(0 0 20px #23e0d8);
  animation: twist-a 6s infinite ease-in-out;
  animation-delay: calc(var(--i) * -0.4s);
}

.dot.b {
  background: linear-gradient(135deg, #ff2369, #23e0d8);
  filter: drop-shadow(0 0 8px #ff2369) drop-shadow(0 0 20px #ff2369);
  animation: twist-b 6s infinite ease-in-out;
  animation-delay: calc(var(--i) * -0.4s);
}

@keyframes twist-a {
  0%,
  100% {
    left: 0%;
    transform: scale(1.4);
    z-index: 2;
    opacity: 1;
  }
  50% {
    left: 100%;
    transform: scale(0.6);
    z-index: 1;
    opacity: 0.7;
  }
}

@keyframes twist-b {
  0%,
  100% {
    left: 100%;
    transform: scale(0.6);
    z-index: 1;
    opacity: 0.7;
  }
  50% {
    left: 0%;
    transform: scale(1.4);
    z-index: 2;
    opacity: 1;
  }
}

@keyframes twist-line {
  0% {
    left: 0;
    width: 100%;
    opacity: 0.3;
  }
  25% {
    left: 50%;
    width: 0;
    opacity: 0;
  }
  50% {
    left: 0;
    width: 100%;
    opacity: 0.3;
  }
  75% {
    left: 50%;
    width: 0;
    opacity: 0;
  }
  100% {
    left: 0;
    width: 100%;
    opacity: 0.3;
  }
}

@keyframes dna-zoom-out {
  to {
    transform: rotate(var(--dna-rotation, 0deg)) scale(0.7);
    opacity: 0.1;
  }
}

@keyframes dna-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -20px;
  }
}

/* ===============================
   Vaccine Integrity Icon
   =============================== */
.vi-container {
  position: relative;
  width: 100px;
  height: 100px;
}

.vi-hex-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #144b6e;
  stroke-width: 2;
}

.vi-dna-svg {
  position: absolute;
  top: 15px;
  left: 25px;
  width: 50px;
  height: 70px;
  overflow: visible;
}

.vi-strand {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.vi-strand-front {
  stroke: #00f2ff;
  filter: drop-shadow(0 0 4px #00f2ff);
  z-index: 2;
}

.vi-strand-back {
  stroke: #006066;
  z-index: 1;
}

.vi-rung {
  stroke: #00f2ff;
  stroke-width: 1;
  opacity: 0.3;
}

.vi-tick-mark {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 15px;
  height: 15px;
  z-index: 10;
}

.vi-tick-path {
  fill: none;
  stroke: #00f2ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px #00f2ff);
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: vi-drawCheck 1s ease-in-out infinite;
}

@keyframes vi-drawCheck {
  0% {
    stroke-dashoffset: 30;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  50% {
    stroke-dashoffset: 0;
  }
  85% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

/* ===============================
   Variant Analysis Icon
   =============================== */
.va-container {
  position: relative;
  width: 100px;
  height: 100px;
}

.va-hex-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #144b6e;
  stroke-width: 2;
  z-index: 10;
}

.va-dna-scroll-mask {
  position: absolute;
  top: 15px;
  left: 25px;
  width: 50px;
  height: 70px;
  overflow: hidden;
}

.va-dna-tall-track {
  width: 100%;
  height: 200px;
  overflow: visible;
}

.va-track-mover {
  animation: va-scrollUp 3s linear infinite;
}

@keyframes va-scrollUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-80px);
  }
}

.va-strand {
  fill: none;
  stroke: #00f2ff;
  stroke-width: 1px;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px #00f2ff);
  opacity: 0.9;
}

.va-rung {
  stroke: #00f2ff;
  stroke-width: 1;
  opacity: 0.5;
}

.va-scanner-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  box-shadow:
    0 0 4px #00f2ff,
    0 0 10px #00f2ff,
    0 0 20px #00f2ff;
  z-index: 20;
  animation: va-scanMove 2s ease-in-out infinite;
}

@keyframes va-scanMove {
  0% {
    top: -10%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

/* ===============================
   Multiplex Screening Icon
   =============================== */
.mx-container {
  position: relative;
  width: 100px;
  height: 100px;
}

.mx-hex-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #144b6e;
  stroke-width: 2;
  z-index: 10;
}

.mx-screen-mask {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: rgba(0, 242, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.mx-grid-svg {
  width: 100%;
  height: 100%;
}

.mx-dot {
  fill: #144b6e;
  transition: fill 0.3s ease;
}

.mx-hit-1 {
  animation: mx-flashHit 2s infinite;
  animation-delay: 0.4s;
}
.mx-hit-2 {
  animation: mx-flashHit 2s infinite;
  animation-delay: 0.9s;
}
.mx-hit-3 {
  animation: mx-flashHit 2s infinite;
  animation-delay: 1.4s;
}

@keyframes mx-flashHit {
  0% {
    fill: #144b6e;
    opacity: 0.5;
  }
  10%,
  40% {
    fill: #00f2ff;
    opacity: 1;
    filter: drop-shadow(0 0 4px #00f2ff);
  }
  100% {
    fill: #144b6e;
    opacity: 0.5;
  }
}

.mx-scanner {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  box-shadow:
    0 0 8px #00f2ff,
    0 0 15px #00f2ff;
  z-index: 20;
  animation: mx-scanGrid 2s linear infinite;
}

@keyframes mx-scanGrid {
  0% {
    top: -10%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

/* ===============================
   Benefits Icons (Precise, Affordable, Fast)
   =============================== */
.bf-container {
  position: relative;
  width: 48px;
  height: 80px;
}

.bf-inner-icon {
  position: absolute;
  top: 16px;
  left: 0;
  width: 48px;
  height: 48px;
  overflow: visible;
}

/* Precise */
.bf-target-ring {
  fill: none;
  stroke: #00f2ff;
  stroke-width: 2;
  opacity: 0.5;
}
.bf-target-cross {
  stroke: #00f2ff;
  stroke-width: 2;
  stroke-linecap: round;
}
.bf-target-dot {
  fill: #00f2ff;
  filter: drop-shadow(0 0 4px #00f2ff);
  transform-origin: center;
  animation: bf-pulse 2s infinite ease-in-out;
}

/* Affordable */
.bf-rupee {
  fill: none;
  stroke: #00f2ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px #00f2ff);
}

/* Fast */
.bf-bolt {
  fill: none;
  stroke: #00f2ff;
  stroke-width: 2;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px #00f2ff);
  animation: bf-flash 1.5s infinite alternate;
}

@keyframes bf-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.7);
    opacity: 0.7;
  }
}

@keyframes bf-flash {
  0% {
    stroke-opacity: 0.4;
    filter: drop-shadow(0 0 2px #00f2ff);
  }
  100% {
    stroke-opacity: 1;
    filter: drop-shadow(0 0 8px #00f2ff);
  }
}
