/* Department Cards Styles */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.card {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.card:active {
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    margin-right: 15px;
    color: #bc3a3a;
    font-size: 24px;
    flex-shrink: 0;
}

.card h2 {
    color: #bc3a3a;
    font-size: 20px;
    margin: 0;
    line-height: 1.2;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.card-content li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.card-content li:last-child {
    border-bottom: none;
}

.card-footer {
    margin-top: auto;
    padding-top: 15px;
}

.card-link {
    color: #bc3a3a;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card-link:hover {
    text-decoration: underline;
    color: #a32f2f;
}

/* New Styles for Service Links */
.service-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item {
    margin-bottom: 12px;
}

.service-link {
    display: block;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 3px solid #bc3a3a;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.service-link:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
    color: #bc3a3a;
    text-decoration: none;
}

.service-coming-soon {
    display: block;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 3px solid #999;
    color: #666;
    font-weight: 500;
    font-style: italic;
}

/* Enhanced clickable card styles */
.card.clickable {
    cursor: pointer;
    user-select: none;
}

.card.clickable:hover {
    background-color: #fafafa;
}

.card.clickable:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Special card indicators */
.card .new-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card .coming-soon-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 20px;
    }
    
    .service-link {
        padding: 10px 12px;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .card-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 15px;
    }
    
    .card h2 {
        font-size: 18px;
    }
    
    .card-content li {
        padding: 6px 0;
        font-size: 14px;
    }
}