/* meet the team page */

/* page styling */
html{
    height: 100%;
    background-color:#f4f6f8;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: transparent;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

nav a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
}

/* main page container */
.team-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px; 
}

/* page heading */
.team-page h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #1f2937
}

.team-page .intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* team members flex box */
.team {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

/* individual team member card */
.team-member {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    flex: 0 1 calc(25% - 30px);
    box-sizing: border-box;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* hover effect */
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* profile images */
.team-member img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #2563eb;
    margin-bottom: 15px;
}

/* names */
.team-member h2 {
    margin: 10px 0 5px;
    font-size: 1.4rem;
    color: #111827;
}

.team-member .role {
    margin: 0 0 15px;
    color: #2563eb;
    font-size: 0.95rem;
}

/* link to individual page */
.team-member a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;

    background-color: #2563eb;
    color: white;

    text-decoration: none;
    border-radius: 6px;

    transition: background-color 0.2s ease;
}

.team-member a:hover{
    background-color: #1d4ed8;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    background-color: #111827;
    color: #ffffff;
}

footer p {
    margin: 0;
}