/* All Categories Page Styles */

.all-categories-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.all-categories-list li {
    margin-bottom: 30px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none !important;
    height: 100%;
    text-align: center;
    overflow: hidden;
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

/* Icon Circle */
.cat-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cat-card:hover .cat-icon {
    background: rgba(52, 152, 219, 0.1);
    transform: scale(1.1);
}

.cat-icon img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.cat-icon i {
    font-size: 32px;
    color: #3498db;
    transition: all 0.3s ease;
}

/* Category Data */
.cat-data h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.cat-card:hover .cat-data h3 {
    color: #3498db;
}

.cat-data .badge {
    background: #fff;
    color: #7f8c8d;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #ecf0f1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.cat-card:hover .cat-data .badge {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

.cat-data .badge i {
    font-size: 12px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cat-card {
        padding: 20px 15px;
    }

    .cat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .cat-icon img {
        max-width: 35px;
        max-height: 35px;
    }

    .cat-icon i {
        font-size: 24px;
    }

    .cat-data h3 {
        font-size: 16px;
    }
}