* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to right, #eef2f3, #ffffff);
    color: #333;
    line-height: 1.6;
  }

  nav {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
  }

  nav ul li a {
    text-decoration: none;
    color: #0b3d91;
    font-weight: 600;
    transition: color 0.3s;
  }

  nav ul li a:hover {
    color: #2da598;
  }

  header {
    text-align: center;
    background: linear-gradient(rgba(11, 61, 145, 0.85), rgb(0 1 1 / 85%)), url(assets/lab-background.jpg) center / cover no-repeat;
    color: white;
    padding: 4rem 1rem 2rem;
  }

  header img.logo {
    /* max-height: 80px; */
    margin-bottom: 1rem;
    max-width: 80%;
  }



  header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
  }

  .cta-button {
    background: #2da598;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
  }

  .cta-button:hover {
    background: #248e82;
  }

  main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    gap: 2rem;
  }

  section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  

  section:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  section > a {
    margin: 1.1rem;
  }

    h1 {
        margin: 1rem;
    }

  h2 {
    font-size: 2rem;
    color: #0b3d91;
    margin: 1.1rem;
  }

  p, li {
    font-size: 1.1rem;
    margin: 1.1rem;
  }

  ul {
    list-style-type: none;
    padding-left: 0;
  }

  ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .ul li::before {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  ul.microscope-theme li::before {
    content: '🧪';
    margin-right: 0.5rem;
    /* display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0; */
  }

  footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #666;
    font-size: 0.9rem;
  }

  @media (max-width: 768px) {
    nav ul {
      display: flex;
      justify-content: space-between; /* Evenly distributed with space */
      flex-wrap: nowrap;              /* Prevent wrapping */
      padding: 0 6px;                /* Prevent edge clipping */
      overflow: hidden;               /* Prevent scrolling */
      width: 100%;
      box-sizing: border-box;
      
    }
  
    nav ul li {
      flex: 1;                         /* Ensure even distribution */
      text-align: center;
      padding:0px;
      margin:0px;
      text-align: center;
    }
  
    nav ul li a {
      display: block;
      padding: 1rem 0.5rem;
      font-size: 0.95rem;
      white-space: nowrap;            /* Prevent text from wrapping */
    }
  
    header h1 {
      font-size: 2.2rem;
    }
  
    h2 {
      font-size: 1.5rem;
    }

    section {
      padding: 20px 0px;
    }

    main {
      padding:0px;
    }

    section.contact-form {
      padding:20px;
    }
  }


  
  