:root {
    --background: #ffffff;
    --foreground: #171717;
  }
  
  @media (prefers-color-scheme: dark) {
    :root {
      --background: #CDCDCD;
      --foreground: #000000;
    }
  }
  
  /* Full height & base */
  html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }
  
  body {
    color: var(--foreground);
    background: var(--background);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  }
  
  /* Header / Nav */
  .header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background);
    padding-top: 10px;
    padding-left: 12%;
    padding-right: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    width: 100%;
    padding-right: 5%;
  }
  
  .nav-links {
    display: flex;
  }
  
  .nav-links a {
    margin-left: 20px;
    text-decoration: none;
    font-weight: 600;
    color: black;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #027B3E;
  }
  
  /* Main content container */
  .content-container {
    flex: 1;
    width: 85%;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 0;
  }
  
  .content-container:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  /* Hero */
  .hero {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-group {
    display: flex;
    align-items: center;
    gap: 20%;
  }
  
  .hero-content { flex: 1; }
  
  .hero-button {
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 30px;
    font-weight: bold;
    line-height: 110%;
    margin-bottom: 5px;
    letter-spacing: 3px;
    max-width: 90%;
    margin-left: 1px;
  }
  
  .highlight { color: #027B3E; }
  
  .hero p {
    font-size: 20px;
    line-height: 1.5;
  }
  
  @media (max-width: 768px) {
    .hero-group {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20%;
    }
  }
  
  /* Big image */
  .image-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    padding-top: 5%;
    padding-bottom: 2%;
    overflow: hidden;
  }
  
  .image-container img {
    max-width: 100%;
    height: auto;
    max-width: none;
  }
  
  /* About */
  .about-section {
    width: 85%;
    margin: auto;
    padding: 20% 0 20%;
    position: relative;
  }
  
  .about-columns {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  
  .about-text {
    flex: 1;
    padding-left: 7%;
    font-size: large;
  }
  
  /* .about-logos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
    justify-items: center;
    position: relative;
  } */

/* ---- Logos: responsive, no stretching ---- */
:root {
  /* Each logo cell height scales with viewport, stays between 70–130px */
  --logo-h: clamp(70px, 12vw, 130px);
}

.about-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--logo-h);
  width: 100%;
  padding: 6px;         /* breathing room */
  box-sizing: border-box;
}

.logo-item img {
  max-height: 100%;
  max-width: 100%;
  height: auto;         /* keep aspect ratio */
  width: auto;          /* keep aspect ratio */
  object-fit: contain;  /* fit inside the box, never stretch */
  display: block;
}

/* Optional: tighten on small screens */
@media (max-width: 768px) {
  .about-logos { gap: 28px; }
}

  @media (max-width: 768px) {
    .about-columns {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .about-text { padding-left: 0; }
  }
  
  /* Buttons */
  .learn-more {
    display: block;
    margin: 10% auto 0;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: black;
    background: #ffffff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
  }
  .learn-more:hover { background: #8d8d8d; }
  
  /* Footer */
  .footer {
    background-color: #027B3E;
    opacity: 50%;
    width: 150vw;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* People */
  .people-container {
    text-align: center;
    padding: 20px;
    margin: 5% 5% 0 5%;
  }
  
  .people-container h2 {
    font-size: 24px;
    margin: 5%;
  }
  
  .people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
    gap: 10px;
    justify-content: center;
  }
  
  .person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  
  .person-image-container {
    position: relative;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 0;
  }
  
  .person-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
    filter: grayscale(100%);
  }
  
  .person-hover-text {
    position: absolute;
    inset: 0;
    background: #027b3e7f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size: 12px;
    padding: 10px;
    text-align: center;
  }
  
  .person-image-container:hover .person-image { opacity: 0.2; }
  .person-image-container:hover .person-hover-text { opacity: 1; }
  
  .person-name {
    margin-top: 8px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
  }
  
  /* Tutorial bits (kept from your CSS) */
  .tutorial-container { margin: auto; }
  .tutorial-container h1 { font-size: 24px; font-weight: bold; margin-bottom: 10%; }
  .tutorial-container h2 { font-size: 20px; font-weight: bold; margin-bottom: 2%; }
  .tutorial-container p  { font-size: 20px; font-weight: bold; }
  .tutorial-container ol { font-size: 18px; font-weight: normal; padding-left: 20px; margin-bottom: 2%; list-style-type: decimal; }
  .tutorial-container ol li::marker { font-weight: bold; }
  .tutorial-container ol li { margin-bottom: 8px; }
  .tutorial-container ul { font-size: 18px; font-weight: normal; padding-left: 20px; margin-bottom: 10%; list-style-type: disc; }
  .tutorial-container ul li { margin-bottom: 8px; }
  
  .colab-github-section { display: flex; justify-content: left; gap: 20px; margin: 20px 0; }
  .open-button { display: flex; align-items: center; gap: 10px; padding: 10px 15px; font-size: 16px; font-weight: bold; text-decoration: none; border-radius: 6px; transition: background 0.3s ease-in-out; }
  .colab-button { background-color: #fdd37882; color: black; border: 2px solid #F57C00; }
  .colab-button:hover { background-color: #f57C00; }
  .github-button { background-color: #24292e88; color: white; border: 2px solid #2f363d; }
  .github-button:hover { background-color: #2f363d; }
  .button-logo { width: 50px; height: 50px; }
  
  .code-block-container { background:#1e1e1e; color:#d4d4d4; padding:15px; border-radius:5px; position:relative; margin-top:20px; font-family:"Fira Code", monospace; }
  .code-header { display:flex; justify-content:space-between; align-items:center; font-size:14px; color:#fff; margin-bottom:8px; }
  .code-block { overflow-x:auto; font-size:14px; line-height:1.6; padding:10px; white-space:pre-wrap; background:#252526; border-radius:5px; }
  .copy-button { background:none; border:none; cursor:pointer; color:#d4d4d4; }
  .copy-button:hover { color:#fff; }
  
  /* Green banners */
  .green-banner-section { width: 100vw; margin: 0; padding: 5% 5% 15% 5%; }
  .green-banner {
    background-color: rgba(2,123,62,0.5);
    width: 50vw;
    height: 50vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: visible;
  }
  .green-text {
    color: white;
    max-width: 45%;
    font-size: calc(1rem + 0.5vw);
    line-height: 1.4;
  }
  .green-image-container { margin-left: 5vw; z-index: 2; }
  .green-banner-image {
    width: 300%;
    max-width: 700px;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    object-fit: cover;
  }
  
  /* Alt banner */
  .green-banner-section-alt { width:100vw; display:flex; justify-content:flex-end; padding-right:5vw; padding-bottom:10%; }
  .green-banner-wrapper { display:flex; align-items:center; gap:60px; }
  .green-button-outside {
    display: inline-block;        /* Works for <a> and <button> */
    padding: 10px 20px;
    border-radius: 50px;
    background-color: white;
    color: #575656;               /* Example: green text */
    font-weight: bold;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    text-decoration: none;        /* Removes underline from <a> */
    text-align: center;           /* Centers text in <a> */
  }
  
  .green-button-outside:hover,
  .green-button-outside:focus {
    background-color: #f0f0f0;
    color: #000000;                /* Darker green on hover */
    text-decoration: none;         /* Prevent underline on hover */
  }
  
  
  .green-banner-alt {
    background-color: rgba(2,123,62,0.5);
    width: 50vw;
    height: 50vh;
    margin-left: auto;
    margin-right: 5vw;
    padding: 20px;
    box-sizing: border-box;
    display:flex; flex-direction:row; justify-content:space-between; align-items:center;
    position:relative; overflow:visible;
  }
  .green-text-alt {
    color:white; font-size: calc(1rem + 0.5vw); max-width:45%; line-height:1.4; text-align:right;
  }
  .green-image-container-alt { flex:0 0 45%; box-sizing:border-box; }
  .green-banner-image-alt {
    width: 100%;
    max-width: 700px;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    object-fit: cover;
  }
  
  @media (max-width: 768px) {
    .green-banner, .green-banner-alt {
      width: 100vw;
      height: auto;
      flex-direction: column;
      align-items: center;
      padding: 10px;
      margin: 0;
    }
    .green-text, .green-text-alt { max-width: 90%; text-align: center; margin-bottom: 20px; }
    .green-image-container, .green-image-container-alt { margin-left: 0; margin-right: 0; }
    .green-banner-image, .green-banner-image-alt { width: 90vw; max-width: none; }
  }
  
  .card-title { letter-spacing: 0.2px; }

  .btn.disabled[role="button"] {
    pointer-events: none;
    opacity: 0.65;
  }
  
