*{
  box-sizing: border-box;
  background-color: #272B3B;
  font-family: Helvetica;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'roboto'; /* Name for your font */
  src: url('../fonts/Roboto/Roboto-VariableFont_wdth\,wght.ttf') format('truetype'); /* Path to the font file */
}

body {
  box-sizing: border-box;
  background-color: #272B3B;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

section {
  margin-left: 30px;
  margin-right: 30px;
}

body::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Edge */
}

.divider {
  display: block;
  margin: 0 auto; /* Automatically centers horizontally */
  margin-top: 5vh;
  margin-bottom: 7vh;
}


/* Style for the heading */
.heading {
  background-color: #a8dce7;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0;
  color: black;
}

.title {
  text-align: left;
  
  
}

.motto h2,
.paragraph h6 {
  text-align: center;
  background-color: #a8dce7;
  font-size: 22px;
}




/* Tablet: Two sections in the first row, one in the second row */
@media (min-width: 768px) {
  .pastpresent {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns layout */
    gap: 30px; /* Space between items */
    margin: 50px;
    max-width: 900px;
   justify-content: center; /* Center items vertically */
  }

  .mission {
    grid-column: 1; /* First column */
  }

  .past {
    grid-column: 2; /* Second column */
  }

  .how {
    grid-column: span 2; /* Take up the entire second row */
  }

  .heading {
    padding-left: 30px;
    padding-right: 30px;
  }

  .mission p,
  .past p,
  .how p {
    font-size: 0.8rem;
  }
  .pastpresent .divider {
    display: none; /* Hide the divider */
  }
}

/* Desktop: All sections in the same row */
@media (min-width: 1024px) {
  .pastpresent {
    display: flex;
    flex-direction: row; /* Arrange items in a single row */
    justify-content: space-around; /* Space out sections evenly */
    align-items: flex-start; /* Align items to the top */
    gap: 70px; /* Space between sections */
    margin: 100px auto;
    max-width: 1100px;
  }

  .mission,
  .past,
  .how {
    flex: 1; /* Equal width for all sections */
  }

  .pastpresent .divider {
    display: none; /* Hide the divider */
  }

  .heading {
    padding-left: 50px;
    padding-right: 50px;
  }

  .mission p,
  .past p,
  .how p {
    font-size: 1rem; /* Adjust font size for desktops */
  }
}

/* Common styles for all sections */
.common-section {
  text-align: center;
  padding: 10px;
  display: flex;
  flex-direction: column;
  border-radius: 19px;
  padding-bottom: 50px;
  padding-top: 50px;
  max-width: 500px;
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Start slightly below */
  transition: opacity 1s ease, transform 1s ease; /* Smooth transition */
}

/* Title styling */
.mission h2,
.past h2,
.how h2 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #a8dce7; /* White font color */
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
  text-align: center;
  margin-left: 30px;
  margin-right: 30px;
  font-family: robato;}

/* Paragraph styling */
.mission p,
.past p,
.how p {
  font-size: 1rem;
  color: white; /* White font color */
  line-height: 1.8;
  text-align: center;
  margin: 10px 0;
  word-spacing: 1px;
}

/* Animation */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Active class for animation */
.common-section.active {
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Move to original position */
}



.board-container,
.founders-container {
  display: flex; /* Use Flexbox layout */
  flex-direction: column; /* Arrange items in a column */
  align-items: center; /* Center items horizontally */
  justify-content: center; /* Center items vertically */
  margin: 0 auto; /* Center the container horizontally on the page */
  margin-left: 30px;
  margin-right: 30px;

}


.founders-container {
  margin-bottom: 7vh;
}

.title {
  text-transform: uppercase;
  text-align: center;
  color: #a8dce7;
  margin-bottom: 4vh;
  font-family: robato;
  
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
}

/* Grid Layout - Board and Founders */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 10px;

}

.grid-item {
  display: flex;
  justify-content: center;
}

.full-width {
  grid-column: span 2;
}

/* Member Card Styling */
/* Member card styling */
.member-card {
  background-color: #a8dce7;
  width: 100%;
  min-width: 100px;
  padding: 20px 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Start slightly below */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

/* Animation */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Active class for animation */
.member-card.active {
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Move to original position */
}
.board-container .member-card{
  max-width: 150px;

}
.founders-container .member-card{
  max-width: 140px;
}

.founders-container .member-card .name{
  font-size: 13.4px;
}

.member-image {
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #555;
  font-weight: bold;
  background-color: #a8dce7;
}

.member-image img {
  width: 100%;
  max-width: 150px;
  max-height: 150px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover; /* Ensures the aspect ratio is preserved */
}


.name {
  font-size: 14px;
  font-weight: bold;
  margin: 5px 0;
  background-color: #a8dce7;
  color: black;
}

.role {
  font-size: 14px;
  color: #333;
  background-color: #a8dce7;
}
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5vh;
}

.button {
  background-color: #a8dce7;
  color: black;
  text-decoration: none; /* Remove underline from the link */
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  font-weight: bold;
}

.button:hover {
  background-color: #88c1d2;
}


@media (min-width: 1024px) {
  .heading{
     padding: 70px;
  }
}


