/* Department Header Styles */
.department-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.department-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PC9zdmc+') repeat;
    opacity: 0.1;
}

.department-icon {
    width: 100px;
    height: 100px;
    background-color: white;
    color: var(--bs-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.department-icon:hover {
    transform: translateY(-5px);
}

.department-icon i {
    font-size: 3rem;
}

.department-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.department-header .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Department Title Bar */
.department-title-bar {
    background-color: #014903; /* Site green color */
    padding: 0.5rem 0; /* Reduced padding to make it slimmer */
    margin: 0 -15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.department-title {
    color: #fff; /* White text for better contrast on green background */
    font-size: 1.2rem; /* Slightly smaller font size */
    font-weight: 600;
    margin: 0 0 0.15rem 0; /* Reduced margin between title and slogan */
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: center;
    width: 100%;
    line-height: 1.1;
}

.department-slogan {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem; /* Slightly smaller font size */
    font-weight: 400;
    text-align: center;
    margin: 0;
    font-style: italic;
    line-height: 1.2; /* Tighter line height */
    text-transform: none;
    letter-spacing: 0.2px;
    padding: 0 10px; /* Add slight horizontal padding */
}

/* Breadcrumb Navigation - Hidden */
nav[aria-label="breadcrumb"],
.breadcrumb,
.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item::before,
.breadcrumb-item + .breadcrumb-item::before {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    opacity: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .department-title-bar {
        padding: 0.6rem 0;
    }
    
    .department-title {
        font-size: 1.2rem;
    }
    
    .breadcrumb {
        display: none; /* Hide breadcrumb on mobile */
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .department-header {
        text-align: center;
        padding: 2rem 0;
    }
    
    .department-icon {
        margin: 0 auto 1.5rem;
    }
    
    .department-header h1 {
        font-size: 2rem;
    }
    
    .department-header .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .department-header h1 {
        font-size: 1.75rem;
    }
    
    .department-header .lead {
        font-size: 1rem;
    }
}

/* Statistics Section Styles */
.stat-item {
    text-align: center;
    padding: 10px 0;
    margin-bottom: 1.5rem;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    display: block;
    line-height: 1.2;
}

.stat-item .stat-label {
    font-size: 1rem;
    color: var(--bs-gray-700);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    display: block;
}

@media (min-width: 768px) {
    .stat-item {
        margin-bottom: 0;
    }
    
    .stat-item .stat-number {
        font-size: 3rem;
    }
    
    .stat-item .stat-label {
        font-size: 1.1rem;
    }
}

/* Page Header Styles */
.page-header {
    padding: 0.8rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.page-header .lead {
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
    opacity: 0.9;
    font-weight: 400;
}

@media (min-width: 768px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header .lead {
        font-size: 0.9375rem;
    }
}
