body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f0f0;
    color: #333;
}

.hero-image {
    width: 100%;
    height: 260px; /* Adjust height as needed */
    background-color: #F7EFE0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

nav {
    background-color: #333;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    background-color: #444;
    border-radius: 8px;
    font-size: 1.1em;
    text-align: center;
    display: block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background-color: #006cc0;
    transform: translateY(-5px);
}

.content {
    flex: 1;
    padding: 20px;
    margin: 0 auto;
    max-width: 800px;
}

.section {
    margin-bottom: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.section h2 {
    margin-top: 0;
    font-size: 1.8em;
    color: #004080;
}

.section p {
    font-size: 1.2em;
    line-height: 1.6;
    text-align: justify;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member {
    margin: 20px 0;
    max-width: 100%;
    text-align: center;
    font-size: 1.2em;
}

footer {
    background-color: #004080;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

footer a {
    color: #ffdd57;
    text-decoration: none;
}
/* Mobile-specific CSS */
@media screen and (max-width: 768px) {
    /* All mobile-specific styles go here */
    
    body {
      font-size: 16px; /* Base font size for mobile */
    }
  
    .hero-image {
      height: 120px; /* Smaller hero image for mobile */
    }
  
    nav {
        position: static; /* Keeps the nav in its normal position */
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0; /* Remove any additional padding */
        margin: 0; /* Remove any additional margin */
    }
    
    nav ul li {
        width: auto; /* Auto width allows the items to be as wide as their content */
        margin-bottom: 2px;
    }
    
    nav ul li a {
        width: auto; /* Allow the link width to adjust to the text */
        padding: 10px 15px; /* Reduce padding for smaller touch areas */
        font-size: 0.9em; /* Reduce font size for a more compact look */
        box-sizing: border-box;
        text-align: center; /* Center align the text */
    }
    
    nav ul li a:hover {
        background-color: #006cc0; /* Keep the hover effect */
    }
  
    .content {
      padding: 15px;
      margin-bottom: 60px; /* Space for fixed navigation */
    }
  
    .section {
      padding: 15px;
      margin-bottom: 20px;
    }

    .section.team .member {
        font-size: 1em; /* Adjust size for names or other emphasized text */
    }
  
    .section h2 {
      font-size: 1.4em;
    }
  
    .section p {
      font-size: 1em;
      text-align: left;
    }
  
    .member-container {
      width: 100%;
    }
  
    .member {
      width: 100%;
      box-sizing: border-box;
      padding: 10px;
    }
  
    .member img {
      max-width: 100%;
      height: auto;
    }
  
    .social-media-box {
      flex-direction: column;
      align-items: center;
    }
  
    .social-link {
      width: 100%;
      margin-bottom: 10px;
    }
  }