/* reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: #f7fafc;
  color: #1a1a1a;
  scroll-behavior: smooth;
}
a {
  color: #1e5c38;          
  /* text-decoration: none;   */
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--primary);
  text-decoration: underline;
}

:root {
  --primary: #2b7a4b;
  --primary-light: #d6f2e3;
  --secondary: #3a6ea5;
  --text-muted: #5f6b7a;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: #111;
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 6px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
}
.logo:hover {
  color: #116a3f;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary);
  outline: none;
}

/* HERO */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg,#ebfbee 0%, #f8fbff 100%);
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
}

.hero-label {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-block;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 44px;
  margin: 0 0 14px;
  line-height: 1.15;
}

.hero-subtitle {
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 530px;
}

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  border: 1px solid transparent;
  transition: 0.15s ease;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}
.btn.primary:hover,
.btn.primary:focus {
  background: #23643b;
  outline: none;
}
.btn.ghost:hover,
.btn.ghost:focus {
  background: #eef5ff;
  outline: none;
}

/* Prototype Slider */
.prototype-slider {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid #e5e5e5;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.prototype-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.prototype-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.prototype-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

/* dots are buttons now */
.p-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  border: none;
  padding: 0;
  display: inline-block;
}
.p-dot.active,
.p-dot:focus {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(43,122,75,0.12);
  outline: none;
}

/* focus-visible for keyboard users */
:focus-visible {
  outline: 3px solid rgba(43,122,75,0.18);
  outline-offset: 2px;
}

/* HERO TAG */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-tags span {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(0, 80, 21, 0.35);
  color: #204900;
  letter-spacing: 0.1px;
  backdrop-filter: blur(2px);
  transition: all 0.18s ease-in-out;
}

.stats {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
}

/* section - intro */
.section-intro {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 650px;
  margin: 0 auto 26px;
  text-align: center;
}

/* split */
.split {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 30px;
  align-items: start;
}

/* cards */
.section-card {
  background: var(--card-bg);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}
.team-card h3 {
  margin-bottom: 0px;   
}
.team-card p {
  margin-bottom: 0px;   
}
.team-card .photo {
  margin-top:25px;
}
.team-card .photo {
  margin-top: 20px;
  padding: 4px;                
  border: 1px solid #ddd;     
  border-radius: 14px;         
}

/* bullet */
.bullet-list {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--text-muted);
}

/* grid */
.pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 720px) {
  #results .section-text h2 {
    font-size: 34px;
  }
  #results .section-text p,
  #results .section-text .bullet-list,
  #results .section-text ol {
    font-size: 16px;
  }
  #results .container {
    padding: 0 16px;
  }
}

.pill {
  border-radius: var(--radius);
  background: #f3faff;
  border: 1px solid var(--border);
  padding: 12px;
}

.pill h4 {
  margin: 0 0 6px;
  color: var(--secondary);
  font-size: 15px;
}

.pill p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

/* workflow*/
.workflow {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.workflow-step {
  width: 190px;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 14px;
  text-align: center;
}

.step-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

/* paper */
.download-card {
  background: #ffffff;
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  border: 1px solid var(--border);
}

/* team */
.team-grid {
  display: flex;
  gap: 16px;
  padding: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 10px;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-card h3{
  font-size:22px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.team-card .avatar {
  display: none;
}

#linkedin-phoebe img {
  transform: scale(0.14); /* giáº£m cÃ²n 70% */
  transform-origin: center;
}
#linkedin-phoebe.linkedin{
  width: 50px;
  height:flex;
}

.team-card .photo {
  width: 100%;
  max-width: clamp(200px, 16vw, 200px);
  margin: 0 auto 12px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

/* footer */
.footer {
  padding: 22px 0;
  background: #fafafa;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* advisor card */
.advisor-card {
  max-width: 700px;
  margin: 50px auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 40px 50px;
}

.advisor-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.advisor-info {
  flex: 1;
}

.advisor-name {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: #333;
}

.advisor-title {
  margin: 6px 0 25px;
  font-size: 15px;
  color: #666;
    font-family: "Inter", sans-serif;
}

.advisor-block h3 {
  margin: 0 0 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
}

.advisor-block p {
  margin: 3px 0;
  font-size: 15px;
  color: #333;
}

.advisor-email {
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.advisor-photo img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}

/* about lab */
.lab-about-section {
  width: 100%;
  padding: 10px 0;
  background: #ffffff;
}

.lab-about-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.lab-about-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}

.lab-about-section p {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.65;
  color: #333;
  margin-bottom: 20px;
}

.lab-about-section ul {
  margin-top: 10px;
  padding-left: 22px;
  /* max-width: 780px; */
}

.lab-about-section li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: #444;
}
/* badge new tag */
.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
  vertical-align: middle;
}

.badge.new {
  background: #5bb75f;   /* hoặc xanh tuỳ theme */
  color: white;
}

/* responsive */
@media (max-width: 900px) {
  .advisor-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .advisor-photo img {
    width: 160px;
    height: 160px;
    margin-top: 20px;
  }
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-row-2 {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 24px;
}
@media (max-width: 600px) {
  .team-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .team-row-2 {
    flex-direction: column;
    gap: 16px;
  }
}
#donor-sponsor img {
  max-width: 500px; 
  width: 100%;    
  height: auto;   
  display: block;
  margin: 16px auto 0 auto;
}
#solution,#results,#team {
background-color: #f5f5f5;
}
/* mobile */
@media(max-width: 860px) {
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }
  .team-card {
  width: 100%;
  max-width: 300px;   
  flex: 1 1 auto;    
  box-sizing: border-box;
}

.team-card .photo img {
  width: 100%;        
  height: auto;       
  object-fit: cover; 
}

/* respect reduced motion by disabling auto-animations for users who request it */
@media (prefers-reduced-motion: reduce) {
  .prototype-track { transition: none !important; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
}