/* Departments Page Styling */

/* Department Card Styling */
.department-card {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.department-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.department-card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.department-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-card .card-body {
    padding: 1.25rem;
    background-color: #fff;
}

.department-card .card-title {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.department-badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
    font-weight: 600;
    border-radius: 4px;
}

.department-card .card-text {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.department-head {
    margin-bottom: 1rem;
}

.department-head small {
    color: #6c757d;
    font-size: 0.9rem;
}

.department-card .btn {
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.department-card .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.department-card .btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.department-card .btn-outline-info {
    color: #0dcaf0;
    border-color: #0dcaf0;
}

.department-card .btn-outline-info:hover {
    background-color: #0dcaf0;
    color: #fff;
}

.department-card .btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.department-card .btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .department-card .card-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .department-card-img-wrapper {
        height: 180px;
    }
}

/* Add utility class for font weight */
.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
} 