.page-header {
    padding: 180px 10% 80px;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6), transparent);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -2px;
}

.filter-container {
    padding: 0 10% 40px;
    display: flex;
    justify-content: center;
}

.filter-bar {
    padding: 10px 30px;
    border-radius: 50px;
    display: flex;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.85rem;
}

.filter-btn:hover { color: var(--text); }

.filter-btn.active {
    background: var(--gradient-primary) !important;
    color: white !important;
    box-shadow: 0 5px 20px var(--glow-light);
}

.departments-list {
    padding-bottom: 120px;
    background: radial-gradient(circle at top, rgba(220, 38, 38, 0.05), transparent 40%);
}

.dept-card {
    padding: 35px;
    border-radius: 28px;
    background: rgba(18, 18, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 320px;
}

.dept-card:hover {
    transform: translateY(-12px);
    background: rgba(23, 23, 23, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dept-logo-container {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dept-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    transition: 0.4s;
}

.dept-card:hover .dept-logo-container {
    background: rgba(220, 38, 38, 0.1);
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.15);
}

.dept-card:hover .dept-logo {
    filter: drop-shadow(0 0 10px var(--glow-light));
}

.dept-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 15px; }

.dept-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: auto;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    color: var(--red-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-text i {
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
    color: inherit !important;
    transition: transform 0.3s ease;
}

.btn-text:hover { color: white; gap: 12px; }
.btn-text:hover i { transform: translateX(4px); }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover { background: rgba(255,255,255,0.02); color: white; }
.tab-btn.active { color: var(--red-light); border-bottom-color: var(--red-base); background: rgba(220, 38, 38, 0.05); }

.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); }
.modal-content::-webkit-scrollbar-thumb { background: var(--red-base); border-radius: 10px; }

.staff-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.staff-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(5px);
}

.staff-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

.staff-info .name {
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
}

.staff-info .user {
    font-size: 0.7rem;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
