/* Staff Section */
.staff-container {
    max-width: 1000px; /* Keeps a neat layout */
    margin: 30px auto;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.staff-container h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Staff Card */
.staff-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    border-left: 4px solid #2c3e50;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.staff-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

/* Staff Image */
.staff-card img {
    width: 170px;
    height: 190px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #2c3e50;
}

/* Staff Info */
.staff-info h2 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.7rem;
}

.staff-info p {
    margin: 3px 0;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .staff-card {
        flex-direction: column;
        text-align: center;
    }

    .staff-card img {
        margin-bottom: 10px;
        width: 150px;
        height: 170px;
    }

    .staff-info h2 {
        font-size: 1.5rem;
    }

    .staff-info p {
        font-size: 1rem;
    }
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .staff-container {
        padding: 10px;
    }

    .staff-card {
        padding: 10px;
    }

    .staff-card img {
        width: 140px;
        height: 160px;
    }

    .staff-info h2 {
        font-size: 1.3rem;
    }

    .staff-info p {
        font-size: 0.9rem;
    }
}
