.banner {
    background: url('../../assets/images/about-banner.png');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    background-color: var(--fill-color);
    height: 500px;
    position: relative;
    color: white;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}
.banner__text {
    font-size: 3rem;
}

.departments-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}
.departments__title {
    margin-bottom: var(--spacing-md);
}
.departments__desc {
    width: 100%;
    max-width: 700px;
    text-align: center;
    margin-bottom: var(--spacing-md)
}
.departments {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
    gap: 50px;
}
.departments:nth-of-type(even) {
    flex-direction: row-reverse;
}
.department-banner {
    display: block;
    width: 50%;
    object-fit: cover;
    border-radius: 8px;
}
.department-details {
    width: 50%;
}



/* Mobile / Table view */
@media only screen and (max-width: 900px) {
    .departments,
    .departments:nth-of-type(even) {
        flex-direction: column;
        width: 100%;
    }

    .department-banner, 
    .department-details { 
        width: 100%;
    }
}