.departments h1{
    font-size: 40px;
    letter-spacing: 3px;
    background-color: #fff3f3;
    
}
.departments .card{
    box-shadow: 0 5px 10px -3.8px;
    border: none;
    transition: 0.4s all ease-in-out;
}

.departments .card:hover{
    transform: scale(1.05);
}

.departments .card .card-body{
    background-color: #fff3f3;
    color: #4c0101;
}
.departments .card .card-body h2{
    font-size: 1.8rem;
}
.departments .card img{
    height: 220px;
    object-fit: cover;
    object-position: center center;
}



@media (max-width: 768px) {
    .departments h1{
        font-size: 32px;
    }

    .departments .card .card-body h2{
        font-size: 1.3rem;
    }

    .departments .card img{
        height: 200px;
    }

}
@media (max-width: 500px) {
    .departments h1{
        font-size: 22px;
    }

    .departments .card .card-body h2{
        font-size: 1.5rem;
    }

    .departments .card img{
        height: 240px;
    }

}