/* General Styling */
h1 {
    margin-bottom: 20px;
    text-align: center;
}

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.filter-btn {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    background-color: #FF0000;
    color: #FFFFFF;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #b40000; /* Darker red */
}

/* Faculty Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    
}

.gallery-item {
    width: 300px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Image Styling */
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Ensures all images are properly sized */
    border-radius: 8px;
}

/* Text Formatting */
.gallery-item h3 {
    margin-bottom: 3px;
}

.gallery-item p {
    margin: 2px 0;
    line-height: 1.2;
}
/*the gap*/
.faculty-section {
    margin-bottom: 50px; /* Adjust as needed */
}

.gallery {
    margin-bottom: 50px; /* Creates space below faculty listings */
}
.faculty-section {
    background-color: white;
    padding: 20px; /* Optional: Adjust padding for better spacing */
}
/* Left-align the Faculty Members text */
.page-title h1 {
    text-align: left;
    margin-left: 20px; /* Adjust the left spacing if needed */
}

/* Ensure the breadcrumbs or other elements stay aligned properly */
.breadcrumb {
    text-align: right; /* Keep the breadcrumb aligned to the right */
}
