/**Team page**/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-heading {
    animation: fadeIn 1s ease-in-out;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.content {
    flex: 1;
}

.team-members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    flex-basis: 45%;
    text-align: center;
    margin: 10px;
}

.team-member img {
    width: 100%;
    max-width: 165px;
    height: 160px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 10px;
}

.team-member p {
    line-height: 1.7em;
    font-size: 18px;
    margin: 0;
}

footer {
    background-color: #f1f1f1;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    color: #333;
    font-size: 14px;
}

@media (max-width: 768px) {
    .team-member {
        flex-basis: 100%;
    }
}


/**Contact page**/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-heading {
    animation: fadeIn 1s ease-in-out;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.primary-content {
    flex: 1;
    margin-left: 10px;
    margin-right: 10px;
}

.staff-members-flexbox {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.staff-member-card {
    flex-basis: 30%;
    text-align: center;
    margin: 10px 5px;
}

.location-container {
    flex-basis: 70%;
    text-align: left;
    margin-top: 10px;
}

.staff-member-card img {
    width: 100%;
    max-width: 165px;
    height: 160px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 10px;
}

.staff-member-card p {
    line-height: 1.7em;
    font-size: 18px;
    margin: 0;
}

.location-text {
    font-size: 20px;
    margin: 5px 0;
    word-break: break-word;
}

.location-map iframe {
    width: calc(100% - 10px);
    height: 300px;
    border: none;
    margin-top: 10px;
    margin-left: 10px;
}

footer {
    background-color: #f1f1f1;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: none;
}

.footer-area {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    color: #333;
    font-size: 14px;
}

@media (max-width: 790px) {
    .staff-members-flexbox {
        flex-direction: column;
        align-items: center;
    }

    .staff-member-card, .location-container {
        flex-basis: 100%;
        margin: 1px 0;
    }

    .location-text {
        font-size: 90%;
        word-break: break-word;
    }

    .location-map iframe {
        width: 100%;
        height: 300px;
        border: none;
        margin-top: 10px;
    }
   
}
