body.staff-page-body {
    font-family: Arial, sans-serif !important;
    background-color: #f4f4f4 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

#header-spacer {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.staff-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../image/Container.png');
    height: 80vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    border-top: none;
    border-bottom: 2px solid #fff;
    margin: 0;
}

.staff-hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-top: 8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.staff-hero-section p {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .staff-hero-section {
        height: 80vh;
    }
    .staff-hero-section h1 {
        font-size: 2rem;
        margin-top: 12rem;
    }
    .staff-hero-section p {
        font-size: 1rem;
    }
}

.staff-team-showcase {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    gap: 40px;
}

.staff-row-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.staff-row-title {
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #4a7c59;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a7c59;
}

.staff-team-member {
    background-color: rgba(206, 206, 206, 0.56);
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    width: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.staff-team-member img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    background-color: #f0f0f0;
    display: block;
}

.staff-team-member h3 {
    font-size: 1.1em;
    color: #333;
    font-weight: normal;
    margin: 10px 0 5px 0;
    line-height: 1.3;
}

.staff-team-member h3 .staff-title-green {
    color: #4a7c59;
    display: block;
}

.staff-team-member .staff-role {
    font-size: 1em;
    font-weight: bold;
    color: #111;
    margin: 0 0 10px 0;
}

.staff-team-member .staff-qualifications {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .staff-team-showcase {
        gap: 30px;
    }
    .staff-row-group {
        flex-direction: column;
        align-items: center;
    }
    .staff-row-title {
        font-size: 1.5rem;
    }
}

.about-nav {
    background-color: rgb(209, 209, 209);
    display: flex;
    justify-content: center;
    padding: 0 2rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.about-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
}

.about-nav ul li {
    display: inline-block;
    white-space: nowrap;
    margin: 0;
}

.about-nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.about-nav ul li a:hover {
    background-color: rgb(189, 189, 189);
}

.about-nav ul li:nth-child(2) a {
    background-color: rgb(0, 95, 8);
    color: #ffffff;
}

.about-nav ul li:nth-child(2) a:hover {
    background-color: rgb(0, 59, 5);
}

@media (max-width: 768px) {
    .about-hero-section {
        height: 40vh;
    }
    .about-hero-section h1 {
        font-size: 2rem;
    }
    .about-hero-section p {
        font-size: 1rem;
    }
    .about-nav {
        padding: 0.5rem 0;
    }
    .about-nav ul {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }
    .about-nav ul li a {
        padding: 0.75rem 1rem;
        width: 100vw;
        text-align: center;
    }
}