
/* Base styles */
body {
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;
    background: #fefff2; /* light grayish blue */
    color: #111;
  }
  
  /* Header section */
  header {
    background-color: #fefff2; /* slightly darker than body */
    padding: 2rem 1rem 1rem;
    text-align: center;
    border-top: 1px solid #000;
    border-bottom: none;
    position: relative;
  }
  
  /* Main title */
  h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
    font-family: 'Montserrat', serif;
  }
  
  /* Tagline */
  .tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    margin-top: 0.5rem;
    font-family: 'Quicksand', sans-serif;
  }
  
  /* Motto */
  .motto {
    font-size: 1rem;
    color: #555;
    font-style: italic;
    margin-top: 0.25rem;
    font-family: 'Quicksand', sans-serif;
  }
  
  /* Subhead styling */
  .subhead {
    font-size: 1rem;
    font-style: italic;
    text-transform: uppercase;
    color: #444;
    margin-top: 0.25rem;
  }
  
  /* Navigation menu */
  nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.75rem 2rem;
    border-top: 1px solid #d7d3d3;
    border-bottom: 1px solid #ccc;
    flex-wrap: wrap;
    background-color: #fbfcee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    font-family: 'Arial', sans-serif;
  }
  
  nav a:hover {
    background-color: #fafae3;
    color: #e6da9e;
    text-decoration: none;
  }
  
  /* Main content area */
  main {
    max-width: 800px;
    margin: auto;
    padding: 1.5rem;
    line-height: 1.5rem;
    font-family: 'Hubot Sans', sans-serif;
  }
  
  .centered-heading {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
  }
  
  /* Section lists */
  ul {
    list-style-type: disc;
    padding-left: 2 rem;
  }
  
  li {
    margin-bottom: 1rem;
  }
  
  /* Notice box */
  .notice-box {
    background-color: #fffacc;
    border: 1px solid #000000;
    padding: 15px 20px;
    margin: 20px auto;
    width: 80%;
    text-align: justify;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 2rem 0;
    background: #d0e0ee;
    margin-top: 2rem;
    font-family: 'Hubot Sans', sans-serif;
  }
  
  footer a {
    color: #0645ad;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
   
  .team-member {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin: 2rem 0;
  gap: 1.5rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2rem;
}

.team-photo {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border: 2px solid #ccc;
}

.team-info {
  max-width: 600px;
}

@media (max-width: 768px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-info {
    max-width: 100%;
  }
}

  

/* iPhone / mobile optimization */
@media (max-width: 480px) {

  body {
    font-size: 16px;
  }

  header {
    padding: 1.25rem 1rem 0.75rem;
  }

  h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .tagline {
    font-size: 1rem;
  }

  .motto,
  .subhead {
    font-size: 0.9rem;
  }

  nav {
    gap: 0.75rem;
    padding: 0.5rem 1rem;
  }

  nav a {
    font-size: 0.9rem;
    padding: 0.3rem 0.5rem;
  }

  main {
    padding: 1rem;
    line-height: 1.6;
  }

  .centered-heading {
    font-size: 1.4rem;
    margin-top: 1.5rem;
  }

  .notice-box {
    width: 100%;
    margin: 1rem 0;
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  ul {
    padding-left: 1.25rem;
  }

  .team-photo {
    width: 220px;
    height: 220px;
  }

  footer {
    padding: 1.25rem 0;
    font-size: 0.9rem;
  }
}
