* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #1f1f1f;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

/* WRAPPER TO HANDLE FOOTER POSITIONING */
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* MAIN CONTENT TAKES UP AVAILABLE SPACE */
main {
  flex: 1;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #141414;
  border-bottom: 2px solid #009ee1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px; /* Reduce padding a bit for mobile */
  box-sizing: border-box;
  z-index: 999;
  flex-wrap: wrap; /* allow items to wrap on mobile */
}

html {
  scroll-behavior: smooth;
}

/* Logo section */
.nav-logo {
  display: flex;
  align-items: center;
  color: #009ee1;
  font-size: 36px;
  font-weight: bold;
}

.nav-brand-text {
  padding-left: 5px;
  color: #009ee1; /* make visited links the same color */
  text-decoration: none;
}

.nav-brand-link {
  color: #009ee1;
  text-decoration: none;
}

.nav-brand-link:visited {
  color: #009ee1;
  text-decoration: none;
}

.nav-brand-link:hover {
  text-decoration: underline;
  color: #00bfff; /* optional: slightly lighter on hover */
}

.nav-logo-img {
  width: 40px; /* control size directly */
  height: auto;
  margin-right: 10px; /* spacing between logo and text */
}

/* Nav links */
.nav-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 50px;
  font-size: 24px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #009ee1;
}

.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* BURGER MENU (basic responsive fallback) */
.burger {
  display: none; /* hidden by default; add media query if needed */
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
}

/* MAIN BODY SECTION */
.body3 {
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 50px;
  background-color: #1f1f1f;
  font-family: 'Poppins', sans-serif;
  font-size: x-large;
  text-align: center;
  line-height: 100%;
}

.body4 {
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 50px;
  background-color: #1f1f1f;
  font-family: 'Poppins', sans-serif;
  font-size: x-large;
  text-align: center;
  line-height: 100%;
}

.para5 {
  text-align: center;
  font-family: 'Poppins',sans-serif;
  font-size: 50px;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 30px;
}

.para6 {
  text-align: center;
  font-family: 'Poppins',sans-serif;
  font-size: 50px;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 30px;
}

.bolded {
  font-weight: bold;
}

/* BOARD MEMBER PROFILES */
.founders-content-wrapper1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
  gap: 40px;
  margin-top: 70px;
  padding-left: 60px;
  padding-right: 60px;
}

.founders-content-wrapper2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px; /* space between each founder block */
  margin-top: 50px;
  padding-left: 60px;
  padding-right: 60px;
}

.content-wrapper2 {
  display: flex;
  align-items: flex-start;
  flex: 1 1 auto; /* each takes roughly 30% of the row */
  gap: 20px;
}

.founders-content-wrapper3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
  gap: 40px;
  margin-top: 70px;
  padding-left: 60px;
  padding-right: 60px;
}

.content-wrapper3 {
  display: flex;
  align-items: flex-start;
  flex: 1 1 auto; /* each takes roughly 30% of the row */
  gap: 20px;
}

.founder-photo {
  width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.founder-info h3 {
  margin: 0 0 10px 0;
  text-align: left;
  font-size: 1.5rem;
  font-weight: bold;
  color: #009ee1; /* match your blue */
}

.founder-info p {
  margin: 0;
  text-align: left;
  font-size: 1rem;
  color: #fff;
}

.founder-info p:not(:last-child) {
  margin-bottom: 10px; /* adjust spacing as needed */
}

@media (max-width: 600px) {
   .burger {
    display: block;
    color: white
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 85px;
    right: 20px;
    background-color: #141414;
    border: 2px solid #009ee1;
    padding: 10px;
    z-index: 1000;
  }

  .nav-brand-text {
    font-size: 60%;
  }

  .nav-logo-img {
    size: 60%;
  }

  .nav-links a {
    font-size: 1rem;
    text-align: left;
    margin: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  h2 {
    font-size: 1.7rem;
    line-height: 1.4;
  }

  .para5 {
    font-size: 32px;
    padding: 0 15px;
  }

  /* Founders section in body3 */
  .founders-content-wrapper1 {
    grid-template-columns: 1fr; /* single column on mobile */
    padding: 20px 20px;
  }

  .content-wrapper2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .content-wrapper3 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .founder-photo {
    width: 80%;
    max-width: 300px;
  }

  .founder-info h3,
  .founder-info p {
    text-align: center;
  }
}

/* FADE EFFECT (BOTTOM) */
.bottom-fade {
  height: 60px;
  background: linear-gradient(to bottom, transparent, #1f1f1f);
  pointer-events: none;
}

/* FOOTER */
.footer-bar {
  background-color: #000000;
  color: #ffffff;
  padding: 16px;
  font-size: 24px;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-content a {
  color: #ffffff;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}